[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] use STREQ(a,b), not strcmp(a,b) == 0



Richard W.M. Jones wrote:
> On Mon, Nov 09, 2009 at 10:44:25PM +0100, Jim Meyering wrote:
>> The series below makes changes like these mechanically,
>> one class of change per change-set:
>>
>>     strcmp(...) == 0     to STREQ(...)
>>     strcmp(...) != 0     to STRNEQ(...)
>>     strncmp(...) == 0    to STREQLEN(...)
>>     strncmp(...) != 0    to STRNEQLEN(...)
>>     strcasecmp(...) == 0 to STRCASEEQ(...)
>>     strcasecmp(...) != 0 to STRCASENEQ(...)
>>     strncasecmp(...) == 0 to STRCASEEQLEN(...)
>>     strncasecmp(...) != 0 to STRCASENEQLEN(...)
>
> I checked the patches visually and I couldn't see any mistakes.
>
> ACK.

Thanks.  Pushed


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]