Bug 167614

Summary: Doesn't compress zero-sized files even with -f
Product: Red Hat Enterprise Linux 3 Reporter: Bastien Nocera <bnocera>
Component: ncompressAssignee: Peter Vrabec <pvrabec>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: dkovalsk, tao
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: NdRvw,RHEL3U7NAK
Fixed In Version: RHBA-2007-0413 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-11 18:52:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 190430    
Attachments:
Description Flags
ncompress-4.2.4-zerobyteforce.patch (patch from sprabhu@redhat.com) none

Description Bastien Nocera 2005-09-06 10:38:11 UTC
$ 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.

Comment 1 Bastien Nocera 2005-09-06 10:38:12 UTC
Created attachment 118490 [details]
ncompress-4.2.4-zerobyteforce.patch (patch from sprabhu)

Comment 6 Peter Vrabec 2006-10-30 13:11:10 UTC
easy to reproduce and fix. It's already fixed in RHEL>4

Comment 13 Red Hat Bugzilla 2007-06-11 18:52:25 UTC
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.

http://rhn.redhat.com/errata/RHBA-2007-0413.html


Comment 14 Issue Tracker 2007-06-17 04:58:56 UTC
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 
 issue 79196