From owner-freebsd-hackers Mon Oct 16 01:14:29 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA29540 for hackers-outgoing; Mon, 16 Oct 1995 01:14:29 -0700 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id BAA29535 for ; Mon, 16 Oct 1995 01:14:25 -0700 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0t4kg3-0003vpC; Mon, 16 Oct 95 01:13 PDT Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id JAA00216; Mon, 16 Oct 1995 09:13:50 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) cc: bde@zeta.org.au, j@uriah.heep.sax.de, hackers@freefall.freebsd.org, kaleb@x.org Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP In-reply-to: Your message of "Mon, 16 Oct 1995 08:43:10 +0300." Date: Mon, 16 Oct 1995 09:13:48 +0100 Message-ID: <214.813831228@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@FreeBSD.org Precedence: bulk > >Yes, bloat is added even when ENABLE_STARTUP_LOCALE isn't set. Bloat is > >added even when no ctype function is called (this is normal for most > >programs in /bin and /sbin - grep shows "ctype.h" in only 25 out of 80 > >programs in /usr/src/[s]bin. > > It isn't accurate results. Many libc functions calls ctype > indirecly, i.e. strtol, atoi, etc. You additionly need > to grep ctype through libc and then grep function you got > through bin/sbin. I suspect that 100% of programs use ctype > for accurate results. Andrey, you have to realize that Bruce reported precise numbers, whereas you just "suspect". Please prove you point, and provide hard numbers. > 1) I don't care of bloat on my proposal, I care of easy way of locale using. We've noticed already. > 2) We already discuss that bloat on early days and agree > let it be. No, we agreed to let it stay in crt0.s until it had been put the right place. crt0.s is NEVER the right place. > 3) I don't see proper way to avoid it for statically compiled > pgms, so I don't understand what we can discuss here. Yes > it isn't very good. Alternatives? Put it in the programs that need it. And only there. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. It will be some time yet before progress goes too far... (Poul Henningsen)