gcc/libstdc++-v3/include/ext
Paolo Carlini dfad48c6e8 re PR libstdc++/12875 (Weird behaviour in basic_filebuf::setbuf())
2003-11-11  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/12875
	* include/bits/fstream.tcc (setbuf): Don't do anything
	after open(), in particular don't discard data.
	(_M_allocate_internal_buffer): Tweak to not allocate memory
	in case the buffer is provided by the user via setbuf.
	* include/ext/stdio_filebuf.h: Tweak comment.
	* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New.
	* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now
	setbuf does nothing after open().
	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.

From-SVN: r73477
2003-11-12 01:14:34 +00:00
..
algorithm [multiple changes] 2003-11-11 20:09:16 +00:00
debug_allocator.h
enc_filebuf.h
functional
hash_fun.h
hash_map
hash_set
hashtable.h
iterator
malloc_allocator.h
memory
mt_allocator.h mt_allocator.h: Change include to gthr.h. 2003-10-21 18:01:37 +00:00
new_allocator.h
numeric
pod_char_traits.h
pool_allocator.h mt_allocator.h: Change include to gthr.h. 2003-10-21 18:01:37 +00:00
rb_tree
rope mt_allocator.h: Change include to gthr.h. 2003-10-21 18:01:37 +00:00
ropeimpl.h
slist
stdio_filebuf.h re PR libstdc++/12875 (Weird behaviour in basic_filebuf::setbuf()) 2003-11-12 01:14:34 +00:00
stdio_sync_filebuf.h