On 08.01.2021 02:27, Jessica Clarke wrote: > On 7 Jan 2021, at 23:20, Vladimir Kondratyev <[email protected]> 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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "[email protected]"
