]> Savannah Git Hosting - gnulib.git/commit
safe-alloc: simplify, given new reallocarray behavior
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2024 06:24:29 +0000 (22:24 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Nov 2024 06:25:08 +0000 (22:25 -0800)
commit064110be61987a8ec32f53e705b3a3562571bff4
tree7aa3460aa73b8a34b7defe09b104b24cf750f02f
parent56e88183f3e910c45fd3af555fe3475aef58e050
safe-alloc: simplify, given new reallocarray behavior

* lib/safe-alloc.h [__CHERI_PURE_CAPABILITY__]:
Remove special cases for this, as reallocarray
now does it for us.
(safe_alloc_realloc_n): Remove.  All uses replaced by reallocarray.
ChangeLog
lib/safe-alloc.h