Make - read compressed data from stdin (thanks to Marius Groeger).
This commit is contained in:
parent
7f7348b7b2
commit
117231c44f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user