[gfortran,patch] Correctly NULL-terminate character constant strings
François-Xavier Coudert
fxcoudert@gmail.com
Tue Oct 31 11:24:00 GMT 2006
:ADDPATCH fortran:
Hi all,
Attached patch corrects a few functions which did not correctly
NULL-terminate value.character.string for CHARACTER constants.
Although it appears that this NULL-termination was not required when
the front-end was first written, a few places now rely on it, and I
don't think it's too bad to accomodate them. I've tried to review and
fix not only the problem in the original PR, but all other such
places.
OK for mainline, 4.2 and 4.1?
FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr29067.ChangeLog
Type: application/octet-stream
Size: 392 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061031/e79d896b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr29067.diff
Type: text/x-patch
Size: 2048 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061031/e79d896b/attachment.bin>
More information about the Fortran
mailing list