Hash :
b6b037e6
Author :
Date :
2023-01-22T11:51:46
Resolve conflicts for functions introduced in Android API level 21. * lib/string.in.h (stpcpy): Consider REPLACE_STPCPY. Disable _GL_CXXALIASWARN invocation on non-glibc systems. * m4/string_h.m4 (gl_STRING_H_DEFAULTS): Initialize REPLACE_STPCPY. * modules/string (Makefile.am): Substitute REPLACE_STPCPY. * m4/stpcpy.m4 (gl_FUNC_STPCPY): Conditionally set REPLACE_STPCPY. * modules/stpcpy (configure.ac): Consider REPLACE_STPCPY.
Description:
stpcpy() function: copy a string, returning a pointer to its end.
Files:
lib/stpcpy.c
m4/stpcpy.m4
Depends-on:
extensions
string
configure.ac:
gl_FUNC_STPCPY
gl_CONDITIONAL([GL_COND_OBJ_STPCPY],
[test $HAVE_STPCPY = 0 || test $REPLACE_STPCPY = 1])
AM_COND_IF([GL_COND_OBJ_STPCPY], [
gl_PREREQ_STPCPY
])
gl_STRING_MODULE_INDICATOR([stpcpy])
Makefile.am:
if GL_COND_OBJ_STPCPY
lib_SOURCES += stpcpy.c
endif
Include:
<string.h>
License:
LGPLv2+
Maintainer:
glibc