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 main.c
Date Fri, 28 Sep 2001 15:24:34 GMT
wrowe       01/09/28 08:24:34

  Modified:    server   main.c
  Log:
    Debug conf pool constness.  This is a noop most of the time on most
    platforms, but it's only called twice per restart, so this is mostly
    harmless.
  
  Revision  Changes    Path
  1.101     +3 -0      httpd-2.0/server/main.c
  
  Index: main.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/main.c,v
  retrieving revision 1.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- main.c	2001/08/30 20:50:05	1.100
  +++ main.c	2001/09/28 15:24:34	1.101
  @@ -425,11 +425,14 @@
   	ap_run_open_logs(pconf, plog, ptemp, server_conf);
   	ap_run_post_config(pconf, plog, ptemp, server_conf);
   	apr_pool_destroy(ptemp);
  +	apr_pool_lock(pconf, 1);
   
   	ap_run_optional_fn_retrieve();
   
   	if (ap_mpm_run(pconf, plog, server_conf)) break;
  +	apr_pool_lock(pconf, 0);
       }
  +    apr_pool_lock(pconf, 0);
       destroy_and_exit_process(process, 0);
       return 0; /* Supress compiler warning. */
   }
  
  
  

Mime
View raw message