Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 19:08:19 +0200
From:      Alexey Zelkin <phantom@FreeBSD.ORG>
To:        Akinori MUSHA <knu@iDaemons.org>
Cc:        nnd@mail.nsk.ru, current@FreeBSD.ORG
Subject:   Re: setlocale() fails
Message-ID:  <20010213190819.A17503@ark.cris.net>
In-Reply-To: <86vgqeeh8w.wl@archon.local.idaemons.org>; from knu@iDaemons.org on Wed, Feb 14, 2001 at 12:26:39AM %2B0900
References:  <86y9vbdm9r.wl@daemon.local.idaemons.org> <200102131401.f1DE1SI31513@wint.itfs.nsk.su> <86vgqeeh8w.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,

Yep! You was completely correct, I made mistake in mostly cosmetics "style(9)"
commit :-( Thanks for spoting that!

BTW, problem should be fixed as side effect of my commit made some time
ago related to __part_load_locale() interface change. Check it please.

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! ;)
> 
> -- 
>                      /
>                     /__  __            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"

-- 
/* Alexey Zelkin               && phantom@cris.net       */
/* Tavric National University  && phantom@FreeBSD.org    */
/* Sysadmin/Developer          && phantom@sms.umc.com.ua */


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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