bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 3/8] maint: enable double-word-prohibiting rule


From: Jim Meyering
Subject: [PATCH 3/8] maint: enable double-word-prohibiting rule
Date: Tue, 17 Jan 2012 19:05:54 +0100

From: Jim Meyering <address@hidden>

* cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word.
Exempt three files.
---
 ChangeLog |    5 +++++
 cfg.mk    |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fa86239..2873ddb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-01-17  Jim Meyering  <address@hidden>

+       maint: enable double-word-prohibiting rule
+       * cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word.
+       Exempt three files.
+
        maint: remove empty lines at EOF, but excluding modules/*
        Apply syntax rules at home as well as abroad.  Most changes
        were induced by running this:
@@ -8,6 +12,7 @@
            | xargs perl -pi -0777 -e 's/\n\n+$/\n/'
        * cfg.mk (local-checks-to-skip): Enable sc_prohibit_empty_lines_at_EOF.
        Exempt modules/* and two binary files.
+
        * doc/regexprops-generic.texi: *Add* a newline at EOF.  There was none.
        * doc/Copyright/assign.translation.manual: Remove empty lines at EOF.
        * doc/Copyright/request-assign.future: Likewise.
diff --git a/cfg.mk b/cfg.mk
index 6b734e9..2c6a0d1 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -25,7 +25,6 @@ local-checks-to-skip =                        \
   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     \
@@ -56,3 +55,5 @@ local-checks-to-skip =                        \

 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
   ^modules/|^lib/javaversion\.class$$|/fr/LC_MESSAGES/test-quotearg\.mo$$
+exclude_file_name_regexp--sc_prohibit_doubled_word = \
+  ^(tests/test-init\.sh|lib/base(32|64)\.c)$$
-- 
1.7.9.rc1.2.gccfe4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]