Paul Ishenin schrieb:

I noticed today that if I want to allocate 0 bytes I get not a nil but a valid pointer. Why?

This will allow for a following Realloc.

Even in Delphi the behaviour may be subject to the installed memory manager.

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to