From owner-freebsd-hackers Mon Oct 16 17:46:06 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA01316 for hackers-outgoing; Mon, 16 Oct 1995 17:46:06 -0700 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id RAA01311 for ; Mon, 16 Oct 1995 17:46:03 -0700 Received: by sovcom.kiae.su id AA29146 (5.65.kiae-1 ); Tue, 17 Oct 1995 02:58:46 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Tue, 17 Oct 95 02:58:46 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.11/8.6.9) id CAA00568; Tue, 17 Oct 1995 02:57:56 +0300 To: Terry Lambert Cc: bde@zeta.org.au, hackers@freefall.freebsd.org, j@uriah.heep.sax.de, kaleb@x.org, phk@critter.tfs.com References: <199510162238.PAA25686@phaeton.artisoft.com> In-Reply-To: <199510162238.PAA25686@phaeton.artisoft.com>; from Terry Lambert at Mon, 16 Oct 1995 15:38:52 -0700 (MST) Message-Id: Organization: Olahm Ha-Yetzirah Date: Tue, 17 Oct 1995 02:57:56 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP Lines: 40 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1361 Sender: owner-hackers@FreeBSD.org Precedence: bulk In message <199510162238.PAA25686@phaeton.artisoft.com> Terry Lambert writes: >> >> 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. >> >> I don't think so. >It was probably not an explicit agreement. >It would have been enough that this was assumed to be a temporary fix >to keep me (and I presume him) from complaining, making it: > "our understanding was that it was temporary" >It was certainly my inderstanding that this was the case. Now you vote for solution which is simple subcase of my crt0 hack: setlocale(LC_ALL, ""); /* my */ changed to setlocale(LC_ALL, "lt_LN.ISO_8859-1"); /* your */ Since your variant is static (and my is adjusted to current LANG), you don't need even such call and can patch default table directly. For LANG = 8859-1 both variants are equal, but for LANG != 8859-1 you give some strange values calling them 'default' and I give full correct ctype/time/collate table. -- 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