From f02102211e3ead3e4318e88eb0f0bedd702bf0a2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 30 Apr 2008 11:57:06 +0200 Subject: 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 e8671bd38..53a124d76 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; } || : -- cgit v1.2.3-70-g09d2