Bug 167615

Summary: Doesn't compress zero-sized files even with -f
Product: Red Hat Enterprise Linux 4 Reporter: Bastien Nocera <bnocera>
Component: ncompressAssignee: Peter Vrabec <pvrabec>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: RHEL4U3NAK
Fixed In Version: RHBA-2006-0304 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-26 21:17:24 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: 187538    
Attachments:
Description Flags
ncompress-4.2.4-zerobyteforce.patch (patch by sprabhu@redhat.com) none

Description Bastien Nocera 2005-09-06 10:40:05 UTC
+++ This bug was initially created as a clone of Bug #167614 +++

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

-- Additional comment from bnocera on 2005-09-06 06:38 EST --
Created an attachment (id=118490)
ncompress-4.2.4-zerobyteforce.patch (patch from sprabhu)

Comment 1 Bastien Nocera 2005-09-06 10:40:06 UTC
Created attachment 118491 [details]
ncompress-4.2.4-zerobyteforce.patch (patch by sprabhu)

Comment 9 David Lawrence 2006-04-18 14:41:55 UTC
PASSES_QA status has been deprecated in favor of VERIFIED. Changing status to
VERIFIED.

Comment 11 Red Hat Bugzilla 2006-04-26 21:17: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-2006-0304.html


Comment 12 Issue Tracker 2007-06-17 04:58:58 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