This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r120512 - in /trunk/libgfortran: ChangeLog io/u...
- From: jvdelisle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 06 Jan 2007 00:14:39 -0000
- Subject: r120512 - in /trunk/libgfortran: ChangeLog io/u...
Author: jvdelisle
Date: Sat Jan 6 00:14:38 2007
New Revision: 120512
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120512
Log:
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.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/unix.c