1# This file is used via the maint.mk-using rule in Makefile. 2 3local-checks-to-skip = \ 4 sc_GFDL_version \ 5 sc_GPL_version \ 6 sc_bindtextdomain \ 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 \ 12 sc_immutable_NEWS \ 13 sc_m4_quote_check \ 14 sc_makefile_TAB_only_indentation \ 15 sc_makefile_at_at_check \ 16 sc_makefile_path_separator_check \ 17 sc_obsolete_symbols \ 18 sc_program_name \ 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 \ 38 sc_prohibit_strcmp \ 39 sc_prohibit_strings_without_use \ 40 sc_prohibit_undesirable_word_seq \ 41 sc_prohibit_xalloc_without_use \ 42 sc_require_config_h \ 43 sc_require_config_h_first \ 44 sc_space_tab \ 45 sc_texinfo_acronym \ 46 sc_two_space_separator_in_usage \ 47 sc_unmarked_diagnostics \ 48 sc_useless_cpp_parens 49 50empty-at-EOF = /fr/LC_MESSAGES/test-quotearg\.mo$$|^doc/INSTALL(\.(ISO|UTF-8))? 51exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \ 52 ^modules/|^lib/javaversion\.class$$|$(empty-at-EOF) 53exclude_file_name_regexp--sc_prohibit_doubled_word = \ 54 ^(tests/test-init\.sh|lib/base(32|64)\.c)$$ 55exclude_file_name_regexp--sc_prohibit_openat_without_use = ^lib/selinux-at\.c$$ 56exclude_file_name_regexp--sc_trailing_blank = \ 57 ^(.*\.class|build-aux/texinfo\.tex|doc/Copyright/assign\.future\.manual)$$ 58 59# Disable strncpy prohibition completely, for now. 60exclude_file_name_regexp--sc_prohibit_strncpy = .* 61 62if_before_free_offenders_ = \ 63 clean-temp.c \ 64 csharpcomp.c \ 65 free.c \ 66 fstrcmp.c \ 67 gl_carray_list.c \ 68 glob.c \ 69 glthread/lock.c \ 70 propername.c \ 71 relocatable.c \ 72 vasnprintf.c 73 74if_before_free_basename_re_ = \ 75 $(shell printf '%s\n' '$(if_before_free_offenders_)' \ 76 |sed 's|\.c\>||g'|tr -s '[\n[:space:]]' '|') 77 78exclude_file_name_regexp--sc_avoid_if_before_free = \ 79 ^lib/($(if_before_free_basename_re_))\.c$$ 80 81exclude_file_name_regexp--sc_prohibit_defined_have_decl_tests = \ 82 ^lib/((error|getopt|strtoimax)\.c|(argp-namefrob)\.h)$$ 83