gcc/libgfortran/io
Jerry DeLisle e32883d1a2 re PR libfortran/35132 (Formatted stream I/O write should truncate)
2008-02-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/35132
	* io/transfer.c (next_record_w): Truncate after the last record for
	STREAM I/O.

	PR libfortran/34954
	* io/transfer.c (data_transfer_init): Initialize dtp->rec if writing.

	PR libfortran/34974
	* io/transfer.c (formatted_transfer_scalar): Flush the buffer if skips
	is less than zero. (next_record_w): Use sseek to position the file to
	the max position reached.

From-SVN: r132512
2008-02-21 02:27:07 +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 libfortran/34370 (file positioning after nonadvancing i/o) 2007-12-13 19:35:09 +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 inquire.c (inquire_via_unit): If a unit is opened... 2008-01-20 06:33:49 +00:00
intrinsics.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
io.h re PR fortran/34565 (internal write to string array fails) 2008-01-03 19:49:38 +00:00
list_read.c re PR fortran/34676 (IO error delayed) 2008-01-05 16:00:40 +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/34411 (hang-up during read of non-expected input) 2007-12-11 03:49:52 +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/35132 (Formatted stream I/O write should truncate) 2008-02-21 02:27:07 +00:00
unit.c [multiple changes] 2008-02-10 18:06:34 +00:00
unix.c inquire.c (inquire_via_unit): If a unit is opened... 2008-01-20 06:33:49 +00:00
write.c write.c (write_real): Increase default precision for 2008-01-18 22:43:08 +01:00
write_float.def re PR fortran/35036 (illegal E format descriptor produces wrong output) 2008-02-21 02:20:27 +00:00