gcc/libstdc++-v3/testsuite/27_io/basic_streambuf
Paolo Carlini a2dcfada8a re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong)
2003-11-13  Paolo Carlini  <pcarlini@suse.de>
	    Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/13007
	* include/bits/fstream.tcc (imbue): Don't touch the stored
	locale.
	* include/std/std_streambuf.h (imbue): According to the
	standard, base class version does nothing.
	(pubimbue): Store the locale.
	* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
	* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.

Co-Authored-By: Petur Runolfsson <peturr02@ru.is>

From-SVN: r73563
2003-11-13 23:13:22 +00:00
..
cons/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
imbue re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong) 2003-11-13 23:13:22 +00:00
in_avail/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
overflow/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
sgetc/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
sgetn/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
sputbackc/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
sputc/char Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
sputn/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
sync/char locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
1.cc Reshuffle 27_io testsuite. 2003-04-10 07:15:40 +00:00
2.cc *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
3.cc locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00