re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 1 Apr 2007 17:32:20 +0000 (17:32 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 1 Apr 2007 17:32:20 +0000 (17:32 +0000)
commit08f9246a4574b9882c67bc64fabc69817142948f
tree33215bd612d3c257ba2f81ab28d1449710cbb577
parent201c811d49e228c5e88f1e794f05d145b50e9128
re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF)

2007-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31052
* io/open.c (test_endfile): Delete this function.
(edit_modes): Delete call to test_endfile.
(new_unit): Likewise.
* io/io.h: Delete prototype for test_endfile.
* io/transfer.c (next_record_r): Remove use of test_endfile.
(st_read):  Add test for end file condition and adjust status.

From-SVN: r123403
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/open.c
libgfortran/io/transfer.c