Source-Changes-D archive

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

Re: CVS commit: src/common/lib/libc/string




To: source-changes-d%NetBSD.org@localhost

Subject: Re: CVS commit: src/common/lib/libc/string

From: Joerg Sonnenberger <joerg%bec.de@localhost>

Date: Thu, 13 Oct 2016 00:07:44 +0200


On Thu, Oct 13, 2016 at 12:01:58AM +0200, Joerg Sonnenberger wrote:
> On Wed, Oct 12, 2016 at 04:01:40PM -0400, Christos Zoulas wrote:
> > Module Name: src
> > Committed By: christos
> > Date:  Wed Oct 12 20:01:40 UTC 2016
> > 
> > Added Files:
> >  src/common/lib/libc/string: strchrnul.c
> > 
> > Log Message:
> > Add strchrnul
> 
> This seems to be completely pointless GNU crap. Why do we need it?

So strchrnul(a,b) seems to be a + strcspn(a,b), just in a non-portable
way. I don't see the point of it at all. Please revert this. Also hit
anyone using strchrnul with a cluebat please...

Joerg


Follow-Ups:

Re: CVS commit: src/common/lib/libc/string
From: Christos Zoulas


References:

Re: CVS commit: src/common/lib/libc/string
From: Joerg Sonnenberger




Prev by Date: Re: CVS commit: src/common/lib/libc/string

Next by Date: Re: CVS commit: src/common/lib/libc/string

Previous by Thread: Re: CVS commit: src/common/lib/libc/string

Next by Thread: Re: CVS commit: src/common/lib/libc/string

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index