changeset 16331:2f966fea20dc

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.
author Jim Meyering <meyering@redhat.com>
date Sun, 29 Jan 2012 22:30:20 +0100
parents ebf9253dd5e0
children 1f8299e68189
files ChangeLog top/maint.mk
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -516,7 +516,7 @@
 
 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: