python: Update 2.7.10 to 2.7.11 and 3.5.0 to 3.5.1
[termux-packages] / packages / python / posixmodule.c.patch
1 diff -u -r ../Python-3.4.1/Modules/posixmodule.c ./Modules/posixmodule.c
2 --- ../Python-3.4.1/Modules/posixmodule.c 2014-05-19 07:19:39.000000000 +0200
3 +++ ./Modules/posixmodule.c 2014-06-25 21:42:11.191524129 +0200
4 @@ -6048,7 +6048,7 @@
5 if (_Py_set_inheritable(master_fd, 0, NULL) < 0)
6 goto posix_error;
7
8 -#if !defined(__CYGWIN__) && !defined(HAVE_DEV_PTC)
9 +#if !defined(__CYGWIN__) && !defined(HAVE_DEV_PTC) && !defined(__ANDROID__)
10 ioctl(slave_fd, I_PUSH, "ptem"); /* push ptem */
11 ioctl(slave_fd, I_PUSH, "ldterm"); /* push ldterm */
12 #ifndef __hpux