Leonid Plyushch
6 years ago
committed by
Fredrik Fornwall
3 changed files with 26 additions and 25 deletions
@ -1,11 +1,20 @@ |
|||
--- ../cache/gettext-0.19.8/gettext-tools/src/msginit.c 2016-05-30 09:12:33.000000000 +0000
|
|||
+++ ./gettext-tools/src/msginit.c 2017-02-23 06:45:14.705803371 +0000
|
|||
@@ -1073,7 +1073,7 @@
|
|||
diff -uNr gettext-0.20.1/gettext-tools/src/msginit.c gettext-0.20.1.mod/gettext-tools/src/msginit.c
|
|||
--- gettext-0.20.1/gettext-tools/src/msginit.c 2019-05-12 00:11:31.000000000 +0300
|
|||
+++ gettext-0.20.1.mod/gettext-tools/src/msginit.c 2019-05-21 15:05:49.363213216 +0300
|
|||
@@ -1136,6 +1136,7 @@
|
|||
static const char * |
|||
get_user_fullname () |
|||
{ |
|||
+#ifndef __ANDROID__
|
|||
#if HAVE_PWD_H |
|||
struct passwd *pwd; |
|||
|
|||
pwd = get_user_pwd (); |
|||
-#if HAVE_PWD_H
|
|||
+#ifndef __ANDROID__
|
|||
if (pwd != NULL) |
|||
{ |
|||
const char *fullname; |
|||
@@ -1159,7 +1160,7 @@
|
|||
return result; |
|||
} |
|||
#endif |
|||
-
|
|||
+#endif
|
|||
return NULL; |
|||
} |
|||
|
|||
|
Loading…
Reference in new issue