From 5cc2da300b3fc30e00b79b4ddb3f372df3b2fe93 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Tue, 20 Feb 2007 10:19:44 +0100 Subject: [PATCH 1/1] fio: allow '#' comments allow script-type comment's: # comment Signed-off-by: Ingo Molnar --- init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.c b/init.c index 9e7fb2c0..744ae854 100644 --- a/init.c +++ b/init.c @@ -895,6 +895,8 @@ static int is_empty_or_comment(char *line) 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; } -- 2.25.1