gcc/libstdc++-v3/include/std
Paolo Carlini f10eea7bae fstream.tcc (_M_underflow): Do not special case the unbuffered case...
2003-06-09  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/fstream.tcc (_M_underflow): Do not special
	case the unbuffered case, which really means simply a one char
	get area.
	(basic_filebuf): Initialize _M_buf_size.
	(setbuf): Unbuffered means _M_buf_size == 1, since only
	_M_buf_size - 1 == 0 chars are going to be used for the
	put area and 1 for the get area.
	* include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
	(~basic_streambuf): Tweak.
	(basic_streambuf): Do not initialize _M_buf_size.
	* include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
	(~basic_filebuf): Tweak.
	(_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
	unbuffered situation (i.e., put area pointers NULL).
	* include/bits/streambuf.tcc (sbumpc): Clean up.
	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
	* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
	* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
	* testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
	* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.

From-SVN: r67686
2003-06-10 00:05:49 +00:00
..
std_algorithm.h
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
std_fstream.h fstream.tcc (_M_underflow): Do not special case the unbuffered case... 2003-06-10 00:05:49 +00:00
std_functional.h
std_iomanip.h
std_ios.h
std_iosfwd.h
std_iostream.h
std_istream.h std_istream.h, [...]: Typo in comment. 2003-05-27 14:29:39 +01:00
std_iterator.h
std_limits.h
std_list.h
std_locale.h
std_map.h
std_memory.h
std_numeric.h
std_ostream.h std_istream.h, [...]: Typo in comment. 2003-05-27 14:29:39 +01:00
std_queue.h
std_set.h
std_sstream.h std_fstream.h (_M_is_indeterminate): Remove. 2003-05-07 12:48:58 +00:00
std_stack.h
std_stdexcept.h
std_streambuf.h fstream.tcc (_M_underflow): Do not special case the unbuffered case... 2003-06-10 00:05:49 +00:00
std_string.h
std_utility.h
std_valarray.h
std_vector.h