summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-02-13 21:01:14 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2001-02-13 21:01:14 +0000
commit8d13970a912d8979ef73cb4d7ea8d9a63593053c (patch)
tree9f167151fd1f490a352212272d935b936df17ae7 /user
parentb81ae2d2ec2639a76732b23136e96ed0aff08dd3 (diff)
downloadlibapr-8d13970a912d8979ef73cb4d7ea8d9a63593053c.tar.gz
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
Diffstat (limited to 'user')
-rw-r--r--user/unix/groupinfo.c3
1 files changed, 3 insertions, 0 deletions
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;
}