From b3747a6bdb92c042713f0ae03ccf429e1144c8cf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 9 Oct 1992 17:50:59 +0000 Subject: Formerly commands.c.~11~ --- commands.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/commands.c b/commands.c index 21ed9d9..43f5128 100644 --- a/commands.c +++ b/commands.c @@ -159,15 +159,15 @@ set_file_variables (file) len = caret_len == 0 ? 1 : caret_len; if (caretD_len == 0) caretD_len = 1; - cp = caret_value = (char *) xmalloc (len); - cDp = caretD_value = (char *) xmalloc (caretD_len); - cFp = caretF_value = (char *) xmalloc (len); + cp = caret_value = (char *) alloca (len); + cDp = caretD_value = (char *) alloca (caretD_len); + cFp = caretF_value = (char *) alloca (len); len = qmark_len == 0 ? 1 : qmark_len; if (qmarkD_len == 0) qmarkD_len = 1; - qp = qmark_value = (char *) xmalloc (len); - qDp = qmarkD_value = (char *) xmalloc (qmarkD_len); - qFp = qmarkF_value = (char *) xmalloc (len); + qp = qmark_value = (char *) alloca (len); + qDp = qmarkD_value = (char *) alloca (qmarkD_len); + qFp = qmarkF_value = (char *) alloca (len); for (d = file->deps; d != 0; d = d->next) { -- cgit v1.2.3