Branch
Hash :
e94aad0c
Author :
Date :
2025-07-13T00:43:36
safe-alloc: make obsolete and remove REALLOC_N Problem reported by Vivien Kraus in: https://lists.gnu.org/r/bug-gnulib/2025-07/msg00073.html This module never caught on. * lib/safe-alloc.h (REALLOC_N): Remove. * modules/safe-alloc: Now obsolete. * tests/test-safe-alloc.c (main): Remove REALLOC_N test.
Description:
A set of macros to make calls to alloc/calloc/realloc safer.
Status:
obsolete
Notice:
This module is obsolete.
Files:
lib/safe-alloc.h
lib/safe-alloc.c
m4/safe-alloc.m4
Depends-on:
calloc-gnu
extern-inline
reallocarray
configure.ac:
gl_SAFE_ALLOC
Makefile.am:
lib_SOURCES += safe-alloc.c
Include:
"safe-alloc.h"
License:
LGPLv2+
Maintainer:
David Lutterkort