]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 18 Mar 2007 18:13:50 +0000 (18:13 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 18 Mar 2007 18:13:50 +0000 (18:13 +0000)
commit7ab8aa36203ef49ae94f239ca6b148ac99922e46
tree871476a5899e38bd7a956355df12cf05c6dd4f79
parent7453378e3d16d7b048668ec46ab93f7bb9043308
re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF)

2007-03-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31052
* io/file_position (st_rewind): Fix comments. Remove use of
test_endfile. Don't seek if already at 0 position.  Use new is_special
function to set endfile state.
* io/open.c (test_endfile): Delete this function.
* io/io.h: Delete prototype for test_endfile.  Add prototype
for is_special.
* io/unix.c (is_special): New function. Fix whitespace.
* io/transfer.c (next_record_r): Remove use of test_endfile.

From-SVN: r123038
libgfortran/ChangeLog
libgfortran/io/file_pos.c
libgfortran/io/io.h
libgfortran/io/open.c
libgfortran/io/transfer.c
libgfortran/io/unix.c