From 8d13970a912d8979ef73cb4d7ea8d9a63593053c Mon Sep 17 00:00:00 2001 From: dreid Date: Tue, 13 Feb 2001 21:01:14 +0000 Subject: Again, BeOS doesn't really have the notion of groups and users at the moment, so we'll just ignore this until it does. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61231 13f79535-47bb-0310-9956-ffa450edef68 --- user/unix/groupinfo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'user/unix') diff --git a/user/unix/groupinfo.c b/user/unix/groupinfo.c index 47d16fe4d..d7719fa66 100644 --- a/user/unix/groupinfo.c +++ b/user/unix/groupinfo.c @@ -66,6 +66,8 @@ APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid, apr_pool_t *p) { struct group *gr; +#ifndef BEOS + #if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRGID_R) struct group grp; char grbuf[512]; @@ -77,6 +79,7 @@ APR_DECLARE(apr_status_t) apr_get_groupname(char **groupname, apr_gid_t groupid, return errno; } *groupname = apr_pstrdup(p, gr->gr_name); +#endif return APR_SUCCESS; } -- cgit v1.2.1