bug-binutils
[Top][All Lists]
Advanced

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

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


From: sattler at mixed-mode dot de
Subject: [Bug binutils/4356] New: windres fails on files with spaces
Date: 13 Apr 2007 14:51:40 -0000

Hi,

Windres is very limited on common windows systems because it cannot handle 
pathes with spaces.
Hint: the default homedir contains spaces

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. Reproducable on command line using DEFAULT_PREPROCESSOR.

HS

-- 
           Summary: windres fails on files with spaces
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: sattler at mixed-mode dot de
                CC: bug-binutils at gnu dot org


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]