projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a bit more IPv6-ization work
[oweals/busybox.git]
/
archival
/
uncompress.c
diff --git
a/archival/uncompress.c
b/archival/uncompress.c
index 3c78961d579b7a9094c35f241b4e4e8757593649..4611790168dc9de568f5361b2d26928f9f7dcb84 100644
(file)
--- a/
archival/uncompress.c
+++ b/
archival/uncompress.c
@@
-25,7
+25,7
@@
int uncompress_main(int argc, char **argv)
int src_fd;
int dst_fd;
int src_fd;
int dst_fd;
- if (
strcmp(compressed_file, "-") == 0
) {
+ if (
LONE_DASH(compressed_file)
) {
src_fd = STDIN_FILENO;
flags |= GUNZIP_TO_STDOUT;
} else {
src_fd = STDIN_FILENO;
flags |= GUNZIP_TO_STDOUT;
} else {