summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/profile/ChangeLog5
-rw-r--r--src/util/profile/prof_parse.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog
index 663e95b80..9bfcde824 100644
--- a/src/util/profile/ChangeLog
+++ b/src/util/profile/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 4 17:04:51 1996 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * prof_parse.c (parse_std_line): Accept either ';' or '#' on the
+ first line of a string as a comment character.
+
Fri Jul 12 20:28:49 1996 Theodore Y. Ts'o <tytso@mit.edu>
* Makefile.in (CFLAGS): On Windows builds, add -DHAVE_STDLIB_H
diff --git a/src/util/profile/prof_parse.c b/src/util/profile/prof_parse.c
index 9c83b8fdc..941cc33f7 100644
--- a/src/util/profile/prof_parse.c
+++ b/src/util/profile/prof_parse.c
@@ -64,7 +64,7 @@ static errcode_t parse_std_line(line, state)
if (*line == 0)
return 0;
- if (line[0] == ';')
+ if (line[0] == ';' || line[0] == '#')
return 0;
strip_line(line);
cp = skip_over_blanks(line);