apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@apache.org
Subject cvs commit: apr/user/unix groupinfo.c
Date Sun, 23 Nov 2003 20:16:59 GMT
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;
   }
  
  
  

Mime
View raw message