This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, libfortran] Fix for PR 19568, incorrect formatted read


This is bubblestrapped and regtested on i686-pc-linux-gnu.

OK?

	Thomas

2005-01-31  Thomas Koenig <Thomas.Koenig@online.de>

	PR libfortran/19568
	* io/transfer.c (read_sf): set buffer to blank instead of \0.
	If there is an EOR condition, return the blanks.
	* io/transfer.c (next_record_r):  Reset sf_seen_eor when
	advancing to the next record.

	PR libfortran/19568
	formatted_read_1.f90: New test file

Attachment: transfer.c-seen-eor
Description: Text document

Attachment: formatted_read_1.f90
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]