bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/5529] New: windres rejects paths in rc files


From: gordon dot magnusson at gmail dot com
Subject: [Bug binutils/5529] New: windres rejects paths in rc files
Date: 29 Dec 2007 23:04:03 -0000

windres 2.18.50 contains the following regression relative to 2.17.50:

C:\demo>dir /s /b
C:\demo\foo
C:\demo\quux.rc
C:\demo\windres-2.17.50-20060824.exe
C:\demo\windres-2.18.50-20071123.exe
C:\demo\foo\bar.txt

C:\demo>type quux.rc
bar.txt eieio foo/bar.txt

C:\demo>type foo\bar.txt
anything

C:\demo>ren windres-2.17.50-20060824.exe windres.exe

C:\demo>.\windres --version
GNU windres 2.17.50 20060824
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

C:\demo>.\windres quux.rc quux1.o

C:\demo>ren windres.exe windres-2.17.50-20060824.exe

C:\demo>ren windres-2.18.50-20071123.exe windres.exe

C:\demo>.\windres --version
GNU windres (GNU Binutils) 2.18.50.20071123
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

C:\demo>.\windres quux.rc quux2.o
.\windres: can't open file `foo': Permission denied

Both windres executables were downloaded from mingw.org. windres-2.17.50-
20060824.exe contains MinGW-specific patches, but windres-2.18.50-20071123.exe 
was built from plain FSF sources.

Chris Sutcliffe has confirmed that this bug is present in the binutils 2.18.50-
20071229 snapshot (see 
http://article.gmane.org/gmane.comp.gnu.mingw.user/24972 ).

-- 
           Summary: windres rejects paths in rc files
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: gordon dot magnusson at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


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

------- 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]