This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r161020 - in /trunk/libgfortran: ChangeLog io/f...
- From: jvdelisle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 19 Jun 2010 00:58:28 -0000
- Subject: r161020 - in /trunk/libgfortran: ChangeLog io/f...
Author: jvdelisle
Date: Sat Jun 19 00:58:28 2010
New Revision: 161020
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161020
Log:
2010-06-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/44477
* io/file_pos.c (st_endfile): Add check for ENDFILE when file is
already positioned after the EOF marker. Use find_or_create_unit
instead of find_unit. If unit is not connected, connect it and create
the file with default settings.
* io/transfer.c (data_transfer_init): Add check for attempted READ or
WRITE when file is already positioned after the EOF marker.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/file_pos.c
trunk/libgfortran/io/transfer.c