From 84ade74b140764b1d97039993d48dc307a1fabf9 Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 15 Dec 1999 11:54:35 +0000 Subject: [PATCH] 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 --- os/beos/beosd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os/beos/beosd.c b/os/beos/beosd.c index 4934649882c..6e450cec999 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; } -- 2.47.2