[Patch][windres] Handle embedded spaces in input filenames

Danny Smith dannysmith@clear.net.nz
Mon Feb 5 08:08:00 GMT 2007



> -----Original Message-----
> From: Christopher Faylor 
>
>>The problem is that these option args are passed to prepocessor
without
>>the enclosing quotes. Fixed like so:

> I can't check right now but is this because windres is using system to
> call the preprocessor rather than calling fork/exec?  If so, wouldn't
it
> be better to just use execvp?

The preprocessor cmd string -- which is built by concat of the various
windres args -- is run using pexecute. This, in turn, uses
CreateProcess.

Danny

cgf



More information about the Binutils mailing list