From 71a71fd96fae31afa3a670135736c87cd815dc3b Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 24 Nov 1999 16:46:03 +0000 Subject: [PATCH] Clean up some code that BeOS doesn't use. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84151 13f79535-47bb-0310-9956-ffa450edef68 --- os/beos/beosd.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/os/beos/beosd.c b/os/beos/beosd.c index cb369c75de..4934649882 100644 --- a/os/beos/beosd.c +++ b/os/beos/beosd.c @@ -65,26 +65,10 @@ beosd_config_rec beosd_config; void beosd_detach(void) { -/* int x; This isn't needed due to the fork() issue */ pid_t pgrp; chdir("/"); -/* - * fork() is evil if we're also doing spawn_thread...so we don't use it. - * This means that it won't detach properly, so we'll have to find a way - * round this. - */ -/* - if ((x = fork()) > 0) - exit(0); - else if (x == -1) { - perror("fork"); - ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL, - "%s: unable to fork new process", ap_server_argv0); - exit(1); - } -*/ RAISE_SIGSTOP(DETACH); if ((pgrp = setsid()) == -1) { -- 2.50.1