From owner-freebsd-current Tue Feb 13 9:20: 7 2001 Delivered-To: freebsd-current@freebsd.org Received: from infoteka.nsk.ru (infoteka.nsk.ru [212.20.32.40]) by hub.freebsd.org (Postfix) with SMTP id 2F86A37B4EC for ; Tue, 13 Feb 2001 09:20:04 -0800 (PST) Received: (qmail 3458 invoked by uid 1001); 13 Feb 2001 17:20:02 -0000 Message-ID: <20010213232001.16857@mail.nsk.ru> Date: Tue, 13 Feb 2001 23:20:01 +0600 From: "Nickolay N. Dudorov" To: Akinori MUSHA Cc: current@FreeBSD.ORG, phantom@FreeBSD.org Subject: Re: setlocale() fails References: <86y9vbdm9r.wl@daemon.local.idaemons.org> <200102131401.f1DE1SI31513@wint.itfs.nsk.su> <86vgqeeh8w.wl@archon.local.idaemons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <86vgqeeh8w.wl@archon.local.idaemons.org>; from Akinori MUSHA on Wed, Feb 14, 2001 at 12:26:39AM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 14, 2001 at 12:26:39AM +0900, Akinori MUSHA wrote: > 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! ;) Yes, I must say that my claim was based on the mechanical comparison of the old (previous to the last series of patches) versions of this files with last ones. My apologies for lasting your time and bandwith :-( N.Dudorov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message