* lib/strncasecmp_l.c (strncasecmp_l): Use tolower_l, not tolower.
+2025-02-17 Bruno Haible <bruno@clisp.org>
+
+ strncasecmp_l: Fix replacement implementation.
+ * lib/strncasecmp_l.c (strncasecmp_l): Use tolower_l, not tolower.
+
2025-02-17 Bruno Haible <bruno@clisp.org>
strcasecmp, strncasecmp: Fix compilation error on MSVC.
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;