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 monetary_members.cc


 Jakub Jelinek wrote:

Follow up patch - monetary_members.cc was still using setlocale.
With current CVS glibc plus a one-liner fix for locale-archive support
I now get back the expected 1 FAIL and 26 XPASSes on i386-redhat-linux,
both when using locale-archive and when forcing to not use
it (export LOCPATH=/usr/lib/locale).

Hi!

I'm not sure about the details, but must probably something must be done
also about the wcsrtombs calls still present in
config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow),
config/locale/generic/ctype_members.cc (ctype<wchar_t>::do_narrow) and
src/codecvt.cc (codecvt<>::do_out), not wrapped in setlocale() neither
in __uselocale() calls.

(see also my original remark in
http://gcc.gnu.org/ml/gcc-patches/2002-05/msg01977.html)

Ciao, Paolo.




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