PR libstdc++/8071, libstdc++/8127, c++/6745
authorJonathan Lennox <lennox@cs.columbia.edu>
Wed, 9 Oct 2002 06:32:11 +0000 (06:32 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 9 Oct 2002 06:32:11 +0000 (06:32 +0000)
commit3279e88a454b75a49bafb8c17676d8ba273f46fd
treecbc5456623322112b44210a8f5a7c9c2e2f5aadd
parentf5264b52cfaa000c6acc8220a7037ca9ac01085c
PR libstdc++/8071, libstdc++/8127, c++/6745

2002-10-08  Jonathan Lennox  <lennox@cs.columbia.edu>

PR libstdc++/8071, libstdc++/8127, c++/6745
* streambuf.tcc (__copy_streambufs): Handle cases where
__sbin->in_avail() returns 0, or where __sbin doesn't set gptr().
* testsuite/27_io/ostream_inserter_other.cc (test05): Add.

From-SVN: r57970
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/streambuf.tcc
libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc