summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-09-01 16:25:33 +0000
committerEric Andersen2000-09-01 16:25:33 +0000
commit73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5 (patch)
tree6e12b9b38ce54572e3bc1cd6e0e63954bc4cf5b4
parent3a957b9d4cc102c155b6217dd0cc57f09dcc1d8d (diff)
downloadbusybox-73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5.zip
busybox-73bdf13d35ef618f9f5e63a1d3928fb5f68a20f5.tar.gz
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.c1
-rw-r--r--gunzip.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 9032852..e31a0f7 100644
--- a/archival/gunzip.c
+++ b/archival/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 */
diff --git a/gunzip.c b/gunzip.c
index 9032852..e31a0f7 100644
--- 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 */