gcc/libgfortran/io
Jerry DeLisle 779f397598 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
2007-01-06 00:14:38 +00:00
..
close.c re PR fortran/28335 (flush() / write() statement on closed units - error?) 2006-07-31 00:15:08 +00:00
file_pos.c re PR libfortran/29568 (implement unformatted files with subrecords (Intel style)) 2006-12-01 21:04:38 +00:00
format.c re PR libfortran/27704 (Incorrect runtime error on multiple OPEN) 2006-07-04 01:36:31 +00:00
inquire.c re PR fortran/29053 (Consecutive STREAM I/O file positions mixed up) 2006-09-15 13:16:15 +00:00
io.h re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) 2006-12-28 01:40:23 +00:00
list_read.c re PR fortran/29563 (Internal read loses data.) 2006-10-26 07:17:21 +00:00
lock.c
open.c re PR libfortran/30005 (Open errors (not/already exists etc.): show also the file name) 2006-12-05 00:51:26 +00:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c
transfer.c re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) 2006-12-28 01:40:23 +00:00
unit.c re PR fortran/29563 (Internal read loses data.) 2006-10-26 04:35:45 +00:00
unix.c re PR libfortran/30162 (Document when sequential I/O with named pipes works) 2007-01-06 00:14:38 +00:00
unix.h
write.c re PR fortran/29277 (Formated stream output: Translate "\n" / achar(10) into "\r\n" on some platforms) 2006-10-18 23:13:33 +00:00