On 03/17/2011 01:30 PM, Eric Blake wrote:
>> +++ b/src/util/hash.c
>> @@ -35,6 +35,12 @@
>>  
>>  /* #define DEBUG_GROW */
>>  
>> +#define virHashIterationError(ret)                                      \
>> +    do {                                                                \
>> +        VIR_ERROR0(_("Hash operation not allowed during iteration"));   \
>> +        return ret;                                                     \
>> +    } while (0)
> 
> ACK; nice helper macro.

Except that it causes 'make syntax-check' to fail.

Pushing this under the build-breaker rule:

diff --git i/po/POTFILES.in w/po/POTFILES.in
index 1ed2765..b2ab946 100644
--- i/po/POTFILES.in
+++ w/po/POTFILES.in
@@ -89,6 +89,7 @@ src/util/command.c
 src/util/conf.c
 src/util/dnsmasq.c
 src/util/event_poll.c
+src/util/hash.c
 src/util/hooks.c
 src/util/hostusb.c
 src/util/interface.c

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to