[BusyBox] zcat does not send output to stdout

Torbjörn Axelsson torax at cendio.se
Fri Sep 1 10:43:48 UTC 2000


Package: busybox
Version: 0.47pre (CVS as of Fri Sep  1 12:41:25 CEST 2000)
Severity: normal

Revision 1.22 of zcat does not send output to stdout as it is supposed
to do.

During testing I found that 'zcat -c'  does what is intended.

Just adding one line solved the problem, see below.

BTW: Is this the correct address and format for reports? 
     I somehow suspect I will find something more one of these days.

Keep up the good work!
/Torbjörn Axelsson


[torax at salem busybox]$ cvs diff gunzip.c 
Index: gunzip.c
===================================================================
RCS file: /var/cvs/busybox/gunzip.c,v
retrieving revision 1.22
diff -u -r1.22 gunzip.c
--- gunzip.c    2000/09/01 00:41:10     1.22
+++ gunzip.c    2000/09/01 10:30:13
@@ -582,6 +582,7 @@
 
        if (strcmp(applet_name, "zcat") == 0) {
                force = 1;
+               tostdout = 1;
        }
 
        /* Parse any options */






More information about the busybox mailing list