From owner-freebsd-current Sat Feb 17 1:24:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.rdc1.kt.home.ne.jp (ha2.rdc1.kt.home.ne.jp [203.165.9.243]) by hub.freebsd.org (Postfix) with ESMTP id C7F6537B4EC; Sat, 17 Feb 2001 01:24:12 -0800 (PST) Received: from daemon.local.idaemons.org ([203.165.161.10]) by mail.rdc1.kt.home.ne.jp (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20010213152639.XLQE19464.mail.rdc1.kt.home.ne.jp@daemon.local.idaemons.org>; Tue, 13 Feb 2001 07:26:39 -0800 Received: by daemon.local.idaemons.org (8.11.1/3.7W) id f1DFQdv67480; Wed, 14 Feb 2001 00:26:39 +0900 (JST) Date: Wed, 14 Feb 2001 00:26:39 +0900 Message-ID: <86vgqeeh8w.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: nnd@mail.nsk.ru Cc: current@FreeBSD.ORG, phantom@FreeBSD.org Subject: Re: setlocale() fails In-Reply-To: <200102131401.f1DE1SI31513@wint.itfs.nsk.su> References: <86y9vbdm9r.wl@daemon.local.idaemons.org> <200102131401.f1DE1SI31513@wint.itfs.nsk.su> User-Agent: Wanderlust/2.5.4 (Smooth) SEMI/1.14.2 (=?ISO-8859-1?Q?Daish=F2?= =?ISO-8859-1?Q?ji?=) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.2 - =?ISO-8859-1?Q?=22Daish=F2ji=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Tue, 13 Feb 2001 20:01:28 +0600 (NOVT), nnd@mail.nsk.ru wrote: > Yes this patch permits 'setlocale(LC_ALL, "")' to return > success, but it is not solve the problem totally. It seems to me > that all comparisons of the return value from '__part_load_locale' > in the 'lmessages.c', 'lnumeric.c' and 'lmonetary.c' are reversed now > and your patch correct only one of them (but this one prevents > setlocale to work for all locales but "C" and "POSIX"). All reversed? It seems to me at least the comparison in the line 65 of lmessages.c is correct, and the ones in lnumeric.c and lmonetary.c look fine as well. Let's have your say, Alexey! ;) -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message