diff options
author | Denis Vlasenko | 2006-12-16 23:49:13 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-16 23:49:13 +0000 |
commit | 9f739445cd3deddd0343c3a8d5a981ede26bef30 (patch) | |
tree | 6dc013e44d2281eb1e6f61c4bca1ae7546001f79 /archival/uncompress.c | |
parent | a597aaddfa76d589d3e1a37b1f1c3401c2decffd (diff) | |
download | busybox-9f739445cd3deddd0343c3a8d5a981ede26bef30.zip busybox-9f739445cd3deddd0343c3a8d5a981ede26bef30.tar.gz |
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
Diffstat (limited to 'archival/uncompress.c')
-rw-r--r-- | archival/uncompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/uncompress.c b/archival/uncompress.c index 3c78961..4611790 100644 --- 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; - if (strcmp(compressed_file, "-") == 0) { + if (LONE_DASH(compressed_file)) { src_fd = STDIN_FILENO; flags |= GUNZIP_TO_STDOUT; } else { |