]> Savannah Git Hosting - gnulib.git/commit
dynarray: prefer C23 style overflow checking
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 May 2023 16:06:57 +0000 (09:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 May 2023 18:21:18 +0000 (11:21 -0700)
commita1d7a312646ec112140f4a3e112daac2194549df
tree6ee6795b7f26cf42664ff6d377c94e7ca5eb6ba6
parente915c32cc74671a03a4f656bdbbe9b8103a5ff19
dynarray: prefer C23 style overflow checking

* lib/malloc/dynarray_emplace_enlarge.c, lib/malloc/dynarray_resize.c:
Include stdckdint.h, not intprops.h.
* lib/malloc/dynarray_emplace_enlarge.c:
(__libc_dynarray_emplace_enlarge):
* lib/malloc/dynarray_resize.c (__libc_dynarray_resize):
Prefer stdckdint.h to intprops.h macros.
* modules/glibc-internal/dynarray (Depends-on):
Depend on stdckdint, not intprops.
ChangeLog
lib/malloc/dynarray_emplace_enlarge.c
lib/malloc/dynarray_resize.c
modules/glibc-internal/dynarray