]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/3.cc
locale.cc (locale::locale(const char*)): Make sure global locales are initialized.
authorBenjamin Kosnik <bkoz@redhat.com>
Mon, 2 Jul 2001 23:08:28 +0000 (23:08 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 2 Jul 2001 23:08:28 +0000 (23:08 +0000)
commit213c2316b697c78344ba7d03b2e922c8229e8b35
treeb7c70c18995c1b35cea67a52cbf249a39eb5f33b
parent30b3a033af6c62b95c16c3f26610753c0aaa4002
locale.cc (locale::locale(const char*)): Make sure global locales are initialized.

2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>

* src/locale.cc (locale::locale(const char*)): Make sure global
locales are initialized.
* include/bits/locale_facets.tcc (locale::combine): Refcout should
be zero, not one as it's return-by-value.
* testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
named locales here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
for it here.
(test02): Add test.
* libsupc++/eh_alloc.cc: Use climits, not limits.h.

From-SVN: r43713
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/libsupc++/eh_alloc.cc
libstdc++-v3/src/locale.cc
libstdc++-v3/testsuite/22_locale/ctor_copy_dtor.cc
libstdc++-v3/testsuite/27_io/ios_base_callbacks.cc