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 Tue, 13 Feb 2001 21:01:16 GMT
dreid       01/02/13 13:01:16

  Modified:    user/unix groupinfo.c
  Log:
  Again, BeOS doesn't really have the notion of groups and users at the moment,
  so we'll just ignore this until it does.
  
  Revision  Changes    Path
  1.3       +3 -0      apr/user/unix/groupinfo.c
  
  Index: groupinfo.c
  ===================================================================
  RCS file: /home/cvs/apr/user/unix/groupinfo.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- groupinfo.c	2001/01/28 02:04:41	1.2
  +++ groupinfo.c	2001/02/13 21:01:14	1.3
  @@ -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 @@
           return errno;
       }
       *groupname = apr_pstrdup(p, gr->gr_name);
  +#endif
       return APR_SUCCESS;
   }
     
  
  
  

Mime
View raw message