From owner-cvs-all Tue Sep 24 12:27:46 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD94837B401; Tue, 24 Sep 2002 12:27:45 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D24043E77; Tue, 24 Sep 2002 12:27:45 -0700 (PDT) (envelope-from fanf@FreeBSD.org) Received: from freefall.freebsd.org (fanf@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8OJRjCo015164; Tue, 24 Sep 2002 12:27:45 -0700 (PDT) (envelope-from fanf@freefall.freebsd.org) Received: (from fanf@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8OJRjYL015163; Tue, 24 Sep 2002 12:27:45 -0700 (PDT) Message-Id: <200209241927.g8OJRjYL015163@freefall.freebsd.org> From: Tony Finch Date: Tue, 24 Sep 2002 12:27:45 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/unifdef unifdef.1 unifdef.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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