[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.
- [PATCH] Added a module stringops that provides STREQ and STRNEQ, Kieran Colford, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Paul Eggert, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Eric Blake, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Kieran Colford, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Paul Eggert, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Kieran Colford, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Jim Meyering, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Paul Eggert, 2014/05/22
- Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ,
Jim Meyering <=
Re: [PATCH] Added a module stringops that provides STREQ and STRNEQ, Eric Blake, 2014/05/22