[Bug fortran/31366] [4.2 only] Last record truncated for read after short write, direct access file
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 04:36:00 GMT 2007
------- Comment #15 from jvdelisle at gcc dot gnu dot org 2007-04-18 05:35 -------
Subject: Bug 31366
Author: jvdelisle
Date: Wed Apr 18 05:35:41 2007
New Revision: 123940
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123940
Log:
2007-04-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/31366
* io/transfer.c (read_block_direct): Do not generate error when reading
past EOF on a short record that is less than the RECL= specified.
Modified:
branches/gcc-4_2-branch/libgfortran/ChangeLog
branches/gcc-4_2-branch/libgfortran/io/transfer.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31366
More information about the Gcc-bugs
mailing list