Skip to content

Commit 8f56c1a

Browse files
committed
[3.12] pythongh-150443: Exclude explicit dup3 and pipe2 checks on iOS builds. (pythonGH-150444) (python#150448)
Exclude explicit dup3 and pipe2 checks on iOS builds. (cherry picked from commit 629da5c)
1 parent 248f24d commit 8f56c1a

2 files changed

Lines changed: 16 additions & 22 deletions

File tree

‎configure‎

Lines changed: 13 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎configure.ac‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5150,7 +5150,7 @@ fi
51505150
# checks for library functions
51515151
AC_CHECK_FUNCS([ \
51525152
accept4 alarm bind_textdomain_codeset chmod chown clock close_range confstr \
5153-
copy_file_range ctermid dup dup3 execv explicit_bzero explicit_memset \
5153+
copy_file_range ctermid dup explicit_bzero explicit_memset \
51545154
faccessat fchmod fchmodat fchown fchownat fdopendir fdwalk fexecve \
51555155
fork fork1 fpathconf fstatat ftime ftruncate futimens futimes futimesat \
51565156
gai_strerror getegid geteuid getgid getgrgid getgrgid_r \
@@ -5160,7 +5160,7 @@ AC_CHECK_FUNCS([ \
51605160
getspnam getuid getwd if_nameindex initgroups kill killpg lchown linkat \
51615161
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
51625162
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \
5163-
pipe2 plock poll posix_fadvise posix_fallocate posix_spawn posix_spawnp \
5163+
plock poll posix_fadvise posix_fallocate posix_spawn posix_spawnp \
51645164
pread preadv preadv2 pthread_condattr_setclock pthread_init pthread_kill \
51655165
pwrite pwritev pwritev2 readlink readlinkat readv realpath renameat \
51665166
rtpSpawn sched_get_priority_max sched_rr_get_interval sched_setaffinity \
@@ -5187,7 +5187,7 @@ fi
51875187
# header definition prevents usage - autoconf doesn't use the headers), or
51885188
# raise an error if used at runtime. Force these symbols off.
51895189
if test "$ac_sys_system" != "iOS" ; then
5190-
AC_CHECK_FUNCS([getentropy getgroups system])
5190+
AC_CHECK_FUNCS([dup3 getentropy getgroups pipe2 system])
51915191
fi
51925192

51935193
AC_CHECK_DECL([dirfd],

0 commit comments

Comments
 (0)