httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c
Date Fri, 08 Nov 2002 16:31:37 GMT
wrowe       2002/11/08 08:31:37

  Modified:    server/mpm/winnt mpm_winnt.c
  Log:
    We didn't atexit() the win32 keep-console-open-on-error handler early
    enough to catch some preflight errors.
  
  Revision  Changes    Path
  1.296     +4 -4      httpd-2.0/server/mpm/winnt/mpm_winnt.c
  
  Index: mpm_winnt.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/winnt/mpm_winnt.c,v
  retrieving revision 1.295
  retrieving revision 1.296
  diff -u -r1.295 -r1.296
  --- mpm_winnt.c	30 Aug 2002 16:12:59 -0000	1.295
  +++ mpm_winnt.c	8 Nov 2002 16:31:37 -0000	1.296
  @@ -1142,7 +1142,10 @@
       
       /* This is the parent, we have a long way to go :-) */
       parent_pid = my_pid = GetCurrentProcessId();
  -    
  +
  +    /* This behavior is voided by setting real_exit_code to 0 */
  +    atexit(hold_console_open_on_error);
  +
       /* Rewrite process->argv[]; 
        *
        * strip out -k signal into signal_arg
  @@ -1365,9 +1368,6 @@
       /* Initialize shared static objects. 
        */
       pconf = pconf_;
  -
  -    /* This behavior is voided by setting real_exit_code to 0 */
  -    atexit(hold_console_open_on_error);
   
       if (ap_exists_config_define("ONE_PROCESS") ||
           ap_exists_config_define("DEBUG"))
  
  
  

Mime
View raw message