Fixed a stupid thinko preventing zcat from doing its job, thanks
authorEric Andersen <andersen@codepoet.org>
Fri, 1 Sep 2000 16:25:33 +0000 (16:25 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 1 Sep 2000 16:25:33 +0000 (16:25 -0000)
to Torbj�rn Axelsson <torax@cendio.se> for the fix.
 -Erik

archival/gunzip.c
gunzip.c

index 9032852ed80818f8c331deaa72bfb359834d1ac7..e31a0f7fb71a51045b7ec8e951db9dd95285059a 100644 (file)
@@ -582,6 +582,7 @@ int gunzip_main(int argc, char **argv)
 
        if (strcmp(applet_name, "zcat") == 0) {
                force = 1;
+               tostdout = 1;
        }
 
        /* Parse any options */
index 9032852ed80818f8c331deaa72bfb359834d1ac7..e31a0f7fb71a51045b7ec8e951db9dd95285059a 100644 (file)
--- a/gunzip.c
+++ b/gunzip.c
@@ -582,6 +582,7 @@ int gunzip_main(int argc, char **argv)
 
        if (strcmp(applet_name, "zcat") == 0) {
                force = 1;
+               tostdout = 1;
        }
 
        /* Parse any options */