re PR libfortran/43320 (200.sixtrack fails setup)

2010-03-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/43320
	* io/transfer.c (next_record_r): Add hit_eof based on item_count
	condition.

From-SVN: r157377
This commit is contained in:
Jerry DeLisle 2010-03-11 02:15:33 +00:00
parent 78a50f698f
commit b7137299f1
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-03-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/43320
* io/transfer.c (next_record_r): Add hit_eof based on item_count
condition.
2010-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/43265

View File

@ -2810,6 +2810,8 @@ next_record_r (st_parameter_dt *dtp)
{
if (errno != 0)
generate_error (&dtp->common, LIBERROR_OS, NULL);
else if (dtp->u.p.item_count == 1)
hit_eof (dtp);
break;
}