Hash :
5ac9de98
Author :
Date :
2019-11-24T13:11:12
wcstok: Work around wrong signature on native Windows. * lib/wchar.in.h (wcstok): Override when REPLACE_WCSTOK is 1. * m4/wcstok.m4 (gl_FUNC_WCSTOK): Check for signature of wcstok. Set REPLACE_WCSTOK. * m4/wchar_h.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSTOK. * modules/wchar (Makefile.am): Substitute REPLACE_WCSTOK. * modules/wcstok (Depends-on, configure.ac): Consider REPLACE_WCSTOK. * doc/posix-functions/wcstok.texi: Mention the problem.
Description:
wcstok() function: split a wide string into tokens.
Files:
lib/wcstok.c
lib/wcstok-impl.h
m4/wcstok.m4
Depends-on:
wchar
wcsspn [test $HAVE_WCSTOK = 0 || test $REPLACE_WCSTOK = 1]
wcspbrk [test $HAVE_WCSTOK = 0 || test $REPLACE_WCSTOK = 1]
configure.ac:
gl_FUNC_WCSTOK
if test $HAVE_WCSTOK = 0 || test $REPLACE_WCSTOK = 1; then
AC_LIBOBJ([wcstok])
fi
gl_WCHAR_MODULE_INDICATOR([wcstok])
Makefile.am:
Include:
<wchar.h>
License:
LGPL
Maintainer:
all