diff options
Diffstat (limited to 'otherlibs/unix/getpw.c')
-rw-r--r-- | otherlibs/unix/getpw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/otherlibs/unix/getpw.c b/otherlibs/unix/getpw.c index b39e98573..f5766c67c 100644 --- a/otherlibs/unix/getpw.c +++ b/otherlibs/unix/getpw.c @@ -27,7 +27,11 @@ static value alloc_passwd_entry(struct passwd *entry) Begin_roots5 (name, passwd, gecos, dir, shell); name = copy_string(entry->pw_name); passwd = copy_string(entry->pw_passwd); +#ifndef __BEOS__ gecos = copy_string(entry->pw_gecos); +#else + gecos = copy_string(""); +#endif dir = copy_string(entry->pw_dir); shell = copy_string(entry->pw_shell); res = alloc_small(7, 0); |