From f02102211e3ead3e4318e88eb0f0bedd702bf0a2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 30 Apr 2008 11:57:06 +0200 Subject: [PATCH] tests: detect and check more uses of strcmp * maint.mk (sc_prohibit_strcmp): Relax regexp to recognize other formatting styles. --- maint.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maint.mk b/maint.mk index e8671bd..53a124d 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; } || : -- 2.7.4