* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
in __uselocale, since btowc is called for chars belonging to
the basic character set.
From-SVN: r80618
+2004-04-12 Paolo Carlini <pcarlini@suse.de>
+
+ * config/locale/gnu/numeric_members.cc
+ (numpunct<wchar_t>::_M_initialize_numpunct): No need to wrap
+ in __uselocale, since btowc is called for chars belonging to
+ the basic character set.
+
2004-04-09 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/messages/members/char/1.cc: Remove junk.
_M_data->_M_decimal_point = L'.';
_M_data->_M_thousands_sep = L',';
-#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
- __c_locale __old = __uselocale(_S_get_c_locale());
-#endif
// Use ctype::widen code without the facet...
unsigned char uc;
for (size_t __i = 0; __i < __num_base::_S_oend; ++__i)
uc = static_cast<unsigned char>(__num_base::_S_atoms_in[__i]);
_M_data->_M_atoms_in[__i] = btowc(uc);
}
-#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
- __uselocale(__old);
-#endif
}
else
{