Re: [libvirt] [PATCHv2 1/2] virBitmapParse: Fix behavior in case of error

2013-08-21 Thread Daniel P. Berrange
On Tue, Aug 20, 2013 at 11:33:43AM +0200, Peter Krempa wrote: Re-arrange the code so that the returned bitmap is always initialized to NULL even on early failures and return an error message as some callers are already expecting it. --- Notes: Version 2: Was already ACKed in v1,

[libvirt] [PATCHv2 1/2] virBitmapParse: Fix behavior in case of error

2013-08-20 Thread Peter Krempa
Re-arrange the code so that the returned bitmap is always initialized to NULL even on early failures and return an error message as some callers are already expecting it. --- Notes: Version 2: Was already ACKed in v1, but: * fixed bracing of arguments of the _() macro * added