mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-21 03:39:29 +08:00
990101f973
2001-05-21 Benjamin Kosnik <bkoz@redhat.com> * mkcheck.in (static_fail): Remove S_FLAG decoration on output. * include/bits/std_sstream.h (stringbuf::setbuf): Require both arguments to be non-null. * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only try allocations if allocated size is greater than zero. (filebuf::_M_filebuf_init): Change to (filebuf::_M_allocate_file): Which is what it does now. (filebuf::_M_allocate_bufers): Change to (filebuf::_M_allocate_internal_buffer): This, and create (filebuf::_M_allocate_pback_buffer): New. (filebuf::_M_destroy_internal_buffer): New. (filebuf::_M_buf_allocated): New data member. (filebuf::setbuf): Use new logic, allow use of external buffer. * testsuite/27_io/stringbuf_virtuals.cc: New file. * testsuite/27_io/filebuf_virtuals.cc: New file. From-SVN: r42458 |
||
---|---|---|
.. | ||
filebuf_members-1.tst | ||
filebuf_members-1.txt | ||
filebuf_members.cc | ||
filebuf_virtuals.cc | ||
filebuf-1.tst | ||
filebuf-1.txt | ||
filebuf-2.tst | ||
filebuf-3.tst | ||
filebuf.cc | ||
fpos.cc | ||
ifstream_members-1.tst | ||
ifstream_members-1.txt | ||
ifstream_members.cc | ||
ios_base_callbacks.cc | ||
ios_base_members_static-1.tst | ||
ios_base_members_static.cc | ||
ios_base_storage.cc | ||
ios_ctor.cc | ||
ios_manip_basefield.cc | ||
ios_manip_fmtflags.cc | ||
ios_members.cc | ||
istream_extractor_arith.cc | ||
istream_extractor_char.cc | ||
istream_extractor_other-1.tst | ||
istream_extractor_other-1.txt | ||
istream_extractor_other-2.tst | ||
istream_extractor_other.cc | ||
istream_manip.cc | ||
istream_seeks-1.tst | ||
istream_seeks-1.txt | ||
istream_seeks-2.tst | ||
istream_seeks.cc | ||
istream_sentry.cc | ||
istream_unformatted-1.tst | ||
istream_unformatted-1.txt | ||
istream_unformatted.cc | ||
istream.cc | ||
istringstream_members.cc | ||
narrow_stream_objects.cc | ||
ofstream_members-1.tst | ||
ofstream_members.cc | ||
ostream_inserter_arith.cc | ||
ostream_inserter_char-1.tst | ||
ostream_inserter_char-1.txt | ||
ostream_inserter_char.cc | ||
ostream_inserter_other-1.tst | ||
ostream_inserter_other-2.tst | ||
ostream_inserter_other.cc | ||
ostream_manip.cc | ||
ostream_seeks-1.tst | ||
ostream_seeks.cc | ||
ostream_unformatted.cc | ||
ostream.cc | ||
streambuf.cc | ||
stringbuf_virtuals.cc | ||
stringbuf.cc | ||
stringstream.cc | ||
wide_stream_objects.cc |