chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:05 +0000 (07:59 +0200)
commit65c2929bed8254e5ea24bb2d3d5a403a36daf69e
treefe14db1491ac3f3af433278ea0b93fa54391d12d
parentd6ac074bf95f61aeaa9b81db414cc3089fa22f7a
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/libelogind/sd-bus/bus-error.c