summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2010-04-02 15:16:43 +0100
committerJames Youngman <jay@gnu.org>2010-04-03 10:08:10 +0100
commit3ec1c93946a073a7d69f548ccc4b8ab70b58834f (patch)
tree83519935bedcda7dfa158ee12656045777b3859d /cfg.mk
parent77b97a0ec40540cf739be6fa8cefb2af59092630 (diff)
downloadfindutils-3ec1c93946a073a7d69f548ccc4b8ab70b58834f.tar.gz
sc_prohibit_strcmp gives false positives when neither argument is a constant, so skip that check
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/cfg.mk b/cfg.mk
index 9b6f8ad4..b43b3e5a 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -24,8 +24,7 @@ skip_dunno = sc_immutable_NEWS sc_makefile_at_at_check \
# Understand, but fix later.
skip_defer = sc_program_name \
- sc_prohibit_magic_number_exit sc_prohibit_stat_st_blocks \
- sc_prohibit_strcmp
+ sc_prohibit_magic_number_exit sc_prohibit_stat_st_blocks
# False positives I don't have a workaround for yet.
# sc_space_tab: several .xo test output files contain this sequence
@@ -47,6 +46,10 @@ skip_blocked_patch = sc_useless_cpp_parens
skip_blocked_notours = \
sc_texinfo_acronym
+# sc_prohibit_strcmp is broken because it gives false positives for cases
+# where neither argument is a string literal.
+skip_broken_checks = sc_prohibit_strcmp
+
local-checks-to-skip = \
$(skip_too_picky) $(skip_dunno) $(false_positives) $(skip_defer) \
- $(mix_positives) $(skip_blocked_patch) $(skip_blocked_notours)
+ $(mix_positives) $(skip_blocked_patch) $(skip_blocked_notours) $(skip_broken_checks)