History log of /openbsd-src/lib/libc/stdlib/recallocarray.c (Results 1 – 2 of 2)
Revision Date Author Comments
# 2cb7cdfc 18-Mar-2021 claudio <claudio@openbsd.org>

Type-cast getpagesize() from int to size_t for the comparison with d.
getpagesize() will only return positive numbers (there is no negative
page size system) and it can not fail.
Should fix some comp

Type-cast getpagesize() from int to size_t for the comparison with d.
getpagesize() will only return positive numbers (there is no negative
page size system) and it can not fail.
Should fix some compiler warnings seen in -portable projects.
OK otto@

show more ...


# 3f0eb563 06-Mar-2017 otto <otto@openbsd.org>

Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)
with the added feature that released memory is cleared. Much input from various
developers. ok deraadt@ tom@