You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dr...@hyperreal.org on 1999/12/15 12:54:36 UTC

cvs commit: apache-2.0/src/os/beos beosd.c

dreid       99/12/15 03:54:36

  Modified:    src/os/beos beosd.c
  Log:
  A small change to allow Apache to run on the most recent versions
  of BeOS.
  
  Revision  Changes    Path
  1.8       +3 -0      apache-2.0/src/os/beos/beosd.c
  
  Index: beosd.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/beos/beosd.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- beosd.c	1999/11/24 16:46:03	1.7
  +++ beosd.c	1999/12/15 11:54:35	1.8
  @@ -109,6 +109,8 @@
   
   static int set_group_privs(void)
   {
  +#if B_BEOS_VERSION < 0x0460
  +
       if (!geteuid()) {
   	char *name;
   
  @@ -147,6 +149,7 @@
   	    return -1;
   	}
       }
  +#endif
       return 0;
   }