diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-01 16:25:33 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-01 16:25:33 +0000 |
commit | 73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5 (patch) | |
tree | 6e12b9b38ce54572e3bc1cd6e0e63954bc4cf5b4 | |
parent | 3a957b9d4cc102c155b6217dd0cc57f09dcc1d8d (diff) | |
download | busybox-w32-73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5.tar.gz busybox-w32-73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5.tar.bz2 busybox-w32-73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5.zip |
Fixed a stupid thinko preventing zcat from doing its job, thanks
to Torbj�rn Axelsson <torax@cendio.se> for the fix.
-Erik
-rw-r--r-- | archival/gunzip.c | 1 | ||||
-rw-r--r-- | gunzip.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c index 9032852ed..e31a0f7fb 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c | |||
@@ -582,6 +582,7 @@ int gunzip_main(int argc, char **argv) | |||
582 | 582 | ||
583 | if (strcmp(applet_name, "zcat") == 0) { | 583 | if (strcmp(applet_name, "zcat") == 0) { |
584 | force = 1; | 584 | force = 1; |
585 | tostdout = 1; | ||
585 | } | 586 | } |
586 | 587 | ||
587 | /* Parse any options */ | 588 | /* Parse any options */ |
@@ -582,6 +582,7 @@ int gunzip_main(int argc, char **argv) | |||
582 | 582 | ||
583 | if (strcmp(applet_name, "zcat") == 0) { | 583 | if (strcmp(applet_name, "zcat") == 0) { |
584 | force = 1; | 584 | force = 1; |
585 | tostdout = 1; | ||
585 | } | 586 | } |
586 | 587 | ||
587 | /* Parse any options */ | 588 | /* Parse any options */ |