Branch
Hash :
b2927d1b
Author :
Date :
2025-02-16T12:21:53
strcasecmp, strncasecmp: New modules. * modules/strcasecmp: New file. * modules/strncasecmp: New file. * modules/strcase: Merely depend on strcasecmp, strncasecmp. * m4/strcasecmp.m4: New file, based on m4/strcase.m4. * m4/strncasecmp.m4: New file, based on m4/strcase.m4. * m4/strcase.m4: Remove file. * lib/strings.in.h (strcasecmp, strncasecmp): Fix typo in warning message. * lib/strcasecmp.c: Improve comment. * lib/strncasecmp.c: Likewise. * doc/posix-functions/strcasecmp.texi: Mention module strcasecmp, not module strcase. * doc/posix-functions/strncasecmp.texi: Mention module strncasecmp, not module strcase. * doc/strings.texi (Comparison of string APIs): Reference modules strcasecmp, strncasecmp. * modules/argp (Depends-on): Add strcasecmp. Remove strcase. * modules/strcasestr-simple (Depends-on): Add strncasecmp. Remove strcase. * modules/strptime (Depends-on): Likewise.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Description:
Convert a string representation of time to a tm structure.
Files:
lib/strptime.c
m4/strptime.m4
m4/tm_gmtoff.m4
Depends-on:
time-h
extensions
sys_time-h [test $HAVE_STRPTIME = 0]
string-h [test $HAVE_STRPTIME = 0]
strncasecmp [test $HAVE_STRPTIME = 0]
bool [test $HAVE_STRPTIME = 0]
time_r [test $HAVE_STRPTIME = 0]
configure.ac:
gl_FUNC_STRPTIME
gl_CONDITIONAL([GL_COND_OBJ_STRPTIME], [test $HAVE_STRPTIME = 0])
AM_COND_IF([GL_COND_OBJ_STRPTIME], [
gl_PREREQ_STRPTIME
])
gl_TIME_MODULE_INDICATOR([strptime])
Makefile.am:
if GL_COND_OBJ_STRPTIME
lib_SOURCES += strptime.c
endif
Include:
<time.h>
License:
LGPLv2+
Maintainer:
glibc