[Libvir] PATCH: Fix const-ness for attach/detach device APIs

Richard W.M. Jones rjones at redhat.com
Mon Oct 15 11:49:34 UTC 2007


Daniel P. Berrange wrote:
> virDomainAttachDevice and virDomainDetachDevice both take a char * for the
> XML description, but this is mistakenly not declared to be const. This 
> patch fixes the public header files & all the internal drivers. NB, yes this
> is in the public API, no it won't break any apps since these are input
> params only.

+1

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071015/c7b4bd82/attachment-0001.bin>


More information about the libvir-list mailing list