From: Benjamin Kosnik Date: Fri, 11 Apr 2003 17:48:51 +0000 (+0000) Subject: 3.cc (test03): Use the classic locale to construct this hybrid locale, not the global... X-Git-Tag: releases/gcc-3.4.0~7367 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6df0c1b4608fd21d9849c2b7fcb6f9b3aeefb193;p=thirdparty%2Fgcc.git 3.cc (test03): Use the classic locale to construct this hybrid locale, not the global locale. 2003-04-11 Benjamin Kosnik * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic locale to construct this hybrid locale, not the global locale. From-SVN: r65469 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 28bcb200d4d9..577de694e252 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2003-04-11 Benjamin Kosnik + + * testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic + locale to construct this hybrid locale, not the global locale. + 2003-04-11 Benjamin Kosnik * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add diff --git a/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc b/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc index fb3a75df244c..0b56b5ca3b09 100644 --- a/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc +++ b/libstdc++-v3/testsuite/22_locale/ctype/is/char/3.cc @@ -40,8 +40,8 @@ void test03() for (int i = 0; i < 256; ++i) maskdata[i] = std::ctype_base::alpha; std::ctype* f = new std::ctype(maskdata); - std::locale global; - std::locale loc(global, f); + std::locale loc_c = std::locale::classic(); + std::locale loc(loc_c, f); for (int i = 0; i < 256; ++i) { char_type ch = i;