This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31366] [4.2 only] Last record truncated for read after short write, direct access file
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2007 04:35:52 -0000
- Subject: [Bug fortran/31366] [4.2 only] Last record truncated for read after short write, direct access file
- References: <bug-31366-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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