bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ


From: Paul Eggert
Subject: Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ
Date: Thu, 22 May 2014 00:04:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

Jim Meyering wrote:
What about the conflict with modules/streq?
There are over 300 uses of STREQ in gnulib and coreutils.
Are you suggesting to change all of those?

Yes. But if this is too much all at once, let's just call the inline function 'STREQ'. We can rename it to 'streq' later, if and when we have the energy.

'STRNEQ' I'd still rather avoid, though. The name is simply too confusing with strncmp. Plus, the usual way to spell 'not equals' (dating all the way back to FORTRAN) is 'ne', not 'neq'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]