This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use __uselocale in ctype_members.cc


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]