gcc/libstdc++-v3/testsuite/27_io/basic_filebuf
Benjamin Kosnik 002bd6069c re PR libstdc++/9339 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering)
2003-05-26  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/9339
	* include/std/std_fstream.h (basic_filebuf::_M_overflow): Remove.
	(_M_pback): No array necessary.
	* include/bits/fstream.tcc (basic_filebuf::_M_overflow): Add
	unbuffered case, coalesec into ...
	(basic_filebuf::overflow): ...this.
	* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Unbuffered.

From-SVN: r67175
2003-05-26 14:54:42 +00:00
..
close/char 4.cc: Fix typo. 2003-05-20 23:03:28 +00:00
cons/wchar_t re PR libstdc++/10132 (filebuf destructor throws exceptions) 2003-04-26 00:23:18 +00:00
imbue std_fstream.h (basic_filebuf::_M_codecvt): Add cached member. 2003-05-13 20:13:15 +00:00
in_avail/char 3.cc: Remove unnecessary includes and unused string literals. 2003-05-10 15:05:15 +00:00
is_open/char
open/char
overflow/char
sbumpc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
seekoff std_fstream.h (_S_pback_size): Remove definition. 2003-05-22 22:16:41 +00:00
seekpos std_fstream.h (_S_pback_size): Remove definition. 2003-05-22 22:16:41 +00:00
setbuf/char
sgetc/char 1.cc: Remove unnecessary includes and unused string literals. 2003-05-12 21:01:39 +00:00
sgetn/char fstream.tcc (_M_overflow): Rewrote to call _M_convert_to_external only once (_M_buf_size is now the size... 2003-05-15 23:43:15 +00:00
showmanyc/char
snextc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sputbackc/char 1.cc: Remove unnecessary includes and unused string literals. 2003-05-12 21:01:39 +00:00
sputc/char re PR libstdc++/9339 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering) 2003-05-26 14:54:42 +00:00
sputn/char re PR libstdc++/9339 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering) 2003-05-26 14:54:42 +00:00
sungetc/char 1.cc: Remove unnecessary includes and unused string literals. 2003-05-12 21:01:39 +00:00
sync/char
underflow std_fstream.h (_S_pback_size): Remove definition. 2003-05-22 22:16:41 +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