]> git.pld-linux.org Git - packages/python3.git/blob - libc-cloexec.patch
posixsubprocess is back
[packages/python3.git] / libc-cloexec.patch
1 see also
2 http://serverfault.com/questions/388865/building-python3-on-a-redhat-5-machine
3
4 --- Python-3.2.3/Modules/_posixsubprocess.c~    2012-04-11 09:54:07.000000000 +0300
5 +++ Python-3.2.3/Modules/_posixsubprocess.c     2012-07-26 10:58:29.616131665 +0300
6 @@ -37,6 +37,9 @@
7  
8  #define POSIX_CALL(call)   if ((call) == -1) goto error
9  
10 +#ifndef O_CLOEXEC
11 +#define O_CLOEXEC   02000000    /* set close_on_exec */
12 +#endif
13  
14  /* Maximum file descriptor, initialized on module load. */
15  static long max_fd;
This page took 0.033119 seconds and 3 git commands to generate.