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