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, libgfortran] PR45710 Adjust format and padding for WRITE of NAMELIST group to internal file


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.

Attachment: pr45710.diff
Description: Text document


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