On 06/24/2014 03:20 AM, Ian Campbell wrote: > > I see VIR_STRDUP actually does handle NULL input correctly, which was > what I was worried about. Yes, it is by design that VIR_STRDUP(NULL) works, and gives a different return value (0) than when dup'ing a string (positive) or on failure (negative). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list