diff -urN libstdc++-v3-orig/testsuite/22_locale/ctor_copy_dtor.cc libstdc++-v3/testsuite/22_locale/ctor_copy_dtor.cc --- libstdc++-v3-orig/testsuite/22_locale/ctor_copy_dtor.cc 2002-09-05 23:13:06.000000000 +0200 +++ libstdc++-v3/testsuite/22_locale/ctor_copy_dtor.cc 2002-09-07 16:14:12.000000000 +0200 @@ -315,12 +315,12 @@ { bool test = true; #ifdef _GLIBCPP_HAVE_SETENV - const char* oldLANG = getenv("LANG"); - if (!setenv("LANG", "it_IT", 1)) + const char* oldLC_ALL = getenv("LC_ALL"); + if (!setenv("LC_ALL", "it_IT", 1)) { std::locale loc(""); VERIFY( loc.name() == "it_IT" ); - setenv("LANG", oldLANG ? oldLANG : "", 1); + setenv("LC_ALL", oldLC_ALL ? oldLC_ALL : "", 1); } #endif }