On 12/30/11 12:54, Jim Meyering wrote:
> You may want to simply exempt those two files from that check.
Yes, something like this should do the trick I expect
(it includes your later suggestion). I'll wait a bit for
more comments, then I intend to push all this, and as a later
patch Paolo's suggestion about lowercasing function names.
diff --git a/cfg.mk b/cfg.mk
index d7cb9c4..309ee23 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -63,7 +63,10 @@ update-copyright-env = \
UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79
exclude_file_name_regexp--sc_bindtextdomain = ^tests/get-mb-cur-max\.c$$
+exclude_file_name_regexp--sc_prohibit_strcmp = /colorize-impl\.c$$
exclude_file_name_regexp--sc_prohibit_xalloc_without_use = ^src/kwset\.c$$
exclude_file_name_regexp--sc_prohibit_tab_based_indentation = \
(Makefile|\.(am|mk)$$|^gl/lib/.*\.c\.diff$$)
+exclude_file_name_regexp--sc_require_config_h = ^lib/colorize\.c$$
+exclude_file_name_regexp--sc_require_config_h_first = ^lib/colorize\.c$$
exclude_file_name_regexp--sc_space_tab = ^gl/lib/.*\.c\.diff$$