This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
gcc/libstdc++-v3 ChangeLog mkcheck.in include/ ...
- To: gcc-cvs at gcc dot gnu dot org, libstdc++-cvs at gcc dot gnu dot org
- Subject: gcc/libstdc++-v3 ChangeLog mkcheck.in include/ ...
- From: bkoz at gcc dot gnu dot org
- Date: 22 May 2001 18:56:13 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_0-branch
Changes by: bkoz@gcc.gnu.org 2001-05-22 11:56:13
Modified files:
libstdc++-v3 : ChangeLog mkcheck.in
libstdc++-v3/include/bits: fstream.tcc std_fstream.h
std_sstream.h
Added files:
libstdc++-v3/testsuite/27_io: filebuf_virtuals.cc
stringbuf_virtuals.cc
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.452.2.62&r2=1.452.2.63
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/mkcheck.in.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.49.2.4&r2=1.49.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/fstream.tcc.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.4.4.2&r2=1.4.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/std_fstream.h.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1.6.3&r2=1.1.6.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/std_sstream.h.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=1.1.6.2&r2=1.1.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/filebuf_virtuals.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/stringbuf_virtuals.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_0-branch&r1=NONE&r2=1.1.2.1