diff options
author | Roland McGrath <roland@redhat.com> | 1992-10-09 17:50:59 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-10-09 17:50:59 +0000 |
commit | b3747a6bdb92c042713f0ae03ccf429e1144c8cf (patch) | |
tree | 8ef0515069fee510101a029368b9831a931d4886 | |
parent | 112dd3508d9e1c0cbe33d047e613d77dc248b2ff (diff) | |
download | gunmake-b3747a6bdb92c042713f0ae03ccf429e1144c8cf.tar.gz |
Formerly commands.c.~11~
-rw-r--r-- | commands.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) { |