OSDN Git Service

2003-06-26 Paolo Carlini <pcarlini@unitus.it>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2003 09:55:24 +0000 (09:55 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2003 09:55:24 +0000 (09:55 +0000)
commitcc3d5c962cb4d6044f63b70da4c9524d5bd1c3de
tree0db62f96463851b43a272aff26ca99603b2265cc
parentd81602c4c871ee8a316a89085e46be4d6e93b469
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68522 138bc75d-0d04-0410-961f-82ee72b054a4
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]