core_alloc changed to old one
This commit is contained in:
parent
4caf71f5b5
commit
6ac092bf38
1 changed files with 2 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue