gcc/libstdc++-v3/testsuite/27_io/basic_filebuf
David Krauss 47b90d6b32 re PR libstdc++/45841 (r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc)
2010-10-05  David Krauss  <potswa@mac.com>

	PR libstdc++/45841
	* include/bits/fstream.h (basic_filebuf::underflow): Overflow
	success does not preclude returning failure.
	(basic_filebuf::pbackfail): Likewise.
	(basic_filebuf::xsputn): Fix indentation problem.
	(basic_filebuf::xsgetn): Likewise. Also, add similar overflow
	call to enable optimized case from write mode.
	* testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.

From-SVN: r165009
2010-10-06 00:17:28 +00:00
..
close
cons
imbue [multiple changes] 2010-09-15 10:46:39 +00:00
in_avail/char
is_open/char
open
overflow [multiple changes] 2010-09-15 10:46:39 +00:00
pbackfail/char
requirements
sbumpc/char
seekoff re PR libstdc++/45628 (std::fstream::tellg invalidates I/O buffer) 2010-09-22 19:40:43 +00:00
seekpos [multiple changes] 2010-09-15 10:46:39 +00:00
setbuf/char [multiple changes] 2010-06-26 20:11:20 +00:00
sgetc/char
sgetn/char
showmanyc/char
snextc/char
sputbackc/char
sputc/char
sputn/char
sungetc/char
sync/char re PR libstdc++/45628 (std::fstream::tellg invalidates I/O buffer) 2010-09-22 19:40:43 +00:00
underflow re PR libstdc++/45841 (r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc) 2010-10-06 00:17:28 +00:00