PR libfortran/31880
* io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124588
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31880
+ * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
+
2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR libfortran/31607
if (n < 0)
return NULL;
- s->physical_offset = where + n;
+ s->physical_offset = m + n;
s->active += n;
}
else
if (do_read (s, s->buffer + s->active, &n) != 0)
return NULL;
- s->physical_offset = where + n;
+ s->physical_offset = m + n;
s->active += n;
}