History log of /netbsd-src/lib/libc/stdlib/reallocarray.c (Results 1 – 12 of 12)
Revision Date Author Comments
# dd8db245 28-Oct-2022 wiz <wiz@NetBSD.org>

put reallocarray() in the public namespace

reallocarray() will be part of the next POSIX release, see
https://austingroupbugs.net/view.php?id=1218

adapt an errno value to match POSIX expectations

put reallocarray() in the public namespace

reallocarray() will be part of the next POSIX release, see
https://austingroupbugs.net/view.php?id=1218

adapt an errno value to match POSIX expectations

As discussed on tech-userlevel

show more ...


# 02b62279 26-Feb-2021 christos <christos@NetBSD.org>

arrange for tools build


# c5b83981 04-Jan-2018 kamil <kamil@NetBSD.org>

Add bunch of missing includes of namespace.h in libc

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall n

Add bunch of missing includes of namespace.h in libc

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

This change eliminates usage of the global changes of the following symbols:
- strlcat -> _strlcat
- sysconf -> __sysconf
- closedir -> _closedir
- fparseln -> _fparseln
- kill -> _kill
- mkstemp -> _mkstemp
- reallocarr -> _reallocarr
- strcasecmp -> _strcasecmp
- strncasecmp -> _strncasecmp
- strptime -> _strptime
- strtok_r -> _strtok_r
- sysctl -> _sysctl
- dlopen -> __dlopen
- dlclose -> __dlclose
- dlsym -> __dlsym

Sponsored by <The NetBSD Foundation>

show more ...


# 96a83291 07-Oct-2017 christos <christos@NetBSD.org>

remove recallocarray


# b7ac88e3 07-Oct-2017 christos <christos@NetBSD.org>

add recallocarray


# cdda39d7 06-Apr-2016 roy <roy@NetBSD.org>

Revert prior, no idea why it was causing me problems, but it no longer does.


# da98c8b8 05-Apr-2016 roy <roy@NetBSD.org>

Stop calling reallocarr and just do the same bounds checking but without
messing around with copying pointers which was causing ssh to crash.


# ec6de4df 26-Jul-2015 kamil <kamil@NetBSD.org>

reallocarray(3) cleanup

Add missing NetBSD CVS Id
Don't define twice _OPENBSD_SOURCE


# f7b1663b 10-Mar-2015 christos <christos@NetBSD.org>

Behave in an OpenBSD compatible way for 0.


# 84a0efdf 17-Feb-2015 christos <christos@NetBSD.org>

use reallocarr()


# 9b5f3d57 17-Feb-2015 joerg <joerg@NetBSD.org>

Move reallocarray under _OPENBSD_SOURCE where it belongs.


# a582ce59 05-Feb-2015 christos <christos@NetBSD.org>

Add and use reallocarray() to prevent a multiplication overflow in allocation.
Reported by Guido Vranken, thanks!