bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4356] windres fails on files with spaces


From: nickc at redhat dot com
Subject: [Bug binutils/4356] windres fails on files with spaces
Date: 20 Apr 2007 13:24:15 -0000

------- Additional Comments From nickc at redhat dot com  2007-04-20 14:24 
-------
Subject: Re:  New: windres fails on files with spaces

Hi HS,

> This does not seem to be fixed in latest CVS because the error is most 
> obviously in binutils/resrc.c (and similar) in function read_rc_file() and 
> look_for_default():
> sprintf (cmd, "%s %s %s", preprocessor, preprocargs, filename);
> 
> The filename argument MUST be surrounded by "", thus this line should read:
> sprintf (cmd, "%s %s \"%s\"", preprocessor, preprocargs, filename);
> 
> Easy fix, I'd say.

Would you like to submit a patch that does this then ?

> Reproducable on command line using DEFAULT_PREPROCESSOR.

Please could you provide an example of such a command line ?

Cheers
   Nick




-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4356

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]