diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 3ecabcd06abe..227f61b2b556 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2006-05-29 Jerry DeLisle + + PR libgfortran/27757 + * io/unix.c (fd_seek): Set active to zero. + 2006-05-29 Jerry DeLisle PR libgfortran/27634 diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 93f4ea692d3d..560047f88f8e 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -569,6 +569,7 @@ fd_seek (unix_stream * s, gfc_offset offset) } s->physical_offset = s->logical_offset = offset; + s->active = 0; return (lseek (s->fd, offset, SEEK_SET) < 0) ? FAILURE : SUCCESS; }