From: Paul Eggert Date: Wed, 6 Nov 2024 07:07:09 +0000 (-0800) Subject: eealloc: deprecate X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=671103c702804f673d12dbf9dbd3e3d79f4411ac;p=gnulib.git eealloc: deprecate Now that malloc-gnu and realloc-posix arrange for the various memory allocators to return non-null on success, should be no need for the eealloc module. * NEWS, modules/eealloc: Mention this. --- diff --git a/ChangeLog b/ChangeLog index 23479f4450..fd4a4db560 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2024-11-05 Paul Eggert + eealloc: deprecate + Now that malloc-gnu and realloc-posix arrange for the + various memory allocators to return non-null on success, + should be no need for the eealloc module. + * NEWS, modules/eealloc: Mention this. + relocatable-prog-wrapper: remove eealloc.m4 * modules/relocatable-prog-wrapper (Files): Remove m4/eealloc.m4. It wasn’t being used and evidently was listed only because diff --git a/NEWS b/NEWS index 7c48798dbf..9e08bd1048 100644 --- a/NEWS +++ b/NEWS @@ -74,6 +74,9 @@ User visible incompatible changes Date Modules Changes +2024-11-05 eealloc This module is deprecated. Use malloc-gnu or + realloc-posix instead. + 2024-10-22 spawn-pipe The functions 'create_pipe_out', 'create_pipe_in', 'create_pipe_bidi' now take a 4th argument 'const char * const *dll_dirs'. To maintain the diff --git a/modules/eealloc b/modules/eealloc index fee6d7b013..10ee49c16c 100644 --- a/modules/eealloc +++ b/modules/eealloc @@ -1,6 +1,13 @@ Description: Memory allocation with expensive empty allocations +Status: +deprecated + +Notice: +The eealloc module is deprecated. +New code should use the malloc-gnu and/or realloc-posix modules. + Files: lib/eealloc.h lib/eealloc.c