Make - read compressed data from stdin (thanks to Marius Groeger).

This commit is contained in:
Matt Kraai committed 2001-05-22 14:23:02 +00:00
1 parent 7f7348b7b2
commit 117231c44f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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 {