[Python-checkins] bpo-32705: Current Android does not have posix_spawn (#5413)

Victor Stinner webhook-mailer at python.org
Mon Jan 29 04:50:43 EST 2018


https://github.com/python/cpython/commit/8997f9cd1a59f04fbb8c7b590295a9f38c548744
commit: 8997f9cd1a59f04fbb8c7b590295a9f38c548744
branch: master
author: Chih-Hsuan Yen <yan12125 at gmail.com>
committer: Victor Stinner <victor.stinner at gmail.com>
date: 2018-01-29T10:50:35+01:00
summary:

bpo-32705: Current Android does not have posix_spawn (#5413)

files:
M Modules/posixmodule.c

diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 4c0392e22c3b..8b11e981f115 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -176,7 +176,14 @@ corresponding Unix manual entries for more information on calls.");
 #else
 /* Unix functions that the configure script doesn't check for */
 #define HAVE_EXECV      1
+/* bpo-32705: Current Android does not have posix_spawn
+ * Most likely posix_spawn will be available in next Android version (Android
+ * P, API 28). Need revisit then. See
+ * https://android-review.googlesource.com/c/platform/bionic/+/504842
+ **/
+#ifndef __ANDROID__
 #define HAVE_POSIX_SPAWN 1
+#endif
 #define HAVE_FORK       1
 #if defined(__USLC__) && defined(__SCO_VERSION__)       /* SCO UDK Compiler */
 #define HAVE_FORK1      1



More information about the Python-checkins mailing list