From 8ab9edca32c05ef995c2ec226e9be100d68c50cf Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Sat, 24 Jun 2017 14:00:37 +0200 Subject: Android doesn't support the pw_gecos field Signed-off-by: Wolfgang Wiedmeyer --- gettext-tools/src/msginit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1