mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 15:39:55 +08:00
07814743cf
2002-02-07 Benjamin Kosnik <bkoz@redhat.com> libstdc++/5286 libstdc++/3860 * include/std/std_fstream.h (filebuf::__file_type): Change to __basic_file<char>. (filebuf::_M_convert_to_external): Declare. * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define codecvt bits for wide streams. (filebuf::_M_really_overflow): Use it. (filebuf::underflow): Use codecvt. * config/locale/codecvt_specializations_ieee_1003.1-200x.h: (codecvt<__enc_traits>::do_out): Deal with partial. (codecvt<__enc_traits>::do_encoding): Return something useful. * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof wchar_t. * testsuite/22_locale/codecvt_members_unicode_char.cc (test01): Change expected encoding output. (test02): Same. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same. (test02): Same. From-SVN: r49601 |
||
---|---|---|
.. | ||
c_locale_generic.cc | ||
c_locale_generic.h | ||
c_locale_gnu.cc | ||
c_locale_gnu.h | ||
c_locale_ieee_1003.1-200x.cc | ||
c_locale_ieee_1003.1-200x.h | ||
codecvt_specializations_generic.h | ||
codecvt_specializations_ieee_1003.1-200x.h | ||
collate_members_generic.cc | ||
collate_members_gnu.cc | ||
ctype_members_generic.cc | ||
ctype_members_gnu.cc | ||
messages_members_generic.cc | ||
messages_members_generic.h | ||
messages_members_gnu.cc | ||
messages_members_gnu.h | ||
messages_members_ieee_1003.1-200x.cc | ||
messages_members_ieee_1003.1-200x.h | ||
moneypunct_members_generic.cc | ||
moneypunct_members_gnu.cc | ||
numpunct_members_generic.cc | ||
numpunct_members_gnu.cc | ||
time_members_generic.cc | ||
time_members_gnu.cc |