diff options
author | Jeff Trawick <trawick@apache.org> | 2001-11-21 12:58:28 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2001-11-21 12:58:28 +0000 |
commit | 2d96599fe5aa9cabf96d1775634ae36506eca096 (patch) | |
tree | 238de087a6ba0e1cb18feae0d179af5852327646 /user | |
parent | 3c5818ff8bca825bac5a0053c12f1fbaffb2401f (diff) | |
download | apr-2d96599fe5aa9cabf96d1775634ae36506eca096.tar.gz |
make absolutely sure we have getgrnam_r() before calling it
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62533 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'user')
-rw-r--r-- | user/unix/groupinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/unix/groupinfo.c b/user/unix/groupinfo.c index 0b575a627..038675270 100644 --- a/user/unix/groupinfo.c +++ b/user/unix/groupinfo.c @@ -91,7 +91,7 @@ APR_DECLARE(apr_status_t) apr_get_groupid(apr_gid_t *groupid, const char *groupn struct group *gr; #ifndef BEOS -#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRGID_R) +#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRNAM_R) struct group grp; char grbuf[512]; |