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

Vincent Snijders vsnijders at quicknet.nl
Tue Mar 25 18:54:30 CET 2008


Jonas Maebe schreef:
> 
> 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).

But AllocMem(0)?

Vincent



More information about the fpc-devel mailing list