mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-22 20:36:20 +08:00
f1813b6972
2003-09-04 Petur Runolfsson <peturr02@ru.is> PR libstdc++/9028 * include/bits/fstream.tcc (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf. (basic_filebuf::basic_filebuf): Initialize _M_ext_buf, _M_ext_buf_size, _M_ext_next and _M_ext_end. (basic_filebuf::underflow): Handle variable-width stateless encodings (codecvt::encoding() == 0), including UTF-8. * include/std/std_fstream.h (basic_filebuf): Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end. * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test. * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test. * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test. * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test. * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test. * testsuite/27_io/objects/wchar_t/12.cc: New test. * testsuite/27_io/objects/wchar_t/13.cc: New test. From-SVN: r71111 |
||
---|---|---|
.. | ||
close/char | ||
cons/wchar_t | ||
imbue | ||
in_avail/char | ||
is_open/char | ||
open/char | ||
overflow | ||
pbackfail/char | ||
sbumpc/char | ||
seekoff | ||
seekpos | ||
setbuf/char | ||
sgetc/char | ||
sgetn/char | ||
showmanyc/char | ||
snextc/char | ||
sputbackc/char | ||
sputc/char | ||
sputn/char | ||
sungetc/char | ||
sync/char | ||
underflow | ||
1.cc | ||
2.cc | ||
3.cc | ||
4.cc |