re PR libfortran/25835 (Segfault or Bad Address error on unformatted sequential READ)

2006-01-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25835
	* io/transfer.c (st_read_done): Flush buffers when read is done.

From-SVN: r110200
This commit is contained in:
Jerry DeLisle 2006-01-25 01:19:11 +00:00
parent 8dea1ccafe
commit ecc9e67eef
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25835
* io/transfer.c (st_read_done): Flush buffers when read is done.
2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25697

View File

@ -2173,6 +2173,7 @@ export_proto(st_read_done);
void
st_read_done (st_parameter_dt *dtp)
{
flush(dtp->u.p.current_unit->s);
finalize_transfer (dtp);
free_format_data (dtp);
free_ionml (dtp);