[libvirt] [PATCH libvirt] xen: handle root= in xen-xm configuration files.

Eric Blake eblake at redhat.com
Tue Jun 24 19:37:19 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140624/bf1e05f6/attachment-0001.sig>


More information about the libvir-list mailing list