[issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail

Antoine Pitrou report at bugs.python.org
Mon Apr 28 12:21:21 CEST 2014


Antoine Pitrou added the comment:

Interesting. It seems pw_gecos isn't mandated by POSIX:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/pwd.h.html

I wonder if there's a better way to do this (autoconf check?) than an Android-specific #ifdef, though.

----------
nosy: +pitrou
versions: +Python 3.5

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


More information about the Python-bugs-list mailing list