From: Benjamin Kosnik Date: Tue, 17 Sep 2002 00:51:50 +0000 (+0000) Subject: codecvt.h: Remove __s. X-Git-Tag: releases/gcc-3.2.1~271 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26fb9510f2877f3ac491e7b1b888ca746a29911;p=thirdparty%2Fgcc.git codecvt.h: Remove __s. 2002-09-16 Benjamin Kosnik * include/bits/codecvt.h: Remove __s. * config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt usage, substitute _S_c_locale. From-SVN: r57219 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 85ef8f782c3d..9d6bb9532914 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2002-09-16 Benjamin Kosnik + + * include/bits/codecvt.h: Remove __s. + * config/locale/gnu/codecvt_members.cc: Remove _M_c_locale_codecvt + usage, substitute _S_c_locale. + 2002-09-12 Benjamin Kosnik * libmath/Makefile.am (LIBTOOL): Use --tag CC always for this diff --git a/libstdc++-v3/config/locale/gnu/codecvt_members.cc b/libstdc++-v3/config/locale/gnu/codecvt_members.cc index aa855a6a1f28..3569f6bf57b8 100644 --- a/libstdc++-v3/config/locale/gnu/codecvt_members.cc +++ b/libstdc++-v3/config/locale/gnu/codecvt_members.cc @@ -50,7 +50,7 @@ namespace std result __ret = error; size_t __len = min(__from_end - __from, __to_end - __to); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) - __c_locale __old = __uselocale(_M_c_locale_codecvt); + __c_locale __old = __uselocale(_S_c_locale); #endif size_t __conv = wcsrtombs(__to, &__from, __len, &__state); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) @@ -85,7 +85,7 @@ namespace std result __ret = error; size_t __len = min(__from_end - __from, __to_end - __to); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) - __c_locale __old = __uselocale(_M_c_locale_codecvt); + __c_locale __old = __uselocale(_S_c_locale); #endif size_t __conv = mbsrtowcs(__to, &__from, __len, &__state); #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) diff --git a/libstdc++-v3/include/bits/codecvt.h b/libstdc++-v3/include/bits/codecvt.h index 423679a5ab02..3666e987d6de 100644 --- a/libstdc++-v3/include/bits/codecvt.h +++ b/libstdc++-v3/include/bits/codecvt.h @@ -320,7 +320,7 @@ { public: explicit - codecvt_byname(const char* __s, size_t __refs = 0) + codecvt_byname(const char*, size_t __refs = 0) : codecvt<_InternT, _ExternT, _StateT>(__refs) { } protected: