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
|
diff -uNr gettext-0.20.1/gettext-tools/src/msginit.c gettext-0.20.1.mod/gettext-tools/src/msginit.c
|
||||
+++ ./gettext-tools/src/msginit.c 2017-02-23 06:45:14.705803371 +0000
|
--- gettext-0.20.1/gettext-tools/src/msginit.c 2019-05-12 00:11:31.000000000 +0300
|
||||
@@ -1073,7 +1073,7 @@
|
+++ 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; |
struct passwd *pwd; |
||||
|
|
||||
pwd = get_user_pwd (); |
@@ -1159,7 +1160,7 @@
|
||||
-#if HAVE_PWD_H
|
return result; |
||||
+#ifndef __ANDROID__
|
} |
||||
if (pwd != NULL) |
#endif |
||||
{ |
-
|
||||
const char *fullname; |
+#endif
|
||||
|
return NULL; |
||||
|
} |
||||
|
|
||||
|
Loading…
Reference in new issue