commit | 5cc2da300b3fc30e00b79b4ddb3f372df3b2fe93 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Tue Feb 20 10:19:44 2007 +0100 |
committer | Jens Axboe <axboe@carl.home.kernel.dk> | Tue Feb 20 10:19:44 2007 +0100 |
tree | c3a29ff9695ffb1ffb39441e141d860fc9a66257 | |
parent | ad18c1ecc367c55e4d10acb05790be2c946053e2 [diff] |
fio: allow '#' comments allow script-type comment's: # comment Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/init.c b/init.c index 9e7fb2c..744ae85 100644 --- a/init.c +++ b/init.c
@@ -895,6 +895,8 @@ for (i = 0; i < strlen(line); i++) { if (line[i] == ';') return 1; + if (line[i] == '#') + return 1; if (!isspace(line[i]) && !iscntrl(line[i])) return 0; }