httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@hyperreal.org
Subject cvs commit: apache-2.0/src/os/beos beosd.c
Date Wed, 24 Nov 1999 16:46:09 GMT
dreid       99/11/24 08:46:06

  Modified:    src/os/beos beosd.c
  Log:
  Clean up some code that BeOS doesn't use.
  
  Revision  Changes    Path
  1.7       +0 -16     apache-2.0/src/os/beos/beosd.c
  
  Index: beosd.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/beos/beosd.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- beosd.c	1999/11/19 18:49:09	1.6
  +++ beosd.c	1999/11/24 16:46:03	1.7
  @@ -65,26 +65,10 @@
   
   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) {
  
  
  

Mime
View raw message