gcc/libgfortran/io
Jerry DeLisle 2ea7440786 re PR libfortran/33985 (access="stream",form="unformatted" doesn't buffer)
2007-12-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
	    Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/33985
	* io/transfer.c (read_block, read_block_direct, write_block, write_buf):
	Don't seek if file position is already there for STREAM I/O.
	(finalize_transfer): For STREAM I/O don't flush unless the file position
	has moved past the start position before the transfer.

Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org>

From-SVN: r130574
2007-12-02 23:17:16 +00:00
..
close.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
file_pos.c re PR fortran/33307 (I/O read/positioning problem) 2007-09-07 20:16:05 +00:00
format.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
inquire.c re PR libfortran/33055 (Runtime error in INQUIRE unit existance with -fdefault-integer-8) 2007-10-15 13:59:02 +00:00
intrinsics.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
io.h * io/io.h: Include libgfortran.h first. 2007-09-12 16:20:27 +00:00
list_read.c re PR libfortran/34291 (Segfault in io/list_read.c handling of end conditions) 2007-11-30 23:19:34 +00:00
lock.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
open.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
read.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
size_from_kind.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
transfer.c re PR libfortran/33985 (access="stream",form="unformatted" doesn't buffer) 2007-12-02 23:17:16 +00:00
unit.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
unix.c re PR fortran/33795 (Environment variable GFORTRAN_UNBUFFERED_<number> not working) 2007-10-19 04:10:58 +00:00
write.c re PR libfortran/33469 (Default formats for real input are not precise enough) 2007-10-02 23:27:51 +00:00
write_float.def re PR libfortran/33225 (Missing last digit in some formatted output (on 32bit targets), per kind write_float) 2007-09-05 00:51:18 +00:00