summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-10-29 21:50:48 +0000
committerRoland McGrath <roland@redhat.com>1993-10-29 21:50:48 +0000
commit38abf5e6c456811d752365ef3aa67a85b51e0160 (patch)
treeb7d30f0f7bd5ef230dd67d4a7f2e58c636fcaa22 /function.c
parent58c146fa50c77e8c8c6afec3a60df7bac66521a2 (diff)
downloadgunmake-38abf5e6c456811d752365ef3aa67a85b51e0160.tar.gz
Formerly function.c.~31~
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 0552cd1..e543a91 100644
--- a/function.c
+++ b/function.c
@@ -527,7 +527,7 @@ expand_function (o, function, text, end)
{
if (wordi >= nwords - 1)
{
- nwords += 5;
+ nwords *= 2;
words = (char **) xrealloc ((char *) words,
nwords * sizeof (char *));
}