[issue7213] Popen.subprocess change close_fds default to True

STINNER Victor report at bugs.python.org
Sat Dec 11 18:02:57 CET 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

subprocess-cloexec-atomic-py3k.patch:

+case $ac_sys_system in
+  GNU*|Linux*)
+      AC_CHECK_FUNC(pipe2, AC_DEFINE(HAVE_PIPE2, 1, [Define if the OS supports pipe2()]), )
+esac
 
I think that you can remove the test on the OS name. AC_CHECK_FUNC() doesn't hurt if the function doesn't exist. Other OS may have pipe2().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7213>
_______________________________________


More information about the Python-bugs-list mailing list