[Bug fortran/25264] write to internal unit from the string itself gives wrong result ?
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 16 19:32:00 GMT 2005
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2005-12-16 19:32 -------
Subject: Bug 25264
Author: jvdelisle
Date: Fri Dec 16 19:32:21 2005
New Revision: 108671
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108671
Log:
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.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/transfer.c
trunk/libgfortran/io/unit.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25264
More information about the Gcc-bugs
mailing list