]> Savannah Git Hosting - gnulib.git/commit
strncasecmp_l: New module.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 21:32:33 +0000 (22:32 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Feb 2025 21:32:33 +0000 (22:32 +0100)
commitb2bf05b12753a6c8905ea4bd9550be2a1da95694
tree27a39f4d5490255f19f25260e132d3fe2998be8e
parent9b269e666a57079664969c40ef99599e1e98482b
strncasecmp_l: New module.

* lib/strings.in.h (strncasecmp_l): New declaration.
* lib/strncasecmp_l.c: New file, based on lib/strncasecmp.c.
* m4/strncasecmp_l.m4: New file.
* m4/strings_h.m4 (gl_STRINGS_H): Test for strncasecmp_l.
(gl_STRINGS_H_REQUIRE_DEFAULTS): Initialize GNULIB_STRNCASECMP_L.
(gl_STRINGS_H_DEFAULTS): Initialize HAVE_STRNCASECMP_L,
REPLACE_STRNCASECMP_L.
* modules/strings-h (Makefile.am): Substitute GNULIB_STRNCASECMP_L,
HAVE_STRNCASECMP_L, REPLACE_STRNCASECMP_L.
* modules/strncasecmp_l: New file.
* tests/test-strings-h-c++.cc: Check declaration of strncasecmp_l.
* doc/posix-functions/strncasecmp_l.texi: Mention the new module and the
macOS, Solaris, Cygwin bugs.
ChangeLog
doc/posix-functions/strncasecmp_l.texi
lib/strings.in.h
lib/strncasecmp_l.c [new file with mode: 0644]
m4/strings_h.m4
m4/strncasecmp_l.m4 [new file with mode: 0644]
modules/strings-h
modules/strncasecmp_l [new file with mode: 0644]
tests/test-strings-h-c++.cc