diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-12 01:14:34 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-12 01:14:34 +0000 |
| commit | a80bbda119c4b8dc087056698453ea6777798bcf (patch) | |
| tree | 7871f58252a0edac33cfa8d880d21937f3504787 /libjava/gnu | |
| parent | 122ce965e6a2cfd03426146540e17f6a5034e45c (diff) | |
| download | ppe42-gcc-a80bbda119c4b8dc087056698453ea6777798bcf.tar.gz ppe42-gcc-a80bbda119c4b8dc087056698453ea6777798bcf.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73477 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
0 files changed, 0 insertions, 0 deletions

