[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

util.c



Hallo,

die Funktion:

void * msh_realloc(void *ptr, size_t size);

aus der Datei util.c

verhält sich nicht, wie man es erwarten sollte. Siehe: www.opengroup.org/onlinepubs/007904975/functions/realloc.html

Wenn man die Zeile:

assert(ptr && size >= 0);

weglässt, ist alles in Ordnung....

M.