summaryrefslogtreecommitdiff
path: root/expand.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-01-11 07:31:42 +0000
committerPaul Smith <psmith@gnu.org>2000-01-11 07:31:42 +0000
commitb7b83d6398e8e552dd1b9d70d18d7262753e03d4 (patch)
treecd93d86916bbfca0bac321a121ad67dcd6eb37df /expand.c
parentaf44f16799fa185e2729cda1653c80d29b598642 (diff)
downloadgunmake-b7b83d6398e8e552dd1b9d70d18d7262753e03d4.tar.gz
* Change $(call...) to not expand arguments by default.
* Unify the way arguments are passed to builtin functions in function.c.
Diffstat (limited to 'expand.c')
-rw-r--r--expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index 0387368..a7cfcdb 100644
--- a/expand.c
+++ b/expand.c
@@ -424,7 +424,7 @@ expand_argument (str, end)
{
char *tmp;
- if (*end == '\0')
+ if (!end || *end == '\0')
tmp = str;
else
{