ar fails when double-slashes are used in certain paths
Bug #494797 reported by
Nonconventionally Creative
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: binutils
Ubuntu Jaunty, binutils 2.19.1-0ubuntu3
Ubuntu Karmic, binutils 2.20-0ubuntu2
Expected: paths with double slashes work transparently, as in (most) other programs, or at the worst, give a relevant error message.
Actual: paths with double slashes fail silently (i.e. are not included in the archive) or with a bogus error message ("No such file" when it exists).
See attached script for test cases.
Changed in binutils (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
the same happens for paths with plus signs ...
(echo create /build/ buildd/ uboot-imx- 2009.08+ really2009. 01/build/ build-imx51/ post/libpost. a; for lib in ; \
do echo addlib $lib; done; echo save) \
| ar -M
+Syntax error in archive script, line 1