Formerly rule.c.~15~

This commit is contained in:
Roland McGrath 1993-07-09 01:22:33 +00:00
parent 5a4a5d3160
commit 3296fa1dff

2
rule.c
View file

@ -183,7 +183,7 @@ convert_suffix_rule (target, source, cmds)
} }
names = (char **) xmalloc (2 * sizeof (char *)); names = (char **) xmalloc (2 * sizeof (char *));
percents = (char **) xmalloc (2 * sizeof (char *)); percents = (char **) alloca (2 * sizeof (char *));
names[0] = percents[0] = targname; names[0] = percents[0] = targname;
names[1] = percents[1] = 0; names[1] = percents[1] = 0;