projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updates from both Vladimir and Larry
[oweals/busybox.git]
/
gunzip.c
diff --git
a/gunzip.c
b/gunzip.c
index 6f5e63d4b824bfb8124bd8621d4f3de414c6321a..c39814de05218f4227242b693869d03efdeb514c 100644
(file)
--- a/
gunzip.c
+++ b/
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 {