]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
tree-wide: use reallocarray instead of our home-grown realloc_multiply (#8279)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Feb 2018 20:20:00 +0000 (21:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Feb 2018 20:20:00 +0000 (21:20 +0100)
commitaa484f356110d9118c44389fe8f03ee7b25a7746
tree5a284768496b9adbb15cb6d6ca89fac547138ec7
parentf2e3f3695052ce59d119758d02bec9b1021731bd
tree-wide: use reallocarray instead of our home-grown realloc_multiply (#8279)

There isn't much difference, but in general we prefer to use the standard
functions. glibc provides reallocarray since version 2.26.

I moved explicit_bzero is configure test to the bottom, so that the two stdlib
functions are at the bottom.
meson.build
src/basic/alloc-util.h
src/basic/strv.c
src/core/dbus-execute.c
src/core/load-fragment.c
src/core/namespace.c
src/libsystemd/sd-bus/bus-error.c
src/nspawn/nspawn-mount.c
src/shared/bus-unit-util.c