fstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()).
2003-06-10 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()). * testsuite/27_io/basic_filebuf/overflow/char/2.cc: New. * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto. 2003-06-10 Paolo Carlini <pcarlini@unitus.it> * include/bits/fstream.tcc (_M_underflow): Check overflow return value; tweak slightly. From-SVN: r67726
Showing
- libstdc++-v3/ChangeLog 12 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/fstream.tcc 7 additions, 7 deletionslibstdc++-v3/include/bits/fstream.tcc
- libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc 54 additions, 0 deletions...v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc
- libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc 53 additions, 0 deletions...tdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc
Loading
Please register or sign in to comment