diff options
author | Matt Kraai <kraai@debian.org> | 2001-05-22 14:23:02 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-05-22 14:23:02 +0000 |
commit | 117231c44f2a6b25b211322b61b192d788917c84 (patch) | |
tree | d2222d5f582332f36bba4ea05ac46ee176e2cb92 /archival | |
parent | 7f7348b7b2ae134d1e958c04b3123b573dec8b70 (diff) | |
download | busybox-117231c44f2a6b25b211322b61b192d788917c84.tar.gz |
Make - read compressed data from stdin (thanks to Marius Groeger).
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gunzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c index 6f5e63d4b..c39814de0 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -110,7 +110,7 @@ extern int gunzip_main(int argc, char **argv) } /* Set input filename and number */ - if (argv[optind] == NULL) { + if (argv[optind] == NULL || strcmp(argv[optind], "-") == 0) { flags |= gunzip_to_stdout; in_file = stdin; } else { |