2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/30162 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as s->file_length == -1. (fd_alloc_w_at): Do not adjust file_length if file is not seekable. (fd_seek): If not seekable, just return success. (fd_truncate): If not seekable, no need to truncate. Return failure if seek fails and the stream is not a pipe. (fd_to_stream): Make test for non-seekable file more robust. From-SVN: r120512
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
config | Loading commit data... | |
generated | Loading commit data... | |
intrinsics | Loading commit data... | |
io | Loading commit data... | |
m4 | Loading commit data... | |
runtime | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog-2002 | Loading commit data... | |
ChangeLog-2003 | Loading commit data... | |
ChangeLog-2004 | Loading commit data... | |
ChangeLog-2005 | Loading commit data... | |
ChangeLog-2006 | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
acinclude.m4 | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
c99_protos.h | Loading commit data... | |
config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
configure.host | Loading commit data... | |
fmain.c | Loading commit data... | |
libgfortran.h | Loading commit data... | |
libtool-version | Loading commit data... | |
mk-kinds-h.sh | Loading commit data... | |
mk-sik-inc.sh | Loading commit data... | |
mk-srk-inc.sh | Loading commit data... |