2006-10-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/26181 * include/bits/streambuf.tcc (__copy_streambufs_eof): New, like the existing __copy_streambufs but reporting eof in input. (__copy_streambufs): Just use the latter. * src/streambuf.cc (__copy_streambufs_eof): Adjust specializations of __copy_streambufs. * include/bits/istream.tcc (operator>>(__streambuf_type*)): Use __copy_streambufs_eof instead. * include/std/std_streambuf.h: Adjust. * src/streambuf-inst.cc: Adjust. * config/abi/pre/gnu.ver: Export the new symbols. * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: New. * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Adjust. * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110841 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- libstdc++-v3/ChangeLog 20 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/config/abi/pre/gnu.ver 3 additions, 1 deletionlibstdc++-v3/config/abi/pre/gnu.ver
- libstdc++-v3/include/bits/istream.tcc 4 additions, 1 deletionlibstdc++-v3/include/bits/istream.tcc
- libstdc++-v3/include/bits/streambuf.tcc 30 additions, 6 deletionslibstdc++-v3/include/bits/streambuf.tcc
- libstdc++-v3/include/std/std_streambuf.h 10 additions, 9 deletionslibstdc++-v3/include/std/std_streambuf.h
- libstdc++-v3/src/streambuf-inst.cc 13 additions, 3 deletionslibstdc++-v3/src/streambuf-inst.cc
- libstdc++-v3/src/streambuf.cc 23 additions, 9 deletionslibstdc++-v3/src/streambuf.cc
- libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/1.cc 4 additions, 3 deletions.../testsuite/27_io/basic_istream/extractors_other/char/1.cc
- libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/26181.cc 50 additions, 0 deletions...tsuite/27_io/basic_istream/extractors_other/char/26181.cc
- libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc 3 additions, 3 deletions...stsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc
- libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc 50 additions, 0 deletions...ite/27_io/basic_istream/extractors_other/wchar_t/26181.cc
Loading
Please register or sign in to comment