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 9032852..e31a0f7 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 9032852..e31a0f7 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 */