gcc/libstdc++-v3/testsuite/27_io/basic_filebuf
Paolo Carlini 3461133d72 Nathan C.
2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan C. Myers  <ncm-nospam@cantrip.org>

	PR libstdc++/9178
	* include/bits/fstream.tcc (_M_underflow): Properly estimate
	the worst-case number of external bytes for a given get area.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.

2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
	    Petur Runolfsson  <peturr02@ru.is>

	PR libstdc++/11305
	* include/bits/fstream.tcc (overflow): Properly estimate the
	worst-case number of external bytes for a given put area
	(by using codecvt::max_length()).
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.

Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>

From-SVN: r68566
2003-06-27 12:33:49 +00:00
..
close/char 4.cc: Fix typo. 2003-05-20 23:03:28 +00:00
cons/wchar_t
imbue std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. 2003-05-13 20:13:15 +00:00
in_avail/char
is_open/char
open/char
overflow Nathan C. 2003-06-27 12:33:49 +00:00
pbackfail/char re PR libstdc++/9761 (filebuf::pbackfail discards previously put back characters) 2003-06-02 16:46:28 +00:00
sbumpc/char Nathan C. 2003-06-24 13:48:11 +00:00
seekoff Nathan C. 2003-06-24 13:48:11 +00:00
seekpos Nathan C. 2003-06-24 13:48:11 +00:00
setbuf/char Nathan C. 2003-06-24 13:48:11 +00:00
sgetc/char Nathan C. 2003-06-24 13:48:11 +00:00
sgetn/char Nathan C. 2003-06-24 13:48:11 +00:00
showmanyc/char
snextc/char Nathan C. 2003-06-24 13:48:11 +00:00
sputbackc/char Nathan C. 2003-06-24 13:48:11 +00:00
sputc/char Nathan C. 2003-06-24 13:48:11 +00:00
sputn/char Nathan C. 2003-06-24 13:48:11 +00:00
sungetc/char Nathan C. 2003-06-24 13:48:11 +00:00
sync/char
underflow Nathan C. 2003-06-27 12:33:49 +00:00
1.cc
2.cc
3.cc std_fstream.h (_S_pback_size): Remove definition. 2003-05-22 22:16:41 +00:00
4.cc