From: Jim Meyering Date: Wed, 19 Jun 1996 04:22:28 +0000 (+0000) Subject: (parse_ls_color): Use STREQ here instead of strcmp(...) == 0. X-Git-Tag: TEXTUTILS-1_18a~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3c3d0b385565d3d71fee5c7d0d0b4fd69c7a149;p=thirdparty%2Fcoreutils.git (parse_ls_color): Use STREQ here instead of strcmp(...) == 0. --- diff --git a/src/ls.c b/src/ls.c index d9ac4120ff..f97fddd8a2 100644 --- a/src/ls.c +++ b/src/ls.c @@ -1376,7 +1376,7 @@ parse_ls_color (void) { for (ind_no = 0; indicator_name[ind_no] != NULL; ++ind_no) { - if (strcmp (label, indicator_name[ind_no]) == 0) + if (STREQ (label, indicator_name[ind_no])) { color_indicator[ind_no].string = buf; state = ((color_indicator[ind_no].len =