[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/8] maint: enable sc_prohibit_openat_without_use
From: |
Jim Meyering |
Subject: |
[PATCH 7/8] maint: enable sc_prohibit_openat_without_use |
Date: |
Tue, 17 Jan 2012 19:05:58 +0100 |
From: Jim Meyering <address@hidden>
* cfg.mk: Enable sc_prohibit_openat_without_use.
Exempt lib/selinux-at.c.
---
ChangeLog | 4 ++++
cfg.mk | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a85f74e..ec42f95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2012-01-17 Jim Meyering <address@hidden>
+ maint: enable sc_prohibit_openat_without_use
+ * cfg.mk: Enable sc_prohibit_openat_without_use.
+ Exempt lib/selinux-at.c.
+
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 67d660f..71da114 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 \
@@ -54,3 +53,4 @@ 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)$$
+exclude_file_name_regexp--sc_prohibit_openat_without_use = ^lib/selinux-at\.c$$
--
1.7.9.rc1.2.gccfe4
- run syntax-check rules on gnulib's own sources, Jim Meyering, 2012/01/17
- [PATCH 6/8] maint: enable sc_prohibit_cloexec_without_use, Jim Meyering, 2012/01/17
- [PATCH 5/8] maint: enable sc_prohibit_intprops_without_use, Jim Meyering, 2012/01/17
- [PATCH 8/8] maint: enable sc_trailing_blank, Jim Meyering, 2012/01/17
- [PATCH 7/8] maint: enable sc_prohibit_openat_without_use,
Jim Meyering <=
- [PATCH 1/8] maint: add framework to run syntax-check rules against gnulib sources, Jim Meyering, 2012/01/17
- [PATCH 3/8] maint: enable double-word-prohibiting rule, Jim Meyering, 2012/01/17
- [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/17
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Bruno Haible, 2012/01/17
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/17
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Bruno Haible, 2012/01/17
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Karl Berry, 2012/01/17
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Jim Meyering, 2012/01/18
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Paul Eggert, 2012/01/17
- Re: [PATCH 2/8] maint: remove empty lines at EOF, but excluding modules/*, Bruno Haible, 2012/01/17