------- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils