gcc/libgfortran/runtime
Thomas Koenig 8a7f7fb6de re PR libfortran/29627 ([4.1 only] partial unformatted reads shouldn't succeed)
2006-10-31  Thomas Koenig  <Thomas.Koenig@online.de>

	PR libfortran/29627
	* libgfortran.h: Add ERROR_SHORT_RECORD
	* runtime/error.c (translate_error): Add case
	for ERROR_SHORT_RECORD.
	* io/transfer.c (read_block_direct):  Separate codepaths
	for stream and record unformatted I/O.  Remove unneeded
	tests for standard input, padding and formatted I/O.
	If the record is short, read in as much data as possible,
	then raise the error.

2006-10-31  Thomas Koenig  <Thomas.Koenig@online.de>

	PR libfortran/29627
	* gfortran.dg/unf_short_record_1.f90:  New test.

From-SVN: r118341
2006-10-31 20:58:26 +00:00
..
compile_options.c [multiple changes] 2006-03-22 19:09:11 +00:00
environ.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
error.c re PR libfortran/29627 ([4.1 only] partial unformatted reads shouldn't succeed) 2006-10-31 20:58:26 +00:00
fpu.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
in_pack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
in_unpack_generic.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
main.c re PR libfortran/22298 (libgfortran init() constructor isn't called if executable is statically linked) 2005-11-04 08:44:29 +00:00
memory.c in_pack.m4: Fixed a typo. 2006-10-18 19:17:49 +02:00
pause.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
select.c All files: Update FSF address. 2005-08-17 02:49:08 +00:00
stop.c re PR fortran/14943 (read/write code generation is not thread safe) 2005-11-21 23:03:56 +01:00
string.c re PR fortran/29452 (Keyword check for specifiers in WRITE and READ) 2006-10-30 19:22:47 +01:00