[syslog-ng] [PATCH] [1.9.5] address flex warning and suboptimal distclean target

Roberto Nibali ratz at drugphish.ch
Thu Jul 28 01:15:50 CEST 2005


Hello,

The attached patch fixes following two things:

1. #define YY_NO_UNPUT   1 is an undocumented feature of flex and has
    been obsoleted in recent flex versions. So this is a void operation.
    The correct way of dealing with the compiler warning is to add
    %option nounput as flex directive.

2. cfg-lex.c is autogenerated during the make compile process. However
    it is never removed, especially not for the distclean target. IMHO
    this is not so clean, so I've added cfg-lex.c to the list of the
    to-be-removed files.

Please consider applying.

Cheers,
Roberto Nibali, ratz
-- 
echo 
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng-1.9.5-fix_flex_unput_and_distclean-1.diff
Type: text/x-patch
Size: 966 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20050728/ddd51d51/syslog-ng-1.9.5-fix_flex_unput_and_distclean-1.bin


More information about the syslog-ng mailing list