Hash :
9334b1c6
Author :
Date :
2024-11-03T11:11:03
calloc: depend on stdckdint not xalloc-oversized * lib/calloc.c: Include stdckdint.h, xalloc-oversized.h. (rpl_calloc): Use ckd_mul instead of xalloc_oversized. * modules/calloc-gnu, modules/calloc-posix: (Depends-on): Depend on stdckdint, not xalloc-oversized.
Description:
calloc() function: allocate memory with indefinite extent.
Files:
lib/calloc.c
m4/calloc.m4
m4/malloc.m4
Depends-on:
stdckdint [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
stdlib
configure.ac:
gl_FUNC_CALLOC_POSIX
if test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1; then
AC_LIBOBJ([calloc])
fi
gl_STDLIB_MODULE_INDICATOR([calloc-posix])
Makefile.am:
Include:
<stdlib.h>
License:
LGPLv2+
Maintainer:
all