1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

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.
This commit is contained in:
Paul Eggert
2024-11-03 12:19:33 -08:00
parent 9334b1c63b
commit 9c3ebd3bec
4 changed files with 11 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ lib/malloc.c
Depends-on:
malloc-posix
extensions-aix
xalloc-oversized [test $REPLACE_MALLOC_FOR_MALLOC_GNU = 1]
stdckdint [test $REPLACE_CALLOC_FOR_MALLOC_GNU = 1]
configure.ac:
gl_FUNC_MALLOC_GNU