diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-02-10 18:29:04 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-02-10 18:29:04 +0000 |
commit | 6f4d3d86564db6a42ffb8ffa8960cc32129ab581 (patch) | |
tree | 1dab8a81ea15d11cc728502d30a26f6443ec2284 /gcc/loop-init.c | |
parent | 083cc29303cc3d27b400b8af8125db3f3ceb930f (diff) | |
download | gcc-6f4d3d86564db6a42ffb8ffa8960cc32129ab581.zip gcc-6f4d3d86564db6a42ffb8ffa8960cc32129ab581.tar.gz gcc-6f4d3d86564db6a42ffb8ffa8960cc32129ab581.tar.bz2 |
re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit)
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.
From-SVN: r110841
Diffstat (limited to 'gcc/loop-init.c')
0 files changed, 0 insertions, 0 deletions