[BusyBox 0006314]: BusyBox 1.12.2: gzip/gunzip ignore "-c" option

bugs at busybox.net bugs at busybox.net
Wed Nov 12 23:11:50 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=6314 
====================================================================== 
Reported By:                niemidc
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   6314
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             11-12-2008 08:42 PST
Last Modified:              11-12-2008 15:11 PST
====================================================================== 
Summary:                    BusyBox 1.12.2: gzip/gunzip ignore "-c" option
Description: 
The -c option to gzip worked fine in 1.11.3 but is silently ignored in
1.12.2, making very commonly used gzip command lines fail in strange ways.
 For example:
gzip -cd foo.tar.gz | tar xvfp -
tar: short read
Meanwhile foo.tar.gz has been gunzipped and is sitting at foo.tar.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 11-12-08 14:05  
---------------------------------------------------------------------- 
Does this help?

http://busybox.net/downloads/fixes-1.12.2/busybox-1.12.2-getopt.patch 

---------------------------------------------------------------------- 
 niemidc - 11-12-08 15:11  
---------------------------------------------------------------------- 
Yes, the attached getopt patch appears to solve the problem.  Commands like
this work again:
gzip -cd foo.tar.gz | tar xvfp -

Is this a patch to fix a more widespread bug? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-12-08 08:42  niemidc        New Issue                                    
11-12-08 08:42  niemidc        Status                   new => assigned     
11-12-08 08:42  niemidc        Assigned To               => BusyBox         
11-12-08 08:45  niemidc        Issue Monitored: niemidc                     
11-12-08 14:05  vda            Note Added: 0015574                          
11-12-08 15:11  niemidc        Note Added: 0015674                          
======================================================================




More information about the busybox-cvs mailing list