From ff9af635b0cc91d5b17e09d322e1fa84d16bc0be Mon Sep 17 00:00:00 2001 From: James Youngman Date: Fri, 2 Apr 2010 15:27:35 +0100 Subject: [PATCH] Enable syntax checker sc_the_the, detecting doubled 'the'. * cfg.mk (false_positives): Enable syntax checker sc_the_the * build-aux/src-sniff.py (checkers): Avoid false positive with sc_the_the. Signed-off-by: James Youngman --- ChangeLog | 5 +++++ build-aux/src-sniff.py | 2 +- cfg.mk | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 71b8dc35..535d1fc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-04-02 James Youngman + Enable syntax checker sc_the_the, detecting doubled 'the'. + * cfg.mk (false_positives): Enable syntax checker sc_the_the + * build-aux/src-sniff.py (checkers): Avoid false positive with + sc_the_the. + Avoid false positives for sc_prohibit_atoi_atof. * find/util.c (set_option_defaults): Avoid false positive with sc_prohibit_atoi_atof. diff --git a/build-aux/src-sniff.py b/build-aux/src-sniff.py index 9d26f0b5..cfd98c09 100644 --- a/build-aux/src-sniff.py +++ b/build-aux/src-sniff.py @@ -96,7 +96,7 @@ checkers = [ [r'HAVE''_CONFIG_H', "Avoid checking HAVE_CONFIG_H"], # [r'HAVE_FCNTL_H', "Avoid checking HAVE_FCNTL_H"], [r'O_NDELAY', "Avoid using O_NDELAY"], - [r'the *the', "'the the' is probably not deliberate"], + [r'the *the', "'the"+" the' is probably not deliberate"], [r'(?