diff top/maint.mk @ 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 7256be967b3a
children 817d5933e56e
line wrap: on
line diff
--- a/top/maint.mk	Sun Jan 29 08:00:40 2012 -0800
+++ b/top/maint.mk	Sun Jan 29 22:30:20 2012 +0100
@@ -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: