On Thu, Oct 13, 2016 at 01:27:00AM +0000, Christos Zoulas wrote: > In article <20161012220744.gb...@britannica.bec.de>, > Joerg Sonnenberger <jo...@bec.de> wrote: > > >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... > > That would be gdb... I can revert, but then I will have to add more hacks > to gnu software...
Given that the workaround is a trivial inline function, I'd strongly prefer that. The cluebat should still be applied. Joerg