* top/maint.mk (sc_program_name): Allow arguments other than argv[0]
to be passed to set_program_name(). This is needed by the multicall
coreutils program for example.
---
top/maint.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/top/maint.mk b/top/maint.mk
index 0cc769c..e5a3782 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -711,7 +711,7 @@ sc_changelog:
# Ensure that each .c file containing a "main" function also
# calls set_program_name.
sc_program_name:
- @require='set_program_name *\(m?argv\[0\]\);' \
+ @require='set_program_name *\(.*\);' \
in_vc_files='\.c$$' \
containing='\<main *(' \
halt='the above files do not call set_program_name' \
--
1.7.7.6