[fpc-devel] AllocMem(0)<>nil

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 25 18:44:59 CET 2008


On 25 Mar 2008, at 18:30, Peter Vreman wrote:

> Current behaviour is compatible with TP7 that gave a valid pointer  
> back pointing to heapend. See
> also the comment.

I thought so too, but I tested and TP7 stores nil in p when doing  
getmem(p,0) (under DosBox).


Jonas



More information about the fpc-devel mailing list