[libvirt] [PATCH] virBufferVSprintf: do not skip va_end

Eric Blake ebb9 at byu.net
Fri Feb 19 13:47:19 UTC 2010


According to Jim Meyering on 2/19/2010 3:45 AM:
>>   Hum, that one I'm not sure. In the case of virBufferGrow failure,
>> we just did va_end(locarg); in the loop before, so going to cleanup
>> there does it twice, and I'm not sure it's legal. Probably simpler to
>> add just va_end(argptr); before return in that case and drop the
>> cleanup: target.
> 
> Good catch.  Corrected, as you suggest:
> 
> +++ b/.gnulib
> @@ -1 +1 @@
> -Subproject commit 11fbc57405a118e6ec9a3ebc19bbf5ececdae4d6
> +Subproject commit a1d565aa5b47ec56243e74d4ac8b4988a751fef2

Why the change in .gnulib?  Shouldn't that be an independent patch?

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 at byu.net

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


More information about the libvir-list mailing list