From owner-cvs-all Fri Dec 28 13:17:12 2001 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 0A1CC37B41C; Fri, 28 Dec 2001 13:17:06 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 8648F81D01; Fri, 28 Dec 2001 15:17:00 -0600 (CST) Date: Fri, 28 Dec 2001 15:17:00 -0600 From: Alfred Perlstein To: Dag-Erling Smorgrav Cc: Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_subr.c Message-ID: <20011228151700.Z55891@elvis.mu.org> References: <200112190135.fBJ1ZIS15042@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Fri, Dec 28, 2001 at 08:39:13PM +0100 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 * Dag-Erling Smorgrav [011228 13:40] wrote: > Peter Wemm writes: > > Log: > > Do not initialize static/global variables to 0. Use bss instead of > > taking up space in the data section. > > des@des /sec/freebsd/current/src% find sys -type f | xargs grep -H '^[a-z].*= *0;' find sys -type f -name "*.c" | while read i ; do sed 's/\(^[a-z].*\).*=.*0;/\1;/' < $i > $i.new mv $i.new $i done cvs commit -m "Peter made me do it" -Alfred :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message