Hans-Peter Diettrich wrote:
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.
Since the resulting pointer of a realloc isn't guarantied the same as the source pointer, I don't see a problem in reallocing nil.
Marc _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel