gcc/libstdc++-v3/testsuite
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
..
17_intro
18_support
19_diagnostics
20_util [multiple changes] 2003-11-11 20:09:16 +00:00
21_strings re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales) 2003-10-20 22:11:40 +00:00
22_locale 8.cc: New test, summarizing the discussion ensuing libstdc++/12988. 2003-11-17 08:39:57 +00:00
23_containers debug.html: Users are allowed to specialize in namespace __gnu_debug... 2003-11-14 00:15:00 +00:00
24_iterators
25_algorithms [multiple changes] 2003-11-11 20:09:16 +00:00
26_numerics
27_io re PR libstdc++/12868 (basic_filebuf::imbue fails too easily) 2003-11-18 08:21:38 +00:00
backward re PR libstdc++/11460 (Incorrect use of int_type in strstreambuf::pbackfail) 2003-10-12 20:03:18 +00:00
config
data
demangle re PR libstdc++/12947 (Demangler bug) 2003-11-12 02:18:37 +00:00
ext
lib libstdc++.exp: Set LD_LIBRARY_PATH_64 for SPARC64. 2003-10-09 21:22:38 +02:00
libstdc++-dg
performance
thread
abi_check.cc
Makefile.am
Makefile.in
printnow.c
testsuite_allocator.cc
testsuite_allocator.h
testsuite_character.h re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
testsuite_hooks.cc re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales) 2003-10-20 22:11:40 +00:00
testsuite_hooks.h re PR libstdc++/10081 (basic_ios::_M_cache_locale leaves NULL members in the face of unknown locales) 2003-10-20 22:11:40 +00:00
testsuite_io.h re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) 2003-11-13 17:43:48 +00:00
testsuite_performance.h