]> Savannah Git Hosting - gnulib.git/commit
strcasecmp_l: New module.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 21:32:02 +0000 (22:32 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 21:32:02 +0000 (22:32 +0100)
commit6fafa36c5140b9fa0470da7f49e1fb212f608961
tree6d69c828c59f0d0d4154f337d70c0bd15d373d81
parent3b564fec28458688de4337ee5627568ce4dc78b9
strcasecmp_l: New module.

* lib/strings.in.h: Include <locale.h>.
(strcasecmp_l): New declaration.
* lib/strcasecmp_l.c: New file, based on lib/strcasecmp.c.
* m4/strcasecmp_l.m4: New file.
* m4/strings_h.m4 (gl_STRINGS_H): Test for strcasecmp_l.
(gl_STRINGS_H_REQUIRE_DEFAULTS): Initialize GNULIB_STRCASECMP_L.
(gl_STRINGS_H_DEFAULTS): Initialize HAVE_STRCASECMP_L,
REPLACE_STRCASECMP_L.
* modules/strings-h (Makefile.am): Substitute GNULIB_STRCASECMP_L,
HAVE_STRCASECMP_L, REPLACE_STRCASECMP_L.
* modules/strcasecmp_l: New file.
* tests/test-strings-h-c++.cc: Check declaration of strcasecmp_l.
* doc/posix-functions/strcasecmp_l.texi: Mention the new module and the
macOS, Solaris, Cygwin bugs.
ChangeLog
doc/posix-functions/strcasecmp_l.texi
lib/strcasecmp_l.c [new file with mode: 0644]
lib/strings.in.h
m4/strcasecmp_l.m4 [new file with mode: 0644]
m4/strings_h.m4
modules/strcasecmp_l [new file with mode: 0644]
modules/strings-h
tests/test-strings-h-c++.cc