From: ceriel Date: Thu, 21 May 1987 10:10:27 +0000 (+0000) Subject: core_alloc changed to old one X-Git-Tag: release-5-5~4104 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6ac092bf38c0ac35a74500ce666e218133199f11;p=ack.git core_alloc changed to old one --- diff --git a/util/led/memory.c b/util/led/memory.c index 781c16248..acf8e5cc0 100644 --- a/util/led/memory.c +++ b/util/led/memory.c @@ -482,15 +482,8 @@ core_alloc(piece, size) { register ind_t off; - if ((off = alloc(piece, size)) == BADOFF) { - int sv = alloctype; - - alloctype = FORCED; - off = alloc(piece, size); - alloctype = sv; - if (off == BADOFF) - return (char *)0; - } + if ((off = alloc(piece, size)) == BADOFF) + return (char *)0; return address(piece, off); }