summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDavid Reid <dreid@apache.org>2001-02-13 21:01:14 +0000
committerDavid Reid <dreid@apache.org>2001-02-13 21:01:14 +0000
commit4a99fcea824f379d71e0b36e6019ee2697b8b9e2 (patch)
tree9f167151fd1f490a352212272d935b936df17ae7 /user
parent70a8ef551f3d4b46fc196ecf20961426bc540dbd (diff)
downloadapr-4a99fcea824f379d71e0b36e6019ee2697b8b9e2.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: https://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;
}