core_alloc changed to old one
This commit is contained in:
parent
b967391120
commit
976f101776
@ -482,15 +482,8 @@ core_alloc(piece, size)
|
|||||||
{
|
{
|
||||||
register ind_t off;
|
register ind_t off;
|
||||||
|
|
||||||
if ((off = alloc(piece, size)) == BADOFF) {
|
if ((off = alloc(piece, size)) == BADOFF)
|
||||||
int sv = alloctype;
|
return (char *)0;
|
||||||
|
|
||||||
alloctype = FORCED;
|
|
||||||
off = alloc(piece, size);
|
|
||||||
alloctype = sv;
|
|
||||||
if (off == BADOFF)
|
|
||||||
return (char *)0;
|
|
||||||
}
|
|
||||||
return address(piece, off);
|
return address(piece, off);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user