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, nobody 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: bkoz at gcc dot gnu dot org
- Date: 27 Jun 2001 00:56:51 -0000
Synopsis: ostream::operator<<(streambuf*) sets EOFBIT to output stream
Responsible-Changed-From-To: unassigned->bkoz
Responsible-Changed-By: bkoz
Responsible-Changed-When: Tue Jun 26 17:56:51 2001
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->feedback
State-Changed-By: bkoz
State-Changed-When: Tue Jun 26 17:56:51 2001
State-Changed-Why:
This should fix it: thanks for the excellent bug report. Please let me know how I can help NCBI, it looks like y'all are doing some cool work there. This is checked into the head CVS, not the branch. If you update the library sources you'll be back in business.
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.
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3272&database=gcc