From 9f739445cd3deddd0343c3a8d5a981ede26bef30 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 16 Dec 2006 23:49:13 +0000 Subject: inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] --- archival/gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/gzip.c') 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; -- cgit v1.2.3