diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1999-05-18 18:46:17 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1999-05-18 18:46:17 +0000 |
commit | 68829a504bf39cc0d2d644bdd791380b06faa512 (patch) | |
tree | f79a9f3697321c381e8af582120c8f123be8bbcb /otherlibs/unix | |
parent | 52bdeb2bdff552dc70657e04df4e1a9f8b4c3985 (diff) |
Portage BeOS/Intel x86
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix')
-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); |