Red Hat Bugzilla – Bug 167614
Doesn't compress zero-sized files even with -f
Last modified: 2007-11-30 17:07:08 EST
$ touch foo
$ compress -f foo
$ ls -l foo.Z
ls: foo.Z: No such file or directory
$ ls -l foo
0 -rw-r--r-- 1 bnocera bnocera 0 Sep 6 11:31 foo
Patch attached below.
Created attachment 118490 [details]
ncompress-4.2.4-zerobyteforce.patch (patch from email@example.com)
easy to reproduce and fix. It's already fixed in RHEL>4
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
Internal Status set to 'Resolved'
Status set to: Closed by Tech
Resolution set to: 'RHEL 3.9'
Ticket type set to: 'Problem'
This event sent from IssueTracker by rchidamb