]> git.pld-linux.org Git - packages/python3.git/blob - 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
1 see also
2 http://serverfault.com/questions/388865/building-python3-on-a-redhat-5-machine
3
4 upstream fix:
5 http://hg.python.org/cpython/rev/fe1dfc066a38
6
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.022736 seconds and 3 git commands to generate.