Barath Aron wrote:
What system implements a realloc() which does not work if ptr is null pointer?

I think the main problem area here is realloc (NULL, 0), where POSIX does not completely specify the behavior but GNU does. Only very ancient systems have problems with realloc (NULL, x) when x is nonzero.

Reply via email to