[Syslog-ng-commit] syslog-ng--mainline: don't treat parse flags as
keywords
Balazs Scheidler
bazsi at balabit.hu
Mon Apr 10 22:59:36 CEST 2006
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-34>
Revision: syslog-ng--mainline--2.0--patch-34
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Mon Apr 10 22:59:32 CEST 2006
Standard-date: 2006-04-10 20:59:32 GMT
Modified-files: ChangeLog src/cfg-grammar.y src/cfg-lex.l
src/cfg.c
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-34
Summary: don't treat parse flags as keywords
Keywords:
* src/cfg-grammar.y: removed KW_NO_PARSE and KW_KERNEL tokens,
(source_reader_option_flags): use IDENTIFIER instead of using
separate keywords and call lookup_parse_flag to convert the textual
representation of parse flags to flag values,
* src/cfg-lex.l (keywords): removed no_parse and kernel keywords,
(lookup_parse_flag): new function, returns the flag value associated
with the text representation
* src/cfg.c (cfg_init): fixed possible segfault when bad_hostname
regexp was not specified
Diff stats:
ChangeLog | 23 +++++++++++++++++++++++
src/cfg-grammar.y | 11 +++--------
src/cfg-lex.l | 16 +++++++++++++---
src/cfg.c | 26 ++++++++++++++------------
4 files changed, 53 insertions(+), 23 deletions(-)
More information about the Syslog-ng-commit
mailing list