From owner-cvs-src-old@FreeBSD.ORG Wed Nov 25 20:23:27 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B93710656A8 for ; Wed, 25 Nov 2009 20:23:27 +0000 (UTC) (envelope-from fanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 089068FC21 for ; Wed, 25 Nov 2009 20:23:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nAPKNQD6026268 for ; Wed, 25 Nov 2009 20:23:26 GMT (envelope-from fanf@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAPKNQSC026267 for cvs-src-old@freebsd.org; Wed, 25 Nov 2009 20:23:26 GMT (envelope-from fanf@repoman.freebsd.org) Message-Id: <200911252023.nAPKNQSC026267@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to fanf@repoman.freebsd.org using -f From: Tony Finch Date: Wed, 25 Nov 2009 20:23:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/unifdef unifdef.1 unifdef.c unifdefall.sh X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2009 20:23:27 -0000 fanf 2009-11-25 20:23:18 UTC FreeBSD src repository Modified files: usr.bin/unifdef unifdef.1 unifdef.c unifdefall.sh Log: SVN rev 199813 on 2009-11-25 20:23:18Z by fanf Update unifdef to my upstream version 1.188 Main highlights: (A) The new -B option compresses blank lines around a deleted section so that blank lines around "paragraphs" of code don't get doubled. (B) Lenient evaluation of && and || so that #if expressions can be evaluated even when some of their sub-expressions cannot be. (C) The evaluator can now handle macros with arguments. (D) Portability fixes, especially for unifdefall. Contributions from: Ben Hutchings at Solarflare Communications (A and B) Anders H Kaseorg (A and C) Jonathan Nieder (D) Obtained from: http://dotat.at/prog/unifdef/ Revision Changes Path 1.26 +90 -33 src/usr.bin/unifdef/unifdef.1 1.24 +166 -81 src/usr.bin/unifdef/unifdef.c 1.3 +44 -20 src/usr.bin/unifdef/unifdefall.sh