fixed problem with ReOrganize
This commit is contained in:
parent
1347076988
commit
3fec1232da
|
@ -203,7 +203,7 @@ IMPLEMENTATION MODULE Storage;
|
|||
BEGIN
|
||||
a:= MyAllocate(size);
|
||||
IF a # NIL THEN
|
||||
DEALLOCATE(a, size);
|
||||
Deallocate(a, size);
|
||||
RETURN TRUE;
|
||||
END;
|
||||
RETURN FALSE;
|
||||
|
@ -324,9 +324,12 @@ IMPLEMENTATION MODULE Storage;
|
|||
BNEXT := Llist;
|
||||
Llist := b;
|
||||
END;
|
||||
b := ADDRESS(b) + (BSIZE+1) * UNIT;
|
||||
ELSE
|
||||
b := ADDRESS(b) +
|
||||
((BSIZE + (UNIT - 1)) DIV UNIT + 1) * UNIT;
|
||||
END;
|
||||
END;
|
||||
b := ADDRESS(b) + (b^.BSIZE+1) * UNIT;
|
||||
END;
|
||||
END ReOrganize;
|
||||
|
||||
|
|
Loading…
Reference in a new issue