[libvirt] [PATCH 05/11] util: drop the stpcpy gnulib module

Ján Tomko jtomko at redhat.com
Thu Oct 3 15:15:04 UTC 2019


On Thu, Oct 03, 2019 at 02:53:12PM +0100, Daniel P. Berrangé wrote:
>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 less in code

s/less/loss/

>clarity or efficiency.
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> bootstrap.conf      | 1 -
> src/util/virerror.c | 5 +++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20191003/73f86e8b/attachment-0001.sig>


More information about the libvir-list mailing list