This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3272: ostream::operator<<(streambuf*) sets EOFBIT to output stream
- To: bkoz at gcc dot gnu dot org, cpp-build at ncbi dot nlm dot nih dot gov, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, vakatov at ncbi dot nlm dot nih dot gov
- Subject: Re: libstdc++/3272: ostream::operator<<(streambuf*) sets EOFBIT to output stream
- From: rodrigc at gcc dot gnu dot org
- Date: 21 Oct 2001 05:49:35 -0000
Synopsis: ostream::operator<<(streambuf*) sets EOFBIT to output stream
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Oct 20 22:49:35 2001
State-Changed-Why:
Fixed.
2001-06-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
<vakatov@ncbi.nlm.nih.gov>
libstdc++/3272
* include/bits/streambuf.tcc (__copy_streambufs): Don't set eofbit.
* testsuite/27_io/ostream_inserter_other.cc (test04): Add test.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3272&database=gcc