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