summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2007-09-03 16:44:06 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2007-09-03 16:44:06 (GMT)
commit6c3572673d30eadb50cbff2b1b0b066866d45c88 (patch)
tree09e0756f578ecb30ed2ac22ddd830eaad5541974
parent4cb4e4e882dcff50ffd2f5478ae63522657d7ce3 (diff)
downloadcpython-6c3572673d30eadb50cbff2b1b0b066866d45c88.zip
cpython-6c3572673d30eadb50cbff2b1b0b066866d45c88.tar.gz
cpython-6c3572673d30eadb50cbff2b1b0b066866d45c88.tar.bz2
test for strlcpy (so i can use it in _bsddb.c)
-rw-r--r--configure.in2
-rw-r--r--pyconfig.h.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index fe401c3..f23d77f 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 b24f49a..e08cb0f 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -538,6 +538,9 @@
/* Define to 1 if you have the <string.h> 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 <stropts.h> header file. */
#undef HAVE_STROPTS_H