changed behaviour of Allocate(..., 0)
This commit is contained in:
parent
943a2dc793
commit
25ddfd7bad
@ -67,7 +67,7 @@ IMPLEMENTATION MODULE Storage;
|
||||
END;
|
||||
nu := (size + (UNIT-1)) DIV UNIT;
|
||||
IF nu = 0 THEN
|
||||
RETURN NIL;
|
||||
nu := 1;
|
||||
END;
|
||||
IF nu <= NLISTS THEN
|
||||
b := nu;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user