summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2011-06-11 21:03:14 +0100
committerJames Youngman <jay@gnu.org>2011-06-12 02:38:51 +0100
commit6fe013394441dbf44b044c7d6c0e0f2c1b0f9f07 (patch)
treeddd2925fa8cf9104f39105f6afaf9c6d622c85e8
parent28e02ca086250fb8dfdf55a33ebc661f7fa7613d (diff)
downloadfindutils-6fe013394441dbf44b044c7d6c0e0f2c1b0f9f07.tar.gz
Enable syntax check sc_obsolete_symbols.
(exclude_file_name_regexp--sc_obsolete_symbols): Don't check build-aux/src-sniff.py.
-rw-r--r--ChangeLog4
-rw-r--r--cfg.mk6
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index c1af90dc..2be836e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,10 @@
2011-06-11 James Youngman <jay@gnu.org>
+ Enable syntax check sc_obsolete_symbols.
+ (exclude_file_name_regexp--sc_obsolete_symbols): Don't check
+ build-aux/src-sniff.py.
+
Enable more syntax checks, eliminate useless C preprocessor parentheses
* find/defs.h: Eliminate useless parentheses in #if.
* find/find.c (safely_chdir): Likewise.
diff --git a/cfg.mk b/cfg.mk
index a7990499..4c7950ad 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -26,10 +26,8 @@ local-checks-to-skip += sc_makefile_at_at_check
# 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.
-local-checks-to-skip += sc_obsolete_symbols \
- sc_space_tab
-
-
+local-checks-to-skip += sc_space_tab
+exclude_file_name_regexp--sc_obsolete_symbols = build-aux/src-sniff\.py
# Skip sc_two_space_separator_in_usage because it reflects the requirements
# of help2man. It gets run on files that are not help2man inputs, and in