Formerly rule.c.~15~
authorRoland McGrath <roland@redhat.com>
Fri, 9 Jul 1993 01:22:33 +0000 (01:22 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 9 Jul 1993 01:22:33 +0000 (01:22 +0000)
rule.c

diff --git a/rule.c b/rule.c
index ea3031a..027aa29 100644 (file)
--- 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;