bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint.mk: sc_prohibit_canonicalize_without_use: avoid false posi


From: Jim Meyering
Subject: [PATCH] maint.mk: sc_prohibit_canonicalize_without_use: avoid false positive
Date: Sun, 29 Jan 2012 22:32:05 +0100

This is a prerequisite for a coreutils patch I'm about to post:

>From bfb5863e350590d8fe9a643d840c7d0b5f3d934b Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 29 Jan 2012 22:30:20 +0100
Subject: [PATCH] maint.mk: sc_prohibit_canonicalize_without_use: avoid false
 positive

* top/maint.mk (sc_prohibit_canonicalize_without_use): Also
detect uses of canonicalize_file_name.
---
 ChangeLog    |    6 ++++++
 top/maint.mk |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2154aaf..c6a99f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-29  Jim Meyering  <address@hidden>
+
+       maint.mk: sc_prohibit_canonicalize_without_use: avoid false positive
+       * top/maint.mk (sc_prohibit_canonicalize_without_use): Also
+       detect uses of canonicalize_file_name.
+
 2012-01-28  Bruno Haible  <address@hidden>

        test-framework-sh: Fix test failure with AIX 7.1 diff.
diff --git a/top/maint.mk b/top/maint.mk
index 5a23185..be7ba49 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -516,7 +516,7 @@ sc_prohibit_argmatch_without_use:

 sc_prohibit_canonicalize_without_use:
        @h='canonicalize.h' \
-       
re='CAN_(EXISTING|ALL_BUT_LAST|MISSING)|canonicalize_(mode_t|filename_mode)' \
+       
re='CAN_(EXISTING|ALL_BUT_LAST|MISSING)|canonicalize_(mode_t|filename_mode|file_name)'
 \
          $(_sc_header_without_use)

 sc_prohibit_root_dev_ino_without_use:
--
1.7.9.1.g63eb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]