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: Jim Meyering
Subject: Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ
Date: Fri, 23 May 2014 17:20:05 -0700

On Thu, May 22, 2014 at 12:04 AM, Paul Eggert <address@hidden> wrote:
> 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'.

That sounds reasonable for gnulib and coreutils, since they don't use
STRNEQ.



reply via email to

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