summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-07-09 01:22:33 +0000
committerRoland McGrath <roland@redhat.com>1993-07-09 01:22:33 +0000
commit3296fa1dffab05e5044b5b7e9b76eaf9f4ef6f2b (patch)
tree20793c357dbd9a05803d6c47763688dd8c2c86e6 /rule.c
parent5a4a5d3160961ec2cc3a5b39c7122560f06a55e2 (diff)
downloadgunmake-3296fa1dffab05e5044b5b7e9b76eaf9f4ef6f2b.tar.gz
Formerly rule.c.~15~
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rule.c b/rule.c
index ea3031a..027aa29 100644
--- a/rule.c
+++ b/rule.c
@@ -183,7 +183,7 @@ convert_suffix_rule (target, source, cmds)
}
names = (char **) xmalloc (2 * sizeof (char *));
- percents = (char **) xmalloc (2 * sizeof (char *));
+ percents = (char **) alloca (2 * sizeof (char *));
names[0] = percents[0] = targname;
names[1] = percents[1] = 0;