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] --- coreutils/uudecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/uudecode.c') diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 8b7de74ff..06512119e 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c @@ -166,7 +166,7 @@ int uudecode_main(int argc, char **argv) } outname++; } - if (strcmp(outname, "-") == 0) { + if (LONE_DASH(outname)) { dst_stream = stdout; } else { dst_stream = xfopen(outname, "w"); -- cgit v1.2.3