[patch, libfortran][Regression] PR43265 No EOF condition if reading with '(x)' from an empty file
Tobias Burnus
burnus@net-b.de
Tue Mar 9 09:02:00 GMT 2010
On 08.03.2010 06:33, Jerry DeLisle wrote:
> Regression tested and NIST tested on x86-64. OK for trunk.
OK. Thanks for the patch and for explaining mem_alloc_r.
Tobias
> 2010-03-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libfortran/43265
> * io/read.c: Include fbuf.h and unix.h to enable lower level I/O for
> read_x. (read_x): Replace the use of read_sf with equivalent lower
> level
> I/O, eliminating unneeded code and handling EOF and EOR conditions.
> * io/io.h: Revise prototype for read_sf.
> * io/transfer.c (read_sf): Delete no_error parameter and all uses
> of it.
> (read_block_form): Likewise.
> (next_record_r): Delete wrong code call to hit_eof.
More information about the Gcc-patches
mailing list