NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

standards/58803: <strings.h>: missing strcasecmp_l, strncasecmp_l



>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!



Home | Main Index | Thread Index | Old Index