re PR libfortran/33985 (access="stream",form="unformatted" doesn't buffer)
2007-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/33985 * io/transfer.c (finalize_transfer): Revert previous patch. From-SVN: r129955
This commit is contained in:
parent
812e8c79b4
commit
31de5c748d
@ -1,3 +1,8 @@
|
||||
2007-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/33985
|
||||
* io/transfer.c (finalize_transfer): Revert previous patch.
|
||||
|
||||
2007-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/33985
|
||||
|
@ -591,7 +591,6 @@ write_buf (st_parameter_dt *dtp, void *buf, size_t nbytes)
|
||||
size_t have_written, to_write_subrecord;
|
||||
int short_record;
|
||||
|
||||
|
||||
/* Stream I/O. */
|
||||
|
||||
if (is_stream_io (dtp))
|
||||
@ -2640,11 +2639,9 @@ finalize_transfer (st_parameter_dt *dtp)
|
||||
if (is_stream_io (dtp))
|
||||
{
|
||||
if (dtp->u.p.current_unit->flags.form == FORM_FORMATTED)
|
||||
{
|
||||
next_record (dtp, 1);
|
||||
flush (dtp->u.p.current_unit->s);
|
||||
sfree (dtp->u.p.current_unit->s);
|
||||
}
|
||||
next_record (dtp, 1);
|
||||
flush (dtp->u.p.current_unit->s);
|
||||
sfree (dtp->u.p.current_unit->s);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user