I applied the unconditional realloc()... ... I also check the return value of malloc():
if (buff == NULL) {
perror("Cannot allocate memory!");
exit(1);
}
Cheers,
Tanguy
memstat-0.9.hurd.patch
Description: Binary data
I applied the unconditional realloc()... ... I also check the return value of malloc():
if (buff == NULL) {
perror("Cannot allocate memory!");
exit(1);
}
Cheers,
Tanguy
memstat-0.9.hurd.patch
Description: Binary data