NetBSD Problem Report #58803
From www@netbsd.org Fri Nov 1 18:57:42 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0A3521A9238
for <gnats-bugs@gnats.NetBSD.org>; Fri, 1 Nov 2024 18:57:42 +0000 (UTC)
Message-Id: <20241101185740.CB3731A923B@mollari.NetBSD.org>
Date: Fri, 1 Nov 2024 18:57:40 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: <strings.h>: missing strcasecmp_l, strncasecmp_l
X-Send-Pr-Version: www-1.0
>Number: 58803
>Category: standards
>Synopsis: <strings.h>: missing strcasecmp_l, strncasecmp_l
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: standards-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 01 19:00:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBSD_l Stringcomparison
>Environment:
>Description:
As of POSIX 2008, strings.h is supposed to declare functions strcasecmp_l and strncasecmp_l for locale-dependent case-insensitive string comparison:
int strcasecmp_l(const char *s1, const char *s2,
locale_t locale);
POSIX 2008:
- https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/strings.h.html
- https://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp_l.html
POSIX 2024:
- https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/basedefs/strings.h.html
- https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/functions/strcasecmp_l.html
>How-To-Repeat:
standards inspection
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.