On a Friday in 2020, Michal Privoznik wrote:
This function will be used to detect zero buffers (which are
going to be interpreted as hole in virStream later).
I shamelessly took inspiration from coreutils.
How is that okay, isn't coreutils GPL-licensed?
Jano
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/virstring.c | 40 ++++++++++++++++++++++++++++++++++++++++
src/util/virstring.h | 2 ++
3 files changed, 43 insertions(+)