mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 13:00:09 +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 |
||
---|---|---|
.. | ||
codecvt_members_char_char.cc | ||
codecvt_members_unicode_char.cc | ||
codecvt_members_unicode_wchar_t.cc | ||
codecvt_members_wchar_t_char.cc | ||
codecvt.cc | ||
collate_byname.cc | ||
collate_members_char.cc | ||
collate_members_wchar_t.cc | ||
collate.cc | ||
ctor_copy_dtor.cc | ||
ctype_members_char.cc | ||
ctype_members_wchar_t.cc | ||
ctype.cc | ||
facet.cc | ||
global_templates.cc | ||
members.cc | ||
messages_byname.cc | ||
messages_members_char.cc | ||
messages.cc | ||
money_get_members_char.cc | ||
money_get_members_wchar_t.cc | ||
money_get.cc | ||
money_put_members_char.cc | ||
money_put_members_wchar_t.cc | ||
money_put.cc | ||
moneypunct_byname.cc | ||
moneypunct_members_char.cc | ||
moneypunct_members_wchar_t.cc | ||
moneypunct.cc | ||
num_get_members_char.cc | ||
num_get_members_wchar_t.cc | ||
num_get.cc | ||
num_put_members_char.cc | ||
num_put_members_wchar_t.cc | ||
num_put.cc | ||
numpunct_byname.cc | ||
numpunct_members_char.cc | ||
numpunct_members_wchar_t.cc | ||
numpunct.cc | ||
operators.cc | ||
static_members.cc | ||
time_get_members_char.cc | ||
time_get_members_wchar_t.cc | ||
time_get.cc | ||
time_put_members_char.cc | ||
time_put_members_wchar_t.cc | ||
time_put.cc |