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




_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to