mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 08:43:26 +08:00
re PR libfortran/27757 (Problems with direct access io)
2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/27757 * io/unix.c (fd_seek): Set active to zero. From-SVN: r114220
This commit is contained in:
parent
ae73e07642
commit
22b2be06ec
@ -1,3 +1,8 @@
|
||||
2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libgfortran/27757
|
||||
* io/unix.c (fd_seek): Set active to zero.
|
||||
|
||||
2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libgfortran/27634
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user