1 # This file is used via the maint.mk-using rule in Makefile.
3 local-checks-to-skip
= \
7 sc_cast_of_alloca_return_value \
8 sc_cast_of_argument_to_free \
9 sc_cast_of_x_alloc_return_value \
10 sc_error_message_period \
11 sc_error_message_uppercase \
14 sc_makefile_TAB_only_indentation \
15 sc_makefile_at_at_check \
16 sc_makefile_path_separator_check \
19 sc_prohibit_HAVE_MBRTOWC \
20 sc_prohibit_S_IS_definition \
21 sc_prohibit_always_true_header_tests \
22 sc_prohibit_always-defined_macros \
23 sc_prohibit_atoi_atof \
24 sc_prohibit_c_ctype_without_use \
25 sc_prohibit_dirent_without_use \
26 sc_prohibit_error_without_use \
27 sc_prohibit_getopt_without_use \
28 sc_prohibit_have_config_h \
29 sc_prohibit_inttostr_without_use \
30 sc_prohibit_magic_number_exit \
31 sc_prohibit_path_max_allocation \
32 sc_prohibit_reversed_compare_failure \
33 sc_prohibit_safe_read_without_use \
34 sc_prohibit_signal_without_use \
35 sc_prohibit_stat_st_blocks \
36 sc_prohibit_stddef_without_use \
37 sc_prohibit_stdio--_without_use \
39 sc_prohibit_strings_without_use \
40 sc_prohibit_undesirable_word_seq \
41 sc_prohibit_xalloc_without_use \
43 sc_require_config_h_first \
46 sc_two_space_separator_in_usage \
47 sc_unmarked_diagnostics \
50 empty-at-EOF
= /fr
/LC_MESSAGES
/test-quotearg\.mo
$$|^doc
/INSTALL
(\.
(ISO|UTF-8
))?
51 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF
= \
52 ^modules
/|^lib
/javaversion\.class
$$|
$(empty-at-EOF
)
53 exclude_file_name_regexp--sc_prohibit_doubled_word
= \
54 ^
(tests
/test-init\.sh|lib
/base
(32|
64)\.c
)$$
55 exclude_file_name_regexp--sc_prohibit_openat_without_use
= ^lib
/selinux-at\.c
$$
56 exclude_file_name_regexp--sc_trailing_blank
= \
57 ^
(.
*\.class|build-aux
/texinfo\.
tex|doc
/Copyright
/assign\.future\.manual
)$$
59 # Disable strncpy prohibition completely, for now.
60 exclude_file_name_regexp--sc_prohibit_strncpy
= .
*
62 if_before_free_offenders_
= \
74 if_before_free_basename_re_
= \
75 $(shell printf
'%s\n' '$(if_before_free_offenders_)' \
76 |sed
's|\.c\>||g'|tr
-s
'[\n[:space:]]' '|')
78 exclude_file_name_regexp--sc_avoid_if_before_free
= \
79 ^lib
/($(if_before_free_basename_re_
))\.c
$$
81 exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests
= \
82 ^lib
/((error|getopt|strtoimax
)\.c|
(argp-namefrob
)\.h
)$$