diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2010-12-13 07:59:39 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-12-13 07:59:39 (GMT) |
commit | 51ee270876f4e18ec579e57772e16fce146d805e (patch) | |
tree | ca518334c744fca3ed243def81dd72d4b9f0c8ba /configure.in | |
parent | f5604853889bfbbf84b48311c63c0e775dff38cc (diff) | |
download | cpython-51ee270876f4e18ec579e57772e16fce146d805e.zip cpython-51ee270876f4e18ec579e57772e16fce146d805e.tar.gz cpython-51ee270876f4e18ec579e57772e16fce146d805e.tar.bz2 |
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
the C code, using pipe2() when available. Adds unittests for close_fds and
cloexec behaviors.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 0318133..fe030b3 100644 --- a/configure.in +++ b/configure.in @@ -4235,7 +4235,7 @@ case $ac_sys_system in OSF*) AC_MSG_ERROR(OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606) ;; esac - +AC_CHECK_FUNC(pipe2, AC_DEFINE(HAVE_PIPE2, 1, [Define if the OS supports pipe2()]), ) AC_SUBST(THREADHEADERS) |