[issue26857] gethostbyname_r() is broken on android

Chi Hsuan Yen report at bugs.python.org
Wed May 11 09:28:06 EDT 2016


Chi Hsuan Yen added the comment:

By the way, socketmodule_2.patch is problematic. Developers may choose to build CPython against API level 21 and run it on all devices with API level >= 21. In general Android keeps ABI compatibility between consecutive versions. That is, most binaries built for API 21 can be run on API 21, 22, 23 and 24. With this patch, developers have to build two versions of CPython, one for API < 23 and one for API >= 23, or gethostbyname_r() may not be used.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26857>
_______________________________________


More information about the Python-bugs-list mailing list