From: Jim Meyering Date: Wed, 30 Apr 2008 09:57:06 +0000 (+0200) Subject: tests: detect and check more uses of strcmp X-Git-Tag: v6.12~67 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f02102211e3ead3e4318e88eb0f0bedd702bf0a2;p=thirdparty%2Fcoreutils.git tests: detect and check more uses of strcmp * maint.mk (sc_prohibit_strcmp): Relax regexp to recognize other formatting styles. --- diff --git a/maint.mk b/maint.mk index e8671bd38b..53a124d76c 100644 --- a/maint.mk +++ b/maint.mk @@ -131,7 +131,7 @@ sc_prohibit_atoi_atof: # Use STREQ rather than comparing strcmp == 0, or != 0. sc_prohibit_strcmp: - @grep -nE '! *str''cmp \(|\&2; exit 1; } || :