[bintutils windres]: Allow \0 in stringtable strings

Nick Clifton nickc@redhat.com
Mon Oct 24 09:05:00 GMT 2011


Hi Kai,

> 2011-10-18  Kai Tietz<ktietz@redhat.com>
>
> 	* winduni.h (unicode_from_ascii_len): New prototype.
> 	* winduni.c (unicode_from_ascii_len): New function.
> 	* windres.h (define_stringtable): Add additional length argument.
> 	* windres.c (define_stringtable): Add length argument for string.
> 	* rcparse.y (res_unicode_sizedstring): New rule.
> 	(res_unicode_sizedstring_concat): Likewise.
> 	(string_data): Adjust rule.
> 	* testsuite/binutils-all/windres/strtab4.rc: New test.
> 	* testsuite/binutils-all/windres/strtab4.rsd: Likewise.

Approved - please apply.

Cheers
   Nick




More information about the Binutils mailing list