[libvirt] [PATCH] dbus: fix arrays of bools

Eric Blake eblake at redhat.com
Tue Nov 25 15:50:56 UTC 2014


On 11/21/2014 05:12 PM, Eric Blake wrote:
> Commit 2aa167ca tried to fix the DBus interaction code to allow
> callers to use native types instead of 4-byte bools.  But in
> fixing the issue, I missed the case of an arrayref; Conrad Meyer
> shows the following valid complaint issued by clang:
> 

> 
> * src/util/virdbus.c (GET_NEXT_VAL): Also fix array cases.
> (SET_NEXT_VAL): Fix uses of sub-int arrays.
> * tests/virdbustest.c (testMessageArray, testMessageArrayRef):
> Test it.
> 

Now pushed, after Conrad's off-list review and Ian's on-list review in a
different thread.

-- 
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: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141125/401c3c83/attachment-0001.sig>


More information about the libvir-list mailing list