gcc/libgfortran/io
Thomas Koenig e08e57d0c5 re PR fortran/31618 ([4.2, 4.1 only] backspace intrinsic is not working on an unformatted file)
2007-04-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/31618
	* io/transfer.c (read_block_direct):  Instead of calling us_read,
	set dtp->u.p.current_unit->current_record = 0 so that pre_position
	will read the record marker.
	(data_transfer_init):  For different error conditions, call
	generate_error, then return.

2007-04-23  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/31618
	* gfortran.dg/backspace_8.f:  New test case.

From-SVN: r124079
2007-04-23 19:43:54 +00:00
..
close.c
file_pos.c
format.c re PR fortran/31395 ([4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash) 2007-04-06 15:39:02 +00:00
inquire.c
intrinsics.c
io.h re PR libfortran/31052 ([4.2 only] Bad IOSTAT values when readings NAMELISTs past EOF) 2007-04-01 17:32:20 +00:00
list_read.c
lock.c
open.c open.c (test_endfile): Revert changes for 31052, restoring this function. 2007-04-15 01:53:43 +00:00
read.c
size_from_kind.c
transfer.c re PR fortran/31618 ([4.2, 4.1 only] backspace intrinsic is not working on an unformatted file) 2007-04-23 19:43:54 +00:00
unit.c re PR fortran/31366 ([4.2 only] Last record truncated for read after short write, direct access file) 2007-04-01 15:23:48 +00:00
unix.c
write.c cpu_time.c: Don't include headers already included by libgfortran.h. 2007-04-06 16:47:23 +00:00