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'(?