re PR fortran/28339 (gfortran misses a record from a format statement)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 22 Jul 2006 03:14:27 +0000 (03:14 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 22 Jul 2006 03:14:27 +0000 (03:14 +0000)
commit397bc09a6539e72c1e93b7e9fa48870037ba5136
tree46c726c03cdacc28c36000c52ab2b61a3090e6a7
parent105395ad98c7d9c0141603aa84773af5dd08a461
re PR fortran/28339 (gfortran misses a record from a format statement)

2006-07-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/28339
* io/transfer.c (next_record_w): Use next_array_record result to set
END_FILE. (write_block): Test for END_FILE before the next write occurs.
* io/unit.c (get_internal_unit): Initialize iunit->endfile for internal
unit.

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