[PATCH] Fix libstdc++/7811
Paolo Carlini
pcarlini@unitus.it
Thu Sep 5 11:10:00 GMT 2002
Hi all,
following up to some private exchanges with Roland McGrath I think I
have a fix for the PR. Indeed, the below passes make check on x86-Linux
(glibc2.2.5) and some additional tests.
I'm unsure about the following points: in case LC_ALL is not set is the
fallback to LANG really needed (PR submitter implicitly expected this
to be the case)? Also, if neither are set is always correct that "" -> "C"?
In case, ok for 3.2 too?
Ciao, Paolo.
////////////////////////////
2002-09-05 Paolo Carlini <pcarlini@unitus.it>
Roland McGrath <roland@redhat.com>
libstdc++/7811
* src/locale.cc (locale::locale(__s)): Use getenv instead
of setenv for the environment locale.
* testsuite/22_locale/ctor_copy_dtor.cc (test03): New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_7811
Type: application/x-java-vm
Size: 1492 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20020905/b92d0407/attachment.bin>
More information about the Libstdc++
mailing list