manoj       99/02/17 21:43:52

  Modified:    pthreads/src/main http_main.c
  Log:
  More SIGUSR1 -> SIGWINCH changes.
  
  Revision  Changes    Path
  1.45      +4 -4      apache-apr/pthreads/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -u -r1.44 -r1.45
  --- http_main.c       1999/02/18 05:39:52     1.44
  +++ http_main.c       1999/02/18 05:43:51     1.45
  @@ -182,7 +182,7 @@
   
   /*
    * The max child slot ever assigned, preserved across restarts.  Necessary
  - * to deal with MaxClients changes across SIGUSR1 restarts.  We use this
  + * to deal with MaxClients changes across SIGWINCH restarts.  We use this
    * value to optimize routines that have to scan the entire scoreboard.
    */
   static int max_daemons_limit = -1;
  @@ -576,7 +576,7 @@
       sigfillset(&accept_block_mask);
       sigdelset(&accept_block_mask, SIGHUP);
       sigdelset(&accept_block_mask, SIGTERM);
  -    sigdelset(&accept_block_mask, SIGUSR1);
  +    sigdelset(&accept_block_mask, SIGWINCH);
       ap_register_cleanup(p, NULL, accept_mutex_cleanup, ap_null_cleanup);
   }
   
  @@ -1678,9 +1678,9 @@
   #ifdef SIGHUP
       signal(SIGHUP, restart);
   #endif /* SIGHUP */
  -#ifdef SIGUSR1
  +#ifdef SIGWINCH
       signal(SIGWINCH, restart);
  -#endif /* SIGUSR1 */
  +#endif /* SIGWINCH */
   #endif
   }
   
  
  
  

Reply via email to