* io/rewind.c (st_rewind): Reset unit to read mode.
commit1907a015e258b7ab728ef9f9b87ed426b9c50c38
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Aug 2004 13:44:52 +0000 (27 13:44 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Aug 2004 13:44:52 +0000 (27 13:44 +0000)
tree054a0d89cce6f0607917769f263772691935db23
parentfea520ebeeebe1392a25a319518fb7c9655cb329
* io/rewind.c (st_rewind): Reset unit to read mode.
testsuite/
* gfortran.dg/rewind_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86659 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/rewind_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/rewind.c