Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 10:12:52 +0000
From:      Mark Murray <mark@grondar.za>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Sheldon Hearn <sheldonh@starjuice.net>, 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:  <200111221012.fAMACqN35344@grimreaper.grondar.org>
In-Reply-To: <20011122015842.T9998-100000@delplex.bde.org> ; from Bruce Evans <bde@zeta.org.au>  "Thu, 22 Nov 2001 02:11:08 %2B1100."
References:  <20011122015842.T9998-100000@delplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111221012.fAMACqN35344>