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/gzip.c | |
parent | a597aaddfa76d589d3e1a37b1f1c3401c2decffd (diff) |
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index c9b67538e..7124e9bd4 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1201,7 +1201,7 @@ int gzip_main(int argc, char **argv) char *path = NULL; clear_bufs(); - if (strcmp(argv[i], "-") == 0) { + if (LONE_DASH(argv[i])) { time_stamp = 0; inFileNum = STDIN_FILENO; outFileNum = STDOUT_FILENO; |