This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use __uselocale in monetary_members.cc
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: bkoz at redhat dot com, mark at codesourcery dot com, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, drepper at redhat dot com, roland at redhat dot com
- Date: Sun, 01 Sep 2002 13:27:12 +0200
- Subject: Re: [PATCH] Use __uselocale in monetary_members.cc
- References: <20020830123828.Y1013@sunsite.ms.mff.cuni.cz> <20020901063834.A7920@devserv.devel.redhat.com>
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.