]> Savannah Git Hosting - gnulib.git/commitdiff
eealloc: deprecate
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Nov 2024 07:07:09 +0000 (23:07 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 Nov 2024 07:07:38 +0000 (23:07 -0800)
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.

ChangeLog
NEWS
modules/eealloc

index 23479f4450a2a5126604dca1b05dfb8e98910033..fd4a4db56051f1e3f35dbaf05e7ae1ebb39f5a57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2024-11-05  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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 7c48798dbffff0808dc62399c2ce1132a9640d43..9e08bd104806d214f359572e4e9dd005ccd7651f 100644 (file)
--- 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
index fee6d7b0138ae9b2e679408ca3422aacf6308566..10ee49c16c019d510cebb43b88c8fd6af0bb62b7 100644 (file)
@@ -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