re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF)
2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/31052 * io/transfer.c (next_record_r): Do not call test_endfile if in namelist mode. From-SVN: r123284
This commit is contained in:
parent
9f363d2ac2
commit
f70ddc12ec
|
@ -1,3 +1,9 @@
|
||||||
|
2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
|
PR libgfortran/31052
|
||||||
|
* io/transfer.c (next_record_r): Do not call test_endfile if in namelist
|
||||||
|
mode.
|
||||||
|
|
||||||
2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||||
|
|
||||||
PR libgfortran/31199
|
PR libgfortran/31199
|
||||||
|
|
|
@ -2228,7 +2228,8 @@ next_record_r (st_parameter_dt *dtp)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dtp->u.p.current_unit->flags.access == ACCESS_SEQUENTIAL)
|
if (dtp->u.p.current_unit->flags.access == ACCESS_SEQUENTIAL
|
||||||
|
&& !dtp->u.p.namelist_mode)
|
||||||
test_endfile (dtp->u.p.current_unit);
|
test_endfile (dtp->u.p.current_unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue