On 10/20/21 11:01 PM, Graham Leggett wrote: > On 20 Oct 2021, at 10:43, Yann Ylavic <ylavic....@gmail.com> wrote: > >> apr_strnstr() maybe, strnstr() is non-standard AFAICT and possibly not >> available on all platforms (Windows)? > > This needs to be memmem really, as the boundary isn’t always a string. But I guess in this case you need to replace strncmp with memcmp as well, correct? Regards Rüdiger
- Re: svn commit: r1894380 - in /apr/apr/trunk: buckets/apr_b... Yann Ylavic
- Re: svn commit: r1894380 - in /apr/apr/trunk: buckets/... Yann Ylavic
- Re: svn commit: r1894380 - in /apr/apr/trunk: buckets/... Graham Leggett
- Re: svn commit: r1894380 - in /apr/apr/trunk: buck... Yann Ylavic
- Re: svn commit: r1894380 - in /apr/apr/trunk: buck... Ruediger Pluem
- Re: svn commit: r1894380 - in /apr/apr/trunk: buckets/... Yann Ylavic