mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
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 <jay@gnu.org>
This commit is contained in:
parent
3ec1c93946
commit
ff9af635b0
@ -1,5 +1,10 @@
|
||||
2010-04-02 James Youngman <jay@gnu.org>
|
||||
|
||||
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.
|
||||
|
||||
@ -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'(?<!\w)error \([^_"]*[^_]"[^"]*[a-z]{3}', "untranslated error message"],
|
||||
[r'^# *if\s+defined *\(', "useless parentheses in '#if defined'"],
|
||||
|
||||
|
||||
2
cfg.mk
2
cfg.mk
@ -29,7 +29,7 @@ skip_defer = sc_program_name \
|
||||
# False positives I don't have a workaround for yet.
|
||||
# sc_space_tab: several .xo test output files contain this sequence
|
||||
# for testing xargs's handling of white space.
|
||||
false_positives = sc_obsolete_symbols sc_prohibit_cvs_keyword sc_the_the \
|
||||
false_positives = sc_obsolete_symbols sc_prohibit_cvs_keyword \
|
||||
sc_two_space_separator_in_usage \
|
||||
sc_space_tab
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user