diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-03-08 09:16:06 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-03-08 08:16:06 +0000 |
commit | feecf61403046c7a8265aa6a4a10f5c9e722efe5 (patch) | |
tree | 9718ebdfec13ed6a37f4d78228aa105a9125271e /gcc/c-decl.c | |
parent | ed97aa662b866f3f17e09f52740ad3acfe1cebe5 (diff) | |
download | gcc-feecf61403046c7a8265aa6a4a10f5c9e722efe5.zip gcc-feecf61403046c7a8265aa6a4a10f5c9e722efe5.tar.gz gcc-feecf61403046c7a8265aa6a4a10f5c9e722efe5.tar.bz2 |
re PR libstdc++/9424 (i/ostream::operator>>/<<(streambuf*) drops characters)
2003-03-08 Paolo Carlini <pcarlini@unitus.it>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9424
* include/bits/streambuf.tcc (__copy_streambufs): Use
sgetn-sputn only when sputn cannot fail, otherwise fall back
to safe snextc-sputc.
* testsuite/27_io/streambuf_members.cc (test11, test12): Add.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r63974
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions