[patch, libgfortran] PR45710 Adjust format and padding for WRITE of NAMELIST group to internal file

Jerry DeLisle jvdelisle@frontier.com
Wed Sep 22 04:30:00 GMT 2010


Hi,

This patch pads the end of records with ' ' for internal character unit arrays. 
The patch is fairly obvious.  Code borrowed from transfer.c.

Regression tested ob x86-64.

OK for trunk.

I will also add a test case.

Regards,

Jerry

2010-09-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/45710
	* io/write.c (namelist_write_newline): Pad character array internal
	unit records with spaces.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr45710.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100922/000d0450/attachment.ksh>


More information about the Fortran mailing list