This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATCH] Fix libstdc++/7811
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Roland McGrath <roland at redhat dot com>
- Date: Thu, 05 Sep 2002 20:10:41 +0200
- Subject: [PATCH] Fix libstdc++/7811
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.
Attachment:
patch_7811
Description: application/java-vm