When ar is asked to act on a file whose path includes the '~' character, ar
rejects this with a syntax error.  E.g.:

(echo create
/build/buildd/u-boot-linaro-2010.09~rc1.1/debian/build/omap4_panda/post/libpost.a;
for lib in   ; \
         do echo addlib $lib; done; echo save) \
        | ar -M
~Syntax error in archive script, line 1

This bug was identified using u-boot, but it's probably reproducible with any
number of pieces of software if built in a parent directory with the appropriate
characteristics.

Patch to follow.

-- 
           Summary: ar rejects filenames containing '~' in the path
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: vorlon at debian dot org
                CC: bug-binutils at gnu dot org,doko at debian dot org


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

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

Reply via email to