]> git.pld-linux.org Git - packages/python3.git/blame - libc-cloexec.patch
- rel 2; rework options to avoid case when part of object files were built with one...
[packages/python3.git] / libc-cloexec.patch
CommitLineData
2a419ad6
ER
1see also
2http://serverfault.com/questions/388865/building-python3-on-a-redhat-5-machine
3
2920a3b7
ER
4upstream fix:
5http://hg.python.org/cpython/rev/fe1dfc066a38
6
2a419ad6
ER
7--- Python-3.2.3/Modules/_posixsubprocess.c~ 2012-04-11 09:54:07.000000000 +0300
8+++ Python-3.2.3/Modules/_posixsubprocess.c 2012-07-26 10:58:29.616131665 +0300
9@@ -37,6 +37,9 @@
10
11 #define POSIX_CALL(call) if ((call) == -1) goto error
12
13+#ifndef O_CLOEXEC
14+#define O_CLOEXEC 02000000 /* set close_on_exec */
15+#endif
16
17 /* Maximum file descriptor, initialized on module load. */
18 static long max_fd;
This page took 0.027449 seconds and 4 git commands to generate.