From: David Reid Date: Wed, 15 Dec 1999 11:54:35 +0000 (+0000) Subject: A small change to allow Apache to run on the most recent versions X-Git-Tag: 1.3.10~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84ade74b140764b1d97039993d48dc307a1fabf9;p=apache A small change to allow Apache to run on the most recent versions of BeOS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84295 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/os/beos/beosd.c b/os/beos/beosd.c index 4934649882..6e450cec99 100644 --- a/os/beos/beosd.c +++ b/os/beos/beosd.c @@ -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; }