[Bug libfortran/26661] Sequential formatted read goes too far
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 26 02:15:00 GMT 2006
------- Comment #4 from jvdelisle at gcc dot gnu dot org 2006-03-26 02:15 -------
Subject: Bug 26661
Author: jvdelisle
Date: Sun Mar 26 02:15:44 2006
New Revision: 112390
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112390
Log:
2006-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/26661
* io/io.h: Add read_sf so it can be used by read_x.
* io/transfer.c (read_sf): Pass no_error flag to read_sf. Use it to
break out rather than error on EOF or EOR conditions.
(read_block): Update call to read_sf.
(read_block_direct): Ditto.
* io/read.c (read_x): Use the modified read_sf instead of read_block.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/io.h
trunk/libgfortran/io/read.c
trunk/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26661
More information about the Gcc-bugs
mailing list