summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-24 14:00:37 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-24 14:00:37 +0200
commit8ab9edca32c05ef995c2ec226e9be100d68c50cf (patch)
tree378dd2003605b37d36e1f34733557b3e096f7cf9
parent9e1d5d6307a3b95c557007ede36913db7dba4b97 (diff)
downloadexternal_gettext-8ab9edca32c05ef995c2ec226e9be100d68c50cf.zip
external_gettext-8ab9edca32c05ef995c2ec226e9be100d68c50cf.tar.gz
external_gettext-8ab9edca32c05ef995c2ec226e9be100d68c50cf.tar.bz2
Android doesn't support the pw_gecos field
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--gettext-tools/src/msginit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/src/msginit.c b/gettext-tools/src/msginit.c
index 0cdb489..e9e372a 100644
--- a/gettext-tools/src/msginit.c
+++ b/gettext-tools/src/msginit.c
@@ -1081,7 +1081,7 @@ get_user_fullname ()
char *result;
/* Return the pw_gecos field, up to the first comma (if any). */
- fullname = pwd->pw_gecos;
+ fullname = "android";
fullname_end = strchr (fullname, ',');
if (fullname_end == NULL)
fullname_end = fullname + strlen (fullname);