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
concept_checks.cc
hash_map.cc
hash_set.cc
headers.cc
rope.cc
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