[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] maint.mk: give projects more flexibilty in set_prog_name argumen
From: |
Pádraig Brady |
Subject: |
[PATCH] maint.mk: give projects more flexibilty in set_prog_name arguments |
Date: |
Sat, 12 Jul 2014 15:25:21 +0100 |
* 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] maint.mk: give projects more flexibilty in set_prog_name arguments,
Pádraig Brady <=