Make - read compressed data from stdin (thanks to Marius Groeger).
This commit is contained in:
1 parent
7f7348b7b2
commit
117231c44f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user