]>
Commit | Line | Data |
---|---|---|
2a419ad6 ER |
1 | see also |
2 | http://serverfault.com/questions/388865/building-python3-on-a-redhat-5-machine | |
3 | ||
2920a3b7 ER |
4 | upstream fix: |
5 | http://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; |