Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 1995 08:43:10 +0300 (MSK)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
To:        bde@zeta.org.au, j@uriah.heep.sax.de
Cc:        hackers@freefall.freebsd.org, kaleb@x.org
Subject:   Re: A couple problems in FreeBSD 2.1.0-950922-SNAP
Message-ID:  <Okk3VWmuC0@ache.dialup.demos.ru>
In-Reply-To: <199510160516.PAA11669@godzilla.zeta.org.au>; from Bruce Evans at Mon, 16 Oct 1995 15:16:12 %2B1000
References:  <199510160516.PAA11669@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199510160516.PAA11669@godzilla.zeta.org.au> Bruce Evans
    writes:

>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.

>>I can revert default case to pick ctype and use variable
>>DISABLE_STARTUP_LOCALE to disable it for debugging purposes.

>This wouldn't reduce the bloat because lots of code is required to
>pull in the default locale.

1) I don't care of bloat on my proposal, I care of easy way of locale using.
2) We already discuss that bloat on early days and agree
let it be.
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?

-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



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