diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2007-01-06 00:14:38 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2007-01-06 00:14:38 +0000 |
commit | 779f39759871fe873c03b063627babb498ea0a14 (patch) | |
tree | a8a46189a39b897342e7ac0bada35eb7b4ad16ee /gcc | |
parent | 59c0753dd31ebc72074a9650182896e0c6f5647a (diff) | |
download | gcc-779f39759871fe873c03b063627babb498ea0a14.zip gcc-779f39759871fe873c03b063627babb498ea0a14.tar.gz gcc-779f39759871fe873c03b063627babb498ea0a14.tar.bz2 |
re PR libfortran/30162 (Document when sequential I/O with named pipes works)
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
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions