Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2021 23:27:25 +0000
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Vladimir Kondratyev <wulf@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 92cf602e3809 - main - Copy strcasestr.c from libc to libkern.
Message-ID:  <F0A2E7AD-499B-4CA5-AF6B-1C7F9F5B49BC@freebsd.org>
In-Reply-To: <202101072320.107NKpMS063374@gitrepo.freebsd.org>
References:  <202101072320.107NKpMS063374@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 Jan 2021, at 23:20, Vladimir Kondratyev <wulf@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F0A2E7AD-499B-4CA5-AF6B-1C7F9F5B49BC>