You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
512 B

diff -u -r ../Python-2.7.10/Modules/pwdmodule.c ./Modules/pwdmodule.c
--- ../Python-2.7.10/Modules/pwdmodule.c 2015-05-23 12:09:20.000000000 -0400
+++ ./Modules/pwdmodule.c 2015-09-16 17:42:37.197613340 -0400
@@ -75,7 +75,7 @@
#endif
PyStructSequence_SET_ITEM(v, setIndex++, _PyInt_FromUid(p->pw_uid));
PyStructSequence_SET_ITEM(v, setIndex++, _PyInt_FromGid(p->pw_gid));
-#ifdef __VMS
+#if defined (__VMS) || defined(__ANDROID__)
SETS(setIndex++, "");
#else
SETS(setIndex++, p->pw_gecos);