mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 15:51:08 +08:00
re PR libfortran/25463 (T edit descriptor and ADVANCE="no")
2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25463 * io/transfer.c (finalize_transfer): Fix execution order so that next_record is set to zero in all cases. From-SVN: r108784
This commit is contained in:
parent
57b3c68ec5
commit
0a73639369
@ -1,3 +1,9 @@
|
||||
2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libgfortran/25463
|
||||
* io/transfer.c (finalize_transfer): Fix execution order so that
|
||||
next_record is set to zero in all cases.
|
||||
|
||||
2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libgfortran/25264
|
||||
|
@ -2017,6 +2017,7 @@ finalize_transfer (st_parameter_dt *dtp)
|
||||
finish_list_read (dtp);
|
||||
else
|
||||
{
|
||||
dtp->u.p.current_unit->current_record = 0;
|
||||
if (dtp->u.p.advance_status == ADVANCE_NO || dtp->u.p.seen_dollar)
|
||||
{
|
||||
/* Most systems buffer lines, so force the partial record
|
||||
@ -2027,7 +2028,6 @@ finalize_transfer (st_parameter_dt *dtp)
|
||||
}
|
||||
|
||||
next_record (dtp, 1);
|
||||
dtp->u.p.current_unit->current_record = 0;
|
||||
}
|
||||
|
||||
sfree (dtp->u.p.current_unit->s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user