re PR fortran/25264 (write to internal unit from the string itself gives wrong result ?)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 16 Dec 2005 19:32:21 +0000 (19:32 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 16 Dec 2005 19:32:21 +0000 (19:32 +0000)
commit494ef4c25495d4014677388a002715ac2eb018ed
treeed85a1c7eab7de8f4194a119aa77e351e168bcda
parent282b7663e6a1695244b185fbd09e7e993a94c594
re PR fortran/25264 (write to internal unit from the string itself gives wrong result ?)

2005-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25264
PR libgfortran/25349
* io/unit.c (get_unit): Delete code that cleared the string when the
unit was opened, which is too soon.
* io/transfer.c (next_record_w): Pass done flag in.  Change logic for
setting max_pos.  Add code to position unit and pad record as needed.

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