From owner-freebsd-hackers Mon Oct 16 13:14:28 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA19224 for hackers-outgoing; Mon, 16 Oct 1995 13:14:28 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA19219 for ; Mon, 16 Oct 1995 13:14:21 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA25234; Mon, 16 Oct 1995 13:07:18 -0700 From: Terry Lambert Message-Id: <199510162007.NAA25234@phaeton.artisoft.com> Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP To: ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Mon, 16 Oct 1995 13:07:18 -0700 (MST) Cc: joerg_wunsch@uriah.heep.sax.de, hackers@freefall.freebsd.org, kaleb@x.org In-Reply-To: from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Oct 15, 95 08:25:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1017 Sender: owner-hackers@FreeBSD.org Precedence: bulk > >IMHO, the base utilities that use should properly initialize > >the locale instead of relying on that hack. (The hack is useful to > >force programs that don't like to handle locale's, but base utilities > >of the system are expected to do it right theirselves.) > > I have nothing against reverting this variable to > DISABLE_STARTUP_LOCALE f.e. If you remember I plan to make startup locale > as default for all program, but some peoples disagree, so I introduce > ENABLE_STARTUP_LOCALE. I also thing that the crt0 is the *wrong* place to do the locale work, which really belongs as a call in main(). It is wrong to "fix" broken use of a programming model by causing broken use of the startup model in it's place. Making this broken startup code implicit rather than explicit (by changing from a positive to a negative environment test) is just plain wrong. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.