changeset 16298:934e44e9f2a5

maint: enable double-word-prohibiting rule * cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word. Exempt three files.
author Jim Meyering <meyering@redhat.com>
date Tue, 17 Jan 2012 18:05:45 +0100
parents 9e763e250026
children 1e8c74a6b668
files ChangeLog cfg.mk
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-17  Jim Meyering  <meyering@redhat.com>
+
+	maint: enable double-word-prohibiting rule
+	* cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word.
+	Exempt three files.
+
 2012-01-17  Jim Meyering  <meyering@redhat.com>
 
 	maint: remove empty lines at EOF, but excluding modules/*
--- a/cfg.mk
+++ b/cfg.mk
@@ -25,7 +25,6 @@
   sc_prohibit_c_ctype_without_use	\
   sc_prohibit_cloexec_without_use	\
   sc_prohibit_dirent_without_use	\
-  sc_prohibit_doubled_word		\
   sc_prohibit_error_without_use		\
   sc_prohibit_getopt_without_use	\
   sc_prohibit_hash_pjw_without_use	\
@@ -57,3 +56,5 @@
 empty-at-EOF = /fr/LC_MESSAGES/test-quotearg\.mo$$|^doc/INSTALL(\.(ISO|UTF-8))?
 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
   ^modules/|^lib/javaversion\.class$$|$(empty-at-EOF)
+exclude_file_name_regexp--sc_prohibit_doubled_word = \
+  ^(tests/test-init\.sh|lib/base(32|64)\.c)$$