diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-16 23:49:13 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-16 23:49:13 +0000 |
commit | 9f739445cd3deddd0343c3a8d5a981ede26bef30 (patch) | |
tree | 6dc013e44d2281eb1e6f61c4bca1ae7546001f79 /archival/gunzip.c | |
parent | a597aaddfa76d589d3e1a37b1f1c3401c2decffd (diff) | |
download | busybox-w32-9f739445cd3deddd0343c3a8d5a981ede26bef30.tar.gz busybox-w32-9f739445cd3deddd0343c3a8d5a981ede26bef30.tar.bz2 busybox-w32-9f739445cd3deddd0343c3a8d5a981ede26bef30.zip |
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
Diffstat (limited to 'archival/gunzip.c')
-rw-r--r-- | archival/gunzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c index e24401c71..c5deec3ce 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c | |||
@@ -58,7 +58,7 @@ int gunzip_main(int argc, char **argv) | |||
58 | 58 | ||
59 | optind++; | 59 | optind++; |
60 | 60 | ||
61 | if (old_path == NULL || strcmp(old_path, "-") == 0) { | 61 | if (old_path == NULL || LONE_DASH(old_path)) { |
62 | src_fd = STDIN_FILENO; | 62 | src_fd = STDIN_FILENO; |
63 | opt |= GUNZIP_OPT_STDOUT; | 63 | opt |= GUNZIP_OPT_STDOUT; |
64 | USE_DESKTOP(opt &= ~GUNZIP_OPT_VERBOSE;) | 64 | USE_DESKTOP(opt &= ~GUNZIP_OPT_VERBOSE;) |