]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: drop the stpcpy gnulib module
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 2 Oct 2019 15:14:45 +0000 (16:14 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 7 Oct 2019 10:34:24 +0000 (11:34 +0100)
commitcc7cc5b092b3e801af4aa5bb8a8b5ccc3e915bd4
treec258b27f1be8435e6c6a26707c2217d8b127974a
parenta45fa8000a9abf470d0ae925e81987f9cd13162a
util: drop the stpcpy gnulib module

stpcpy returns a pointer to the end of the string just copied
which in theory makes it easier to then copy another string
after it. We only use stpcpy in one place though and that
is trivially rewritten to avoid stpcpy with no loss in code
clarity or efficiency.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
bootstrap.conf
src/util/virerror.c