Return-Path: Delivered-To: apmail-apr-cvs-archive@www.apache.org Received: (qmail 38064 invoked from network); 23 Nov 2003 20:17:00 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Nov 2003 20:17:00 -0000 Received: (qmail 46677 invoked by uid 500); 23 Nov 2003 20:16:50 -0000 Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 46583 invoked by uid 500); 23 Nov 2003 20:16:49 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 46570 invoked from network); 23 Nov 2003 20:16:49 -0000 Date: 23 Nov 2003 20:16:59 -0000 Message-ID: <20031123201659.38047.qmail@minotaur.apache.org> From: dreid@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/user/unix groupinfo.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N dreid 2003/11/23 12:16:59 Modified: user/unix groupinfo.c Log: Rumours of the demise of group information on BeOS have been greatly exaggerated :) Well, after this patch they have been anyway. Revision Changes Path 1.15 +0 -4 apr/user/unix/groupinfo.c Index: groupinfo.c =================================================================== RCS file: /home/cvs/apr/user/unix/groupinfo.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- groupinfo.c 3 Sep 2003 18:26:58 -0000 1.14 +++ groupinfo.c 23 Nov 2003 20:16:59 -0000 1.15 @@ -70,7 +70,6 @@ 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; @@ -83,7 +82,6 @@ return errno; } *groupname = apr_pstrdup(p, gr->gr_name); -#endif return APR_SUCCESS; } @@ -91,7 +89,6 @@ const char *groupname, apr_pool_t *p) { struct group *gr; -#ifndef BEOS #if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && defined(HAVE_GETGRNAM_R) struct group grp; @@ -104,6 +101,5 @@ return errno; } *groupid = gr->gr_gid; -#endif return APR_SUCCESS; }