From owner-cvs-all Thu Nov 22 4:33:43 2001 Delivered-To: cvs-all@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id D600037B418; Thu, 22 Nov 2001 04:33:33 -0800 (PST) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.11.6/8.11.6) with UUCP id fAMCX6A24203; Thu, 22 Nov 2001 12:33:06 GMT (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by grimreaper.grondar.org (8.11.6/8.11.6) with ESMTP id fAMACqN35344; Thu, 22 Nov 2001 10:12:52 GMT (envelope-from mark@grondar.za) Message-Id: <200111221012.fAMACqN35344@grimreaper.grondar.org> To: Bruce Evans Cc: Sheldon Hearn , Akinori MUSHA , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man1 builtin.1 src/bin/sh Makefile builtins.def sh.1 src/usr.bin/printf printf.1 References: <20011122015842.T9998-100000@delplex.bde.org> In-Reply-To: <20011122015842.T9998-100000@delplex.bde.org> ; from Bruce Evans "Thu, 22 Nov 2001 02:11:08 +1100." Date: Thu, 22 Nov 2001 10:12:52 +0000 From: Mark Murray 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 > The bloat in /bin/sh has very little to do with having printf in it. > It has grown from 90K text in FreeBSD-1 to 590K text today. It is > now 50% larger than the 3.5-year old bash-1 that I normally use. > Most of the bloat is in libraries, mostly for getpwnam() (a null > program statically linked to getpwnam() has size 300K text). > getpwnam() is used solely for expansion of "~". This feature was > left out of FreeBSD-1 to save 50K or so (getpwnam() was much less > bloated in FreeBSD-1). You may be able to get getpwnam() a lot smaller by building without YP (AKA NIS). M -- o Mark Murray \_ FreeBSD Services Limited O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message