httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-2.0/mpm/src/os/beos beosd.c
Date Mon, 26 Jul 1999 07:03:10 GMT
dgaudet     99/07/26 00:03:10

  Modified:    mpm/src/main listen.c
               mpm/src/os/beos beosd.c
  Log:
  some bug fixes from David
  
  Submitted by:	David Reid <beos@server1.jetnet.co.uk>
  
  Revision  Changes    Path
  1.4       +1 -1      apache-2.0/mpm/src/main/listen.c
  
  Index: listen.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/mpm/src/main/listen.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- listen.c	1999/06/29 02:49:26	1.3
  +++ listen.c	1999/07/26 07:03:09	1.4
  @@ -121,7 +121,7 @@
        *
        * If no size is specified, use the kernel default.
        */
  -#ifndef SO_SNDBUF
  +#ifdef SO_SNDBUF
       if (send_buffer_size) {
   	if (setsockopt(s, SOL_SOCKET, SO_SNDBUF,
   		(char *) &send_buffer_size, sizeof(int)) < 0) {
  
  
  
  1.2       +0 -8      apache-2.0/mpm/src/os/beos/beosd.c
  
  Index: beosd.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/mpm/src/os/beos/beosd.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- beosd.c	1999/07/12 22:51:13	1.1
  +++ beosd.c	1999/07/26 07:03:09	1.2
  @@ -79,19 +79,11 @@
       }
       RAISE_SIGSTOP(DETACH);
   
  -#ifndef NO_SETSID
       if ((pgrp = setsid()) == -1) {
   	perror("setsid");
   	fprintf(stderr, "%s: setsid failed\n", ap_server_argv0);
   	exit(1);
       }
  -#else
  -    if ((pgrp = setpgrp(getpid(), 0)) == -1) {
  -	perror("setpgrp");
  -	fprintf(stderr, "%s: setpgrp failed\n", ap_server_argv0);
  -	exit(1);
  -    }
  -#endif
   
       /* close out the standard file descriptors */
       if (freopen("/dev/null", "r", stdin) == NULL) {
  
  
  

Mime
View raw message