]> granicus.if.org Git - apache/commitdiff
Clean up some code that BeOS doesn't use.
authorDavid Reid <dreid@apache.org>
Wed, 24 Nov 1999 16:46:03 +0000 (16:46 +0000)
committerDavid Reid <dreid@apache.org>
Wed, 24 Nov 1999 16:46:03 +0000 (16:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84151 13f79535-47bb-0310-9956-ffa450edef68

os/beos/beosd.c

index cb369c75dee6708e28aac4299ecc7d0c53775a5b..4934649882c3799a8baa31ee360e971a4fde253c 100644 (file)
@@ -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) {