From: Jim Meyering Date: Tue, 17 Jan 2012 17:41:18 +0000 (+0100) Subject: maint: enable sc_prohibit_openat_without_use X-Git-Tag: v0.1~1224 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=141e296490e776bb758ee88616dae79aed0b4006;p=gnulib.git maint: enable sc_prohibit_openat_without_use * cfg.mk: Enable sc_prohibit_openat_without_use. Exempt lib/selinux-at.c. --- diff --git a/ChangeLog b/ChangeLog index 9b472e10a..58b4ef572 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2012-01-17 Jim Meyering + maint: enable sc_prohibit_openat_without_use + * cfg.mk: Enable sc_prohibit_openat_without_use. + Exempt lib/selinux-at.c. + +2012-01-17 Jim Meyering + maint: enable sc_prohibit_cloexec_without_use * cfg.mk: Enable sc_prohibit_cloexec_without_use. * lib/dup-safer-flag.c: Don't include "cloexec.h". Not needed. diff --git a/cfg.mk b/cfg.mk index e15333ceb..f55066e89 100644 --- a/cfg.mk +++ b/cfg.mk @@ -29,7 +29,6 @@ local-checks-to-skip = \ sc_prohibit_have_config_h \ sc_prohibit_inttostr_without_use \ sc_prohibit_magic_number_exit \ - sc_prohibit_openat_without_use \ sc_prohibit_path_max_allocation \ sc_prohibit_reversed_compare_failure \ sc_prohibit_safe_read_without_use \ @@ -55,3 +54,4 @@ 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)$$ +exclude_file_name_regexp--sc_prohibit_openat_without_use = ^lib/selinux-at\.c$$