You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2002/12/02 16:41:55 UTC

cvs commit: httpd-2.0/server/mpm/netware mpm_netware.c

bnicholes    2002/12/02 07:41:55

  Modified:    server/mpm/netware Tag: APACHE_2_0_BRANCH mpm_netware.c
  Log:
  Make sure that the Apache screen is not held open if the -E parameter has
  been specified on the command line.  Since all of the error messages are
  going to a file anyway, there is no need to hold the screen open on exit.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.62.2.1  +6 -2      httpd-2.0/server/mpm/netware/mpm_netware.c
  
  Index: mpm_netware.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/netware/mpm_netware.c,v
  retrieving revision 1.62
  retrieving revision 1.62.2.1
  diff -u -r1.62 -r1.62.2.1
  --- mpm_netware.c	13 Nov 2002 21:14:02 -0000	1.62
  +++ mpm_netware.c	2 Dec 2002 15:41:55 -0000	1.62.2.1
  @@ -912,8 +912,12 @@
   
       startup_workers(ap_threads_to_start);
   
  -     /* Allow the Apache screen to be closed normally on exit()*/
  -    hold_screen_on_exit = 0;
  +     /* Allow the Apache screen to be closed normally on exit() only if it
  +        has not been explicitly forced to close on exit(). (ie. the -E flag
  +        was specified at startup) */
  +    if (hold_screen_on_exit > 0) {
  +        hold_screen_on_exit = 0;
  +    }
   
       ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, ap_server_conf,
   		"%s configured -- resuming normal operations",