From: Jim Meyering Date: Tue, 1 Jun 2004 13:00:28 +0000 (+0000) Subject: (main): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'. X-Git-Tag: v5.3.0~1443 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4db0764f1ac769d70fa7e8743849f4887b615e39;p=thirdparty%2Fcoreutils.git (main): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'. --- diff --git a/src/sort.c b/src/sort.c index 1761ad335e..522b799bc4 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2408,7 +2408,7 @@ main (int argc, char **argv) break; case 'o': - if (outfile != minus && strcmp (outfile, optarg) != 0) + if (outfile != minus && !STREQ (outfile, optarg)) error (SORT_FAILURE, 0, _("multiple output files specified")); outfile = optarg; break;