gcc/libstdc++-v3/testsuite/ext
Paolo Carlini 2ad0022889 stdio_filebuf.h (stdio_filebuf::stdio_filebuf(...), ...): _M_buf_size_opt == 0 means only...
2003-04-12  Paolo Carlini  <pcarlini at unitus dot it>

	* include/ext/stdio_filebuf.h
	(stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
	stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
	_M_buf_size_opt == 0 means only "not to use an allocated buffer"
	since a stack-based buffer is used for small values of the size_t
	parameter.
	* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
	If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
	* testsuite/ext/stdio_filebuf_2.cc: New testfile.

From-SVN: r65513
2003-04-12 16:07:51 +00:00
..
allocators.cc configure.in (libtool_VERSION): To 6:0:0. 2003-01-23 17:21:11 +00:00
concept_checks.cc re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors)) 2002-01-03 04:44:07 +00:00
hash_map.cc re PR libstdc++/7057 (Operator== on hashtables doesn't appear to work correctly (patch included)) 2002-07-04 00:28:03 +00:00
hash_set.cc [multiple changes] 2002-04-28 16:21:32 +00:00
headers.cc stl_tree.h (rb_tree): Move to... 2002-01-04 17:02:28 +00:00
rope.cc hash_map: Move into __gnu_cxx, tweak, add using declarations. 2001-12-31 10:22:00 +00:00
stdio_filebuf_2.cc stdio_filebuf.h (stdio_filebuf::stdio_filebuf(...), ...): _M_buf_size_opt == 0 means only... 2003-04-12 16:07:51 +00:00
stdio_filebuf.cc re PR libstdc++/9320 (Incorrect usage of traits_type::int_type in stdio_filebuf) 2003-02-11 10:43:49 +00:00