I applied the unconditional realloc()...

... I also check the return value of malloc():

if (buff == NULL) {
    perror("Cannot allocate memory!");
    exit(1);
}

Cheers,
Tanguy

Attachment: memstat-0.9.hurd.patch
Description: Binary data

Reply via email to