re PR libstdc++/7811 (default locale not taken from environment)
authorPaolo Carlini <pcarlini@unitus.it>
Thu, 5 Sep 2002 21:13:07 +0000 (23:13 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 5 Sep 2002 21:13:07 +0000 (21:13 +0000)
commite2cbee7fd1d126a404e33321057392c5777db950
tree04d7512b4857d0931c9bdb1ce34ae5d6b7799f97
parentb3fbfc0766b57cc52e1398e131161df6c7bb1ef7
re PR libstdc++/7811 (default locale not taken from environment)

2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
    Roland McGrath  <roland@redhat.com>

PR 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.

Co-Authored-By: Roland McGrath <roland@redhat.com>
From-SVN: r56865
libstdc++-v3/ChangeLog
libstdc++-v3/src/locale.cc
libstdc++-v3/testsuite/22_locale/ctor_copy_dtor.cc