gcc/libgfortran/io
Hans-Peter Nilsson 25abf44844 re PR libfortran/35293 (truncation errors with gfortran.dg/streamio_11.f90, 3, 4 and 15.)
PR libfortran/35293
	* io/unix.c (fd_truncate): Fold s->special_file case into
	success case of ftruncate/chsize call instead of the failure case.
	Make failure case actually return failure.  Properly update stream
	pointers on failure.  Call runtime_error for targets without
	neither ftruncate nor chsize where such a call would be needed.

From-SVN: r132888
2008-03-05 01:50:33 +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 re PR libfortran/35063 (Clean up use of destroy_unit_mutex()) 2008-03-01 12:46:31 +02:00
unix.c re PR libfortran/35293 (truncation errors with gfortran.dg/streamio_11.f90, 3, 4 and 15.) 2008-03-05 01:50:33 +00:00
write_float.def re PR fortran/35036 (illegal E format descriptor produces wrong output) 2008-02-21 02:20:27 +00:00
write.c write.c (write_real): Increase default precision for 2008-01-18 22:43:08 +01:00