#1876 closed defect (fixed)
gzexe posix tail
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
$ cp /bin/ls . $ gzexe ./ls ./ls: 54.6% $ gzexe -d ./ls tail: cannot open `+22' for reading: No such file or directory
I think we need to:
sed 's/tail +/tail -n +/' -i gzexe
in Gzip's source.
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Wow, then I actually read your testcase properly and saw the 'gzip -d' invocation. Sorry about that. Bug report confirmed!
Note:
See TracTickets
for help on using tickets.
Robert,
Having had a cursory glance at /usr/bin/gzexe, I'd agree with you (see lines 120 and 150). However, your testcase doesn't trigger the warning on my machine and I can't figure out why. I don't have POSIXLY_CORRECT or _POSIX2_VERSION defined in my environment, but they shouldn't be required, IIUC. What version of gzip and coreutils do you have installed?