version 1.62, 2017/03/04 16:36:29 |
version 1.63, 2017/06/12 19:05:47 |
|
|
HAVE_PLEDGE= |
HAVE_PLEDGE= |
HAVE_PROGNAME= |
HAVE_PROGNAME= |
HAVE_REALLOCARRAY= |
HAVE_REALLOCARRAY= |
|
HAVE_RECALLOCARRAY= |
HAVE_RECVMSG= |
HAVE_RECVMSG= |
HAVE_REWB_BSD= |
HAVE_REWB_BSD= |
HAVE_REWB_SYSV= |
HAVE_REWB_SYSV= |
Line 229 runtest pledge PLEDGE || true |
|
Line 230 runtest pledge PLEDGE || true |
|
runtest sandbox_init SANDBOX_INIT || true |
runtest sandbox_init SANDBOX_INIT || true |
runtest progname PROGNAME || true |
runtest progname PROGNAME || true |
runtest reallocarray REALLOCARRAY || true |
runtest reallocarray REALLOCARRAY || true |
|
runtest recallocarray RECALLOCARRAY || true |
runtest rewb-bsd REWB_BSD || true |
runtest rewb-bsd REWB_BSD || true |
runtest rewb-sysv REWB_SYSV || true |
runtest rewb-sysv REWB_SYSV || true |
runtest strcasestr STRCASESTR || true |
runtest strcasestr STRCASESTR || true |
Line 348 cat << __HEREDOC__ |
|
Line 350 cat << __HEREDOC__ |
|
|
|
__HEREDOC__ |
__HEREDOC__ |
|
|
[ ${HAVE_GETLINE} -eq 0 -o ${HAVE_REALLOCARRAY} -eq 0 -o \ |
[ ${HAVE_GETLINE} -eq 0 -o \ |
|
${HAVE_REALLOCARRAY} -eq 0 -o ${HAVE_RECALLOCARRAY} -eq 0 -o \ |
${HAVE_STRLCAT} -eq 0 -o ${HAVE_STRLCPY} -eq 0 ] \ |
${HAVE_STRLCAT} -eq 0 -o ${HAVE_STRLCPY} -eq 0 ] \ |
&& echo "#include <sys/types.h>" |
&& echo "#include <sys/types.h>" |
[ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>" |
[ ${HAVE_VASPRINTF} -eq 0 ] && echo "#include <stdarg.h>" |
Line 383 cat << __HEREDOC__ |
|
Line 386 cat << __HEREDOC__ |
|
#define HAVE_PLEDGE ${HAVE_PLEDGE} |
#define HAVE_PLEDGE ${HAVE_PLEDGE} |
#define HAVE_PROGNAME ${HAVE_PROGNAME} |
#define HAVE_PROGNAME ${HAVE_PROGNAME} |
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY} |
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY} |
|
#define HAVE_RECALLOCARRAY ${HAVE_RECALLOCARRAY} |
#define HAVE_REWB_BSD ${HAVE_REWB_BSD} |
#define HAVE_REWB_BSD ${HAVE_REWB_BSD} |
#define HAVE_REWB_SYSV ${HAVE_REWB_SYSV} |
#define HAVE_REWB_SYSV ${HAVE_REWB_SYSV} |
#define HAVE_SANDBOX_INIT ${HAVE_SANDBOX_INIT} |
#define HAVE_SANDBOX_INIT ${HAVE_SANDBOX_INIT} |
|
|
|
|
[ ${HAVE_REALLOCARRAY} -eq 0 ] && \ |
[ ${HAVE_REALLOCARRAY} -eq 0 ] && \ |
echo "extern void *reallocarray(void *, size_t, size_t);" |
echo "extern void *reallocarray(void *, size_t, size_t);" |
|
|
|
[ ${HAVE_RECALLOCARRAY} -eq 0 ] && \ |
|
echo "extern void *recallocarray(void *, size_t, size_t, size_t);" |
|
|
[ ${HAVE_STRCASESTR} -eq 0 ] && \ |
[ ${HAVE_STRCASESTR} -eq 0 ] && \ |
echo "extern char *strcasestr(const char *, const char *);" |
echo "extern char *strcasestr(const char *, const char *);" |