On 02/12/2011 10:21 AM, Bruno Haible wrote:
>> I'm therefore taking the code from gettext. It provides a workaround against
>> the problems 1 and 3.
> 
> And here's the fix for problem 2.
> 
> 
> 2011-02-11  Bruno Haible  <br...@clisp.org>
> 
>       setlocale: Workaround native Windows bug.
>       * lib/setlocale.c (rpl_setlocale): On native Windows, when setlocale
>       succeeds but sets LC_CTYPE to "C", report a failure.
>       * tests/test-setlocale2.sh: New file.
>       * tests/test-setlocale2.c: New file.
>       * modules/setlocale-tests (Files): Add the new files.
>       (Makefile.am): Enable test-setlocale2.sh test.
>       * doc/posix-functions/setlocale.texi: Mention workaround.

I'm now seeing this failure on Haiku alpha 2:

FAIL: test-setlocale2.sh (exit: 1)
==================================

setlocale did not fail for implicit ar_SA.ISO-8859-1

What can I do to help you diagnose the root cause and work around this
issue?

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to