Oops, the strncasecmp_l test fails on NetBSD, Solaris, Cygwin. This patch fixes it.
2025-02-17 Bruno Haible <br...@clisp.org> strncasecmp_l: Fix replacement implementation. * lib/strncasecmp_l.c (strncasecmp_l): Use tolower_l, not tolower. diff --git a/lib/strncasecmp_l.c b/lib/strncasecmp_l.c index f20cdc7155..c049015caf 100644 --- a/lib/strncasecmp_l.c +++ b/lib/strncasecmp_l.c @@ -61,8 +61,8 @@ strncasecmp_l (const char *s1, const char *s2, size_t n, locale_t locale) do { - c1 = tolower ((unsigned char) *s1); - c2 = tolower ((unsigned char) *s2); + c1 = tolower_l ((unsigned char) *s1, locale); + c2 = tolower_l ((unsigned char) *s2, locale); if (--n == 0 || c1 == '\0') break;