From mboxrd@z Thu Jan 1 00:00:00 1970 From: bkoz@gcc.gnu.org To: bkoz@gcc.gnu.org, cpp-build@ncbi.nlm.nih.gov, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, vakatov@ncbi.nlm.nih.gov Subject: Re: libstdc++/3272: ostream::operator<<(streambuf*) sets EOFBIT to output stream Date: Tue, 26 Jun 2001 17:56:00 -0000 Message-id: <20010627005651.7658.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg01113.html List-Id: 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 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