summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1996-11-05 05:14:20 +0000
committerTheodore Tso <tytso@mit.edu>1996-11-05 05:14:20 +0000
commit239ec380d9055d4b620318cdfd6f3114f8627d26 (patch)
tree1eb75de7fef6393c7864d61ba53fbf1e32f26ce3 /src
parentb7632dbdb3f09b903551a96589bd8835b1f46ea1 (diff)
downloadkrb5-239ec380d9055d4b620318cdfd6f3114f8627d26.tar.gz
krb5-239ec380d9055d4b620318cdfd6f3114f8627d26.tar.xz
krb5-239ec380d9055d4b620318cdfd6f3114f8627d26.zip
Accept either ';' or '#' on the first line of a string as a comment
character. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9294 dc483132-0cff-0310-8789-dd5450dbe970
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);