gcc/libstdc++-v3/include/std
Benjamin Kosnik 46c4e5d6e9 re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0))
2003-06-05  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/9024
	* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
	* include/bits/stl_algobase.h: Tweak.
	* include/std/std_fstream.h: Move _M_buf_size to...
	* include/std/std_streambuf.h: ...here. Modify.
	* include/bits/streambuf.tcc: Same.
	* testsuite/testsuite_hooks.h: Tweak.
	* testsuite/testsuite_io.h (constraint_filebuf): New.
	* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
	* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
	* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
	* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
	* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
	* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
	* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
	* testsuite/data/sgetc.txt: New.
	* testsuite/data/sgetn.txt: New.

From-SVN: r67524
2003-06-06 00:19:17 +00:00
..
std_algorithm.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_bitset.h localename.cc: Standardize exception strings. 2003-04-28 23:05:57 +00:00
std_complex.h re PR libstdc++/10689 (pow(std::complex(0),1/3) returns (nan, nan) instead of 0.) 2003-05-20 06:52:11 +00:00
std_deque.h Makefile.am: Add new files. 2002-06-12 22:07:53 +00:00
std_fstream.h re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0)) 2003-06-06 00:19:17 +00:00
std_functional.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_iomanip.h c++config (_GLIBCPP_EXTERN_TEMPLATE): Define. 2003-02-13 21:39:03 +00:00
std_ios.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_iosfwd.h Revert include ordering. 2003-01-23 18:56:00 +00:00
std_iostream.h TODO: Note change in clause 27 docs. 2002-11-21 07:06:41 +00:00
std_istream.h std_istream.h, [...]: Typo in comment. 2003-05-27 14:29:39 +01:00
std_iterator.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_limits.h Intro.3: Update with new (proper) names. 2003-02-26 00:02:16 +00:00
std_list.h Makefile.am: Add new files. 2002-06-12 22:07:53 +00:00
std_locale.h locale_facets.h: Move non-facet classes requiring <string> to... 2003-01-22 16:51:52 +00:00
std_map.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_memory.h std_memory.h: Fix formatting. 2002-07-04 07:25:19 +00:00
std_numeric.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_ostream.h std_istream.h, [...]: Typo in comment. 2003-05-27 14:29:39 +01:00
std_queue.h PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 2002-06-29 01:10:51 +00:00
std_set.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_sstream.h std_fstream.h (_M_is_indeterminate): Remove. 2003-05-07 12:48:58 +00:00
std_stack.h PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 2002-06-29 01:10:51 +00:00
std_stdexcept.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_streambuf.h re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0)) 2003-06-06 00:19:17 +00:00
std_string.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_utility.h Makefile.am (doxygen, [...]): Tweak targets. 2002-01-28 22:13:12 +00:00
std_valarray.h valarray_meta.h: Remove, split into ... 2003-01-24 16:32:11 +00:00
std_vector.h Makefile.am: Add new files. 2002-06-12 22:07:53 +00:00