Whamcloud - gitweb
Enhance profile library's parser to accept comments
authorTheodore Ts'o <tytso@mit.edu>
Thu, 5 Jan 2006 05:47:34 +0000 (00:47 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 5 Jan 2006 05:47:34 +0000 (00:47 -0500)
commit95a8d1de512f7ae55b78d99db21bb0d5973d115e
tree3170ac65815522e3e7b752bf7724d6bac0f2f410
parentf5f14fcfe9eba0282a3dfe5600364bbf797dcfc3
Enhance profile library's parser to accept comments

This also changes syntax accepted by the profile parser.  The value of
profile relations must not contain spaces unless it is quoted;
otherwise the parser will throw an error.  Previously something like
this was allowed:

[liboptions]
test = foo bar

Now, the relation must be in double quotes in order to be valid, i.e.,
"foo bar".

Comments are allowed anywhere and can be started with either a ';' or
a '#' character.  The only place where comments will not be intepreted
as beginning a comment is in a quoted string.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/ChangeLog
e2fsck/profile.c