2002-11-11 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Nov 2002 23:18:05 +0000 (23:18 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Nov 2002 23:18:05 +0000 (23:18 +0000)
commitc3b8e7f75c83c7e13cb3997d1dcac387daf89f1f
treeb453888a589082dd78db7efe37b82197810bdf37
parentc005ac22c1e5ae043731a536182b05cb3315447b
2002-11-11  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/6746
        * include/bits/fstream.tcc (filebuf::open): Set input pointers.
* config/io/basic_file_stdio.cc (__basic_file::_M_open_mode): Set
__p_mode as well.
(__basic_file::open): Set to non-block for input.
* testsuite/27_io/istream_unformatted.cc (test12): Add.
(test13): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59030 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/config/io/basic_file_stdio.cc
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/testsuite/27_io/istream_unformatted.cc