]> Savannah Git Hosting - gnulib.git/commit
realloc-gnu: Replace module with an alias to realloc-posix.
authorBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2024 23:18:35 +0000 (00:18 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2024 23:18:35 +0000 (00:18 +0100)
commit6659e016165ccc95e2dedd8f3805d33efa783e41
treee4beb02ece947e63799232f4f8507c412524e88d
parentc36a0f21b310fc62cbc3946a124a9f5b9230b465
realloc-gnu: Replace module with an alias to realloc-posix.

* tests/test-realloc-posix.c: Renamed from tests/test-realloc-gnu.c. Add
more tests, not yet activated.
* modules/realloc-posix-tests: Renamed from modules/realloc-gnu-tests.
Test test-realloc-posix instead of test-realloc-gnu.
* modules/realloc-gnu: Mark as a deprecated alias of 'realloc-posix'.
* lib/stdlib.in.h (realloc): Ignore GNULIB_REALLOC_GNU.
* modules/stdlib (Makefile.am): Don't substitute GNULIB_REALLOC_GNU,
REPLACE_REALLOC_FOR_REALLOC_GNU.
* m4/stdlib_h.m4 (gl_STDLIB_H_REQUIRE_DEFAULTS): Don't initialize
GNULIB_REALLOC_GNU.
(gl_STDLIB_H_DEFAULTS): Don't initialize
REPLACE_REALLOC_FOR_REALLOC_GNU.
* m4/realloc.m4 (gl_FUNC_REALLOC_GNU): Remove macro.
* m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): Update comment.
* doc/posix-functions/realloc.texi: Remove description of module
'realloc-gnu'.
* MODULES.html.sh (Memory management functions <stdlib.h>): Remove
realloc-gnu. Add realloc-posix.
13 files changed:
ChangeLog
MODULES.html.sh
doc/posix-functions/realloc.texi
lib/stdlib.in.h
m4/malloc.m4
m4/realloc.m4
m4/stdlib_h.m4
modules/realloc-gnu
modules/realloc-gnu-tests [deleted file]
modules/realloc-posix-tests [new file with mode: 0644]
modules/stdlib
tests/test-realloc-gnu.c [deleted file]
tests/test-realloc-posix.c [new file with mode: 0644]