Paul Eggert <[EMAIL PROTECTED]> wrote: > Ronald Landheer-Cieslak <[EMAIL PROTECTED]> writes: > >> I have never (so far) tried to allocate a block of 0 bytes willingly > > In that case you don't need those macros. They're mainly useful for > programs that want malloc(0) to return a nonnull pointer.
Another reason to use at least AC_FUNC_REALLOC (and one that motivated me to write the macros and replacement functions) is that on some systems, realloc (p, n) fails when P is NULL.
