gcc/libstdc++-v3/testsuite/27_io
Petur Runolfsson f1813b6972 re PR libstdc++/9028 (codecvt<wchar_t, char, mbstate_t> doesn't work on Red Hat Linux 8.0.)
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
2003-09-05 12:55:33 +00:00
..
basic_filebuf re PR libstdc++/9028 (codecvt<wchar_t, char, mbstate_t> doesn't work on Red Hat Linux 8.0.) 2003-09-05 12:55:33 +00:00
basic_fstream *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
basic_ifstream
basic_ios *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
basic_iostream
basic_istream testsuite_hooks.h: Remove list include. 2003-07-28 17:12:16 +00:00
basic_istringstream
basic_ofstream
basic_ostream testsuite_hooks.h: Remove list include. 2003-07-28 17:12:16 +00:00
basic_ostringstream
basic_streambuf *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
basic_stringbuf *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
basic_stringstream *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
fpos *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
ios_base *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
manipulators
objects re PR libstdc++/9028 (codecvt<wchar_t, char, mbstate_t> doesn't work on Red Hat Linux 8.0.) 2003-09-05 12:55:33 +00:00
types