Date: Tue, 24 Sep 2002 12:27:45 -0700 (PDT) From: Tony Finch <fanf@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/unifdef unifdef.1 unifdef.c Message-ID: <200209241927.g8OJRjYL015163@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
fanf 2002/09/24 12:27:45 PDT
Modified files:
usr.bin/unifdef unifdef.1 unifdef.c
Log:
It is probably a bad idea to unconditionally process directives with
constant controlling expressions: in particular, removing #if 0 sections
is considered "rude". This commit changes the default so that such
things are passed through unchanged, and the old behaviour can be had
with the -k "kill konsts" flag.
Suggested by: markm
MFC after: 3 weeks
Revision Changes Path
1.14 +23 -3 src/usr.bin/unifdef/unifdef.1
1.11 +18 -7 src/usr.bin/unifdef/unifdef.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209241927.g8OJRjYL015163>
