]> granicus.if.org Git - apache/commitdiff
A small change to allow Apache to run on the most recent versions
authorDavid Reid <dreid@apache.org>
Wed, 15 Dec 1999 11:54:35 +0000 (11:54 +0000)
committerDavid Reid <dreid@apache.org>
Wed, 15 Dec 1999 11:54:35 +0000 (11:54 +0000)
of BeOS.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84295 13f79535-47bb-0310-9956-ffa450edef68

os/beos/beosd.c

index 4934649882c3799a8baa31ee360e971a4fde253c..6e450cec9996cb6a60bfaae61a8bdb8b2f121f16 100644 (file)
@@ -109,6 +109,8 @@ void beosd_detach(void)
 
 static int set_group_privs(void)
 {
+#if B_BEOS_VERSION < 0x0460
+
     if (!geteuid()) {
        char *name;
 
@@ -147,6 +149,7 @@ static int set_group_privs(void)
            return -1;
        }
     }
+#endif
     return 0;
 }