Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-27 | Check for and handle calloc(p, 0) = NULL. | Darren Tucker | |
On some platforms (AIX, maybe others) allocating zero bytes of memory via the various *alloc functions returns NULL, which is permitted by the standards. Autoconf has some macros for detecting this (with the exception of calloc for some reason) so use these and if necessary activate shims for them. ok djm@ |