Hash :
f656293f
Author :
Date :
2025-02-16T13:02:25
c-strcasecmp, c-strncasecmp: New modules. * modules/c-strcasecmp: New file. * modules/c-strncasecmp: New file. * modules/c-strcase: Merely depend on c-strcasecmp, c-strncasecmp. * lib/strings.in.h (strcasecmp, strncasecmp): Update warning message. * tests/test-c-strcasecmp.sh: New file, based on tests/test-c-strcase.sh. * tests/test-c-strncasecmp.sh: New file, based on tests/test-c-strcase.sh. * tests/test-c-strcase.sh: Remove file. * modules/c-strcasecmp-tests: New file. * modules/c-strncasecmp-tests: New file. * modules/c-strcase-tests: Remove file. * doc/c-strcasecmp.texi: New file, based on doc/c-strcase.texi. * doc/c-strncasecmp.texi: New file, based on doc/c-strcase.texi. * doc/c-strcase.texi: Remove file. * doc/c-locale.texi: Include c-strcasecmp.texi and c-strncasecmp.texi separately. * modules/c-strcaseeq (Depends-on): Add c-strcasecmp. Remove c-strcase. * modules/iconv_open (Depends-on): Likewise. * modules/nl_langinfo-tests (Depends-on): Likewise. * modules/propername (Depends-on): Likewise. * modules/propername-lite (Depends-on): Likewise. * modules/striconv (Depends-on): Likewise. * modules/striconveh (Depends-on): Likewise. * modules/striconveha (Depends-on): Likewise. * modules/c-strcasestr (Depends-on): Add c-strncasecmp. Remove c-strcase.
Files:
tests/test-nl_langinfo1.sh
tests/test-nl_langinfo2.sh
tests/test-nl_langinfo1.c
tests/test-nl_langinfo2.c
tests/test-nl_langinfo-mt.c
tests/signature.h
tests/macros.h
m4/locale-fr.m4
m4/codeset.m4
m4/intl-thread-locale.m4
m4/musl.m4
Depends-on:
c-strcasecmp
c-strcasestr
setlocale
thread
nanosleep
bool
configure.ac:
gt_LOCALE_FR
gt_LOCALE_FR_UTF8
gt_FUNC_USELOCALE
gl_MUSL_LIBC
Makefile.am:
TESTS += test-nl_langinfo1.sh test-nl_langinfo2.sh test-nl_langinfo-mt
TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
check_PROGRAMS += test-nl_langinfo1 test-nl_langinfo2 test-nl_langinfo-mt
test_nl_langinfo1_LDADD = $(LDADD) $(SETLOCALE_LIB)
test_nl_langinfo2_LDADD = $(LDADD) $(SETLOCALE_LIB)
test_nl_langinfo_mt_LDADD = $(LDADD) $(SETLOCALE_LIB) $(LIBMULTITHREAD) $(NANOSLEEP_LIB)