martin      99/11/26 12:21:19

  Modified:    src/main util.c
  Log:
  BS2000 has setgroups(), so the 'real' initgroups() emulation can be used.
  
  Revision  Changes    Path
  1.174     +2 -2      apache-1.3/src/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/util.c,v
  retrieving revision 1.173
  retrieving revision 1.174
  diff -u -r1.173 -r1.174
  --- util.c    1999/10/21 20:44:44     1.173
  +++ util.c    1999/11/26 20:21:18     1.174
  @@ -1469,7 +1469,7 @@
   
   /* c2x takes an unsigned, and expects the caller has guaranteed that
    * 0 <= what < 256... which usually means that you have to cast to
  - * unsigned char first, because (unsigned)(char)(x) fist goes through
  + * unsigned char first, because (unsigned)(char)(x) first goes through
    * signed extension to an int before the unsigned cast.
    *
    * The reason for this assumption is to assist gcc code generation --
  @@ -1746,7 +1746,7 @@
   #ifdef NEED_INITGROUPS
   int initgroups(const char *name, gid_t basegid)
   {
  -#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(_OSD_POSIX) || 
defined(TPF) || defined(__TANDEM) || defined(NETWARE)
  +#if defined(QNX) || defined(MPE) || defined(BEOS) || defined(TPF) || 
defined(__TANDEM) || defined(NETWARE)
   /* QNX, MPE and BeOS do not appear to support supplementary groups. */
       return 0;
   #else /* ndef QNX */
  
  
  

Reply via email to