re PR fortran/31366 ([4.2 only] Last record truncated for read after short write...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 1 Apr 2007 15:23:48 +0000 (15:23 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 1 Apr 2007 15:23:48 +0000 (15:23 +0000)
commit138469296cf44b816bfc3dac8693b891151fe166
tree9a9f870b5335d52676fe3c2e37a924b54d23fe1e
parent1732457d7f4e10944f15e4fe7c5943818d81a006
re PR fortran/31366 ([4.2 only] Last record truncated for read after short write, direct access file)

2007-04-01  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.

2007-04-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/31207
* io/unit.c (close_unit_1): If there are bytes previously written from
ADVANCE="no", move to the end before closing.

From-SVN: r123401
libgfortran/ChangeLog
libgfortran/io/transfer.c
libgfortran/io/unit.c