[patch, libgfortran] PR31052 Bad IOSTAT values when readings NAMELISTs past EOF
FX Coudert
fxcoudert@gmail.com
Sun Apr 1 16:07:00 GMT 2007
> 2007-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libgfortran/31052
> * io/file_position (st_rewind): 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.
> (edit_modes): Delete call to test_endfile.
> (new_unit): Likewise.
> * io/io.h: Delete prototype for test_endfile. Add prototype
> for is_special.
> * io/transfer.c (next_record_r): Remove use of test_endfile.
> (st_read): Add test for end file condition and adjust status.
OK for mainline.
More information about the Gcc-patches
mailing list