Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b3cc52

Browse files
committed
Add a test for fchdir().
This is part of SF feature #536796.
1 parent 188ecd1 commit 6b3cc52

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

configure

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.307 .
2+
# From configure.in Revision: 1.309 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53.
55
#
@@ -11268,10 +11268,11 @@ echo "${ECHO_T}MACHDEP_OBJS" >&6
1126811268
1126911269
1127011270
11271+
1127111272
1127211273
1127311274
for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
11274-
flock fork fsync fdatasync fpathconf ftime ftruncate \
11275+
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \
1127511276
gai_strerror getgroups getlogin getpeername getpid getpwent getwd \
1127611277
hstrerror inet_pton kill killpg link lstat mkfifo mknod mktime mremap \
1127711278
nice pathconf pause plock poll pthread_init \

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ AC_MSG_RESULT(MACHDEP_OBJS)
15801580

15811581
# checks for library functions
15821582
AC_CHECK_FUNCS(alarm chown chroot clock confstr ctermid ctermid_r execv \
1583-
flock fork fsync fdatasync fpathconf ftime ftruncate \
1583+
fchdir flock fork fsync fdatasync fpathconf ftime ftruncate \
15841584
gai_strerror getgroups getlogin getpeername getpid getpwent getwd \
15851585
hstrerror inet_pton kill killpg link lstat mkfifo mknod mktime mremap \
15861586
nice pathconf pause plock poll pthread_init \

pyconfig.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
/* Define to 1 if you have the `execv' function. */
8787
#undef HAVE_EXECV
8888

89+
/* Define to 1 if you have the `fchdir' function. */
90+
#undef HAVE_FCHDIR
91+
8992
/* Define to 1 if you have the <fcntl.h> header file. */
9093
#undef HAVE_FCNTL_H
9194

0 commit comments

Comments
 (0)