This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [Patch][windres] Handle embedded spaces in input filenames
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: 'Binutils' <binutils at sourceware dot org>
- Date: Mon, 05 Feb 2007 19:47:07 +1300
- Subject: RE: [Patch][windres] Handle embedded spaces in input filenames
> -----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