gcc/libstdc++-v3/testsuite/27_io
Paolo Carlini 2934246345 re PR libstdc++/12868 (basic_filebuf::imbue fails too easily)
2003-11-18  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/12868
	* include/bits/fstream.tcc (imbue): For encodings != -1 it's
	always ok to imbue a new locale, provided seekoff(0, cur, ...)
	doesn't fail, of course.
	(underflow): In order for the above to work, deal gracefully
	with _M_codecvt->in returning codecvt_base::error while
	(__ilen = __iend - this->eback()) > 0: it just means __ilen
	correctly converted internal characters before an error.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.

From-SVN: r73697
2003-11-18 08:21:38 +00:00
..
basic_filebuf re PR libstdc++/12868 (basic_filebuf::imbue fails too easily) 2003-11-18 08:21:38 +00:00
basic_fstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ifstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ios locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_iostream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_istream TODO: Add links. 2003-10-27 21:43:33 +00:00
basic_istringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_ofstream re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
basic_ostream re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
basic_ostringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
basic_streambuf re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong) 2003-11-13 23:13:22 +00:00
basic_stringbuf [multiple changes] 2003-10-16 22:37:53 +00:00
basic_stringstream locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
fpos [multiple changes] 2003-10-16 22:37:53 +00:00
ios_base codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
manipulators locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
objects [multiple changes] 2003-10-16 22:37:53 +00:00
types [multiple changes] 2003-10-16 22:37:53 +00:00