diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-25 10:20:31 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-26 00:09:04 +1100 |
commit | e9dede06e5bc582a4aeb5b1cd5a7a640d7de3609 (patch) | |
tree | f149ff2fb7ff3d427cfd1e7fcee416e7922ada84 /auth-options.h | |
parent | 2eb4041493fd2635ffdc64a852d02b38c4955e0b (diff) |
Handle calloc(0,x) where different from malloc.
Configure assumes that if malloc(0) returns null then calloc(0,n)
also does. On some old platforms (SunOS4) malloc behaves as expected
(as determined by AC_FUNC_MALLOC) but calloc doesn't. Test for this
at configure time and activate the replacement function if found, plus
handle this case in rpl_calloc.
Diffstat (limited to 'auth-options.h')
0 files changed, 0 insertions, 0 deletions