Re: setlocale() fails

2001-02-13 Thread Nickolay N. Dudorov
On Wed, Feb 14, 2001 at 12:26:39AM +0900, Akinori MUSHA wrote: > At Tue, 13 Feb 2001 20:01:28 +0600 (NOVT), > [EMAIL PROTECTED] 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 t

Re: setlocale() fails

2001-02-13 Thread Alexey Zelkin
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:39A

Re: setlocale() fails

2001-02-13 Thread Akinori MUSHA
At Tue, 13 Feb 2001 20:01:28 +0600 (NOVT), [EMAIL PROTECTED] 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', 'lnum

Re: setlocale() fails

2001-02-13 Thread nnd
In article <[EMAIL PROTECTED]> you wrote: > > At Tue, 13 Feb 2001 07:21:15 +0900, > I wrote: >> I found that setlocale() always fails on -current. . >> Any ideas? > > I found the culprit. Here is a patch which fixes the problem. Yes this patch permits 'setlocale(LC_ALL, "")

Re: setlocale() fails

2001-02-13 Thread Akinori MUSHA
Hi again, At Tue, 13 Feb 2001 07:21:15 +0900, I wrote: > I found that setlocale() always fails on -current. > > #include > #include > > int main() > { > if (setlocale(LC_ALL, "")) > puts("ok"); > else > puts("failed"); > return 0; > } > > This program shows "failed" on -current