]> gcc.gnu.org Git - gcc.git/commit - libstdc++-v3/include/bits/fstream.tcc
Nathan C.
authorPaolo Carlini <pcarlini@unitus.it>
Thu, 26 Jun 2003 09:55:24 +0000 (11:55 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 26 Jun 2003 09:55:24 +0000 (09:55 +0000)
commit2cfe4e6898684773bb75f5781b867678084a2377
tree0db62f96463851b43a272aff26ca99603b2265cc
parent1c72f4ef67bd14173d1b4b8f8e187ee9bdfc693e
Nathan C.

2003-06-26  Paolo Carlini  <pcarlini@unitus.it>
            Nathan C. Myers  <ncm-nospam@cantrip.org>

* include/bits/fstream.tcc (_M_underflow): When the actual
end of file is reached, set 'uncommitted' mode to allow a
next write without an intervening seek (see C++98 27.8.1.1,2
and C89 7.9.5.3).
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.

Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>
From-SVN: r68522
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc [new file with mode: 0644]
This page took 0.060374 seconds and 5 git commands to generate.