92cf602e3809 - main - Copy strcasestr.c from libc to libkern.
Ravi Pokala
rpokala at freebsd.org
Thu Jan 7 23:41:53 UTC 2021
-----Original Message-----
From: <owner-src-committers at freebsd.org> on behalf of Vladimir Kondratyev <vladimir at kondratyev.su>
Date: 2021-01-07, Thursday at 15:33
To: Jessica Clarke <jrtc27 at freebsd.org>, Vladimir Kondratyev <wulf at FreeBSD.org>
Cc: "src-committers at freebsd.org" <src-committers at FreeBSD.org>, "dev-commits-src-all at freebsd.org" <dev-commits-src-all at FreeBSD.org>, "dev-commits-src-main at freebsd.org" <dev-commits-src-main at FreeBSD.org>
Subject: Re: git: 92cf602e3809 - main - Copy strcasestr.c from libc to libkern.
On 08.01.2021 02:27, Jessica Clarke wrote:
> On 7 Jan 2021, at 23:20, Vladimir Kondratyev <wulf at 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.
Unfortunately, about two-dozen commit messages from you arrived at the same time, and some were out of order; without incrementing change numbers in the subject line, figuring out the actual ordering is non-trivial. :-p
-Ravi (rpokala@)
More information about the dev-commits-src-main
mailing list