Summary: | windres: problem compiling resource containing & in filename | ||
---|---|---|---|
Product: | binutils | Reporter: | Marek Januszewski <spec> |
Component: | binutils | Assignee: | unassigned |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-binutils |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | i686-pc-cygwin | Target: | |
Build: | Last reconfirmed: |
Description
Marek Januszewski
2004-11-30 03:58:58 UTC
The problem arises when windres invokes the preprocessor. By default windres just calls popen, and when the arguments include file names with special characters like '&', the wrong thing happens. The --use-temp-file option may fix this. Otherwise, you need to patch open_input_stream() in binutils/resrc.c to do appropriate quoting. Hi Marek, This PR should now be resolved. A patch to resrec.c has recently been checked in which should ensure that filenames are properly quoted. Cheers Nick |