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/gunzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival/gunzip.c') 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) optind++; - if (old_path == NULL || strcmp(old_path, "-") == 0) { + if (old_path == NULL || LONE_DASH(old_path)) { src_fd = STDIN_FILENO; opt |= GUNZIP_OPT_STDOUT; USE_DESKTOP(opt &= ~GUNZIP_OPT_VERBOSE;) -- cgit v1.2.3