Date: Thu, 22 Nov 2001 02:11:08 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Sheldon Hearn <sheldonh@starjuice.net> Cc: Brian Somers <brian@freebsd-services.com>, Akinori MUSHA <knu@FreeBSD.org>, <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 Message-ID: <20011122015842.T9998-100000@delplex.bde.org> In-Reply-To: <31642.1006340930@axl.seasidesoftware.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Nov 2001, Sheldon Hearn wrote: > On Wed, 21 Nov 2001 10:58:12 GMT, Brian Somers wrote: > > > I would have thought it useful to leave both test & printf as > > builtins... it's only a few k of space after all. I would have thought that it is so obviously wrong to remove printf as a builtin that no one would actually do it. > *shrug* I don't care about the bloat. I just figured some rancid > floppy jockey would pipe up. :-) 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). Bruce 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?20011122015842.T9998-100000>