maint.mk: sc_prohibit_canonicalize_without_use: avoid false positive
authorJim Meyering <meyering@redhat.com>
Sun, 29 Jan 2012 21:30:20 +0000 (22:30 +0100)
committerJim Meyering <meyering@redhat.com>
Sun, 29 Jan 2012 21:31:12 +0000 (22:31 +0100)
* top/maint.mk (sc_prohibit_canonicalize_without_use): Also
detect uses of canonicalize_file_name.

ChangeLog
top/maint.mk

index 2154aaf..c6a99f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-29  Jim Meyering  <meyering@redhat.com>
+
+       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  <bruno@clisp.org>
 
        test-framework-sh: Fix test failure with AIX 7.1 diff.
index 5a23185..be7ba49 100644 (file)
@@ -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: