From a1d7a312646ec112140f4a3e112daac2194549df Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 1 May 2023 09:06:57 -0700 Subject: 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0b8e61c123..3528faf40e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2023-05-01 Paul Eggert + 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. + mktime: prefer C23 style overflow checking Prefer stdckdint.h macros to intprops.h macros where either will do, as this is the C23 standard. Also, it ports around a pcc bug. -- cgit v1.2.1