PR libgfortran/29563
* io/list_read.c (next_char): Fix an error in previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118063
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/29563
+ * io/list_read.c (next_char): Fix an error in previous commit.
+
2006-10-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/29563
/* Check for "end-of-record" condition. */
if (dtp->u.p.current_unit->bytes_left == 0)
{
+ c = '\n';
record = next_array_record (dtp, dtp->u.p.current_unit->ls);
/* Check for "end-of-file" condition. */
if (record == 0)
{
dtp->u.p.at_eof = 1;
- c = '\n';
goto done;
}
longjmp (*dtp->u.p.eof_jump, 1);
dtp->u.p.current_unit->bytes_left = dtp->u.p.current_unit->recl;
+ goto done;
}
}