[PATCH] Use __uselocale in monetary_members.cc
Paolo Carlini
pcarlini@unitus.it
Sun Sep 1 04:28:00 GMT 2002
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.
More information about the Libstdc++
mailing list