On 08.01.2021 02:27, Jessica Clarke wrote: > On 7 Jan 2021, at 23:20, Vladimir Kondratyev <w...@freebsd.org> wrote: >> +#include <ctype.h> >> +#include <string.h> >> +#include "xlocale_private.h" >> + >> +/* >> + * Find the first occurrence of find in s, ignore case. >> + */ >> +char * >> +strcasestr_l(const char *s, const char *find, locale_t locale) > > Locales in the kernel? This feels wrong. > > Jess >
strcasestr.c was copied from userland unmodified just to allow "git log --follow" to work. Next commit removed locale support from this file and connected it to build. _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"