[PATCH] Use __uselocale in ctype_members.cc

Paolo Carlini pcarlini@unitus.it
Mon Sep 2 07:39:00 GMT 2002


Jakub Jelinek wrote:

>This is what I found. As ctype<wchar_t> facet does not get the locale name
>passed to it (just __c_locale), there is no short fix for glibc before 2.3
>I'm afraid (the only one I can think of is query _nl_langinfo_l(CODESET, _M_c_locale_ctype);
>and call iconv directly).
>There are 2 more wc/mb conversion calls in src/codecvt.cc...
>Passes make check on i386-redhat-linux with current CVS glibc.
>Ok to commit?
>
Thanks Jakub! This looks fine to me.
Benjamin, Ulrich ok with you?

Ciao, Paolo.





More information about the Libstdc++ mailing list