gcc/libgfortran/io
Jerry DeLisle b9983d610a re PR fortran/44477 (Sequential I/O with END FILE: File position should be at EoF)
2010-06-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/44477
	* io/file_pos.c (st_endfile): Add check for ENDFILE when file is
	already positioned after the EOF marker. Use find_or_create_unit
	instead of find_unit. If unit is not connected, connect it and create 
	the file with default settings.
	* io/transfer.c (data_transfer_init):  Add check for attempted READ or
	WRITE when file is already positioned after the EOF marker.

From-SVN: r161020
2010-06-19 00:58:28 +00:00
..
close.c Split up io/io.h 2009-11-02 23:52:59 +02:00
fbuf.c Remove free_mem 2010-05-07 18:55:59 +03:00
fbuf.h Move includes after include guards 2009-11-19 22:23:03 +02:00
file_pos.c re PR fortran/44477 (Sequential I/O with END FILE: File position should be at EoF) 2010-06-19 00:58:28 +00:00
format.c Remove free_mem 2010-05-07 18:55:59 +03:00
format.h Move includes after include guards 2009-11-19 22:23:03 +02:00
inquire.c transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
intrinsics.c PR libfortran/43605 FTELL intrinsic, take 2. 2010-04-01 23:51:45 +03:00
io.h transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
list_read.c Remove free_mem 2010-05-07 18:55:59 +03:00
lock.c Remove free_mem 2010-05-07 18:55:59 +03:00
open.c Remove free_mem 2010-05-07 18:55:59 +03:00
read.c transfer.c: Update copyright. 2010-04-01 18:22:00 +00:00
size_from_kind.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
transfer.c re PR fortran/44477 (Sequential I/O with END FILE: File position should be at EoF) 2010-06-19 00:58:28 +00:00
unit.c Remove free_mem 2010-05-07 18:55:59 +03:00
unix.c Remove free_mem 2010-05-07 18:55:59 +03:00
unix.h Fix typo in symbol visibility specification 2010-05-08 17:43:32 +03:00
write.c Remove free_mem 2010-05-07 18:55:59 +03:00
write_float.def Remove free_mem 2010-05-07 18:55:59 +03:00