From: Gregory P. Smith Date: Mon, 3 Sep 2007 16:44:06 +0000 (+0000) Subject: test for strlcpy (so i can use it in _bsddb.c) X-Git-Tag: v3.0a2~468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c3572673d30eadb50cbff2b1b0b066866d45c88;p=python test for strlcpy (so i can use it in _bsddb.c) --- diff --git a/configure.in b/configure.in index fe401c32e1..f23d77f2f0 100644 --- a/configure.in +++ b/configure.in @@ -2256,7 +2256,7 @@ AC_CHECK_FUNCS(alarm bind_textdomain_codeset chflags chown clock confstr \ putenv readlink realpath \ select setegid seteuid setgid \ setlocale setregid setreuid setsid setpgid setpgrp setuid setvbuf snprintf \ - sigaction siginterrupt sigrelse strftime \ + sigaction siginterrupt sigrelse strftime strlcpy \ sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ truncate uname unsetenv utimes waitpid wait3 wait4 wcscoll _getpty) diff --git a/pyconfig.h.in b/pyconfig.h.in index b24f49a961..e08cb0f362 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -538,6 +538,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strlcpy' function. */ +#undef HAVE_STRLCPY + /* Define to 1 if you have the header file. */ #undef HAVE_STROPTS_H