[libvirt] [PATCH] avoid using STREQLEN with a literal; use STRPREFIX instead

Jim Meyering jim at meyering.net
Thu May 15 14:21:54 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> wrote:
> On Thu, May 15, 2008 at 04:13:14PM +0200, Jim Meyering wrote:
>> The goal of this change is to remove the error-prone duplication
>> between literal strings and corresponding literal length.
>>
>> This was almost 100% mechanical:
>>
>> I manually reversed the two args with the "vnet" use in qemu_conf.c,
>> so that the perl code would transform that one, too.
>
> Yes, this looks good to me. I've scanned the changes and all appear correct.

Thanks for the quick review.  Committed.




More information about the libvir-list mailing list