You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2011/03/16 16:53:34 UTC
svn commit: r1082170 - /httpd/httpd/trunk/server/main.c
Author: jorton
Date: Wed Mar 16 15:53:34 2011
New Revision: 1082170
URL: http://svn.apache.org/viewvc?rev=1082170&view=rev
Log:
* server/main.c (main): Use the real null cleanup callback.
Modified:
httpd/httpd/trunk/server/main.c
Modified: httpd/httpd/trunk/server/main.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/main.c?rev=1082170&r1=1082169&r2=1082170&view=diff
==============================================================================
--- httpd/httpd/trunk/server/main.c (original)
+++ httpd/httpd/trunk/server/main.c Wed Mar 16 15:53:34 2011
@@ -621,7 +621,7 @@ int main(int argc, const char * const ar
destroy_and_exit_process(process, 1);
}
apr_pool_cleanup_register(pconf, &ap_server_conf, ap_pool_cleanup_set_null,
- NULL);
+ apr_pool_cleanup_null);
apr_hook_sort_all();
if (ap_run_pre_config(pconf, plog, ptemp) != OK) {
@@ -709,7 +709,7 @@ int main(int argc, const char * const ar
destroy_and_exit_process(process, 1);
}
apr_pool_cleanup_register(pconf, &ap_server_conf,
- ap_pool_cleanup_set_null, NULL);
+ ap_pool_cleanup_set_null, apr_pool_cleanup_null);
apr_hook_sort_all();
if (ap_run_pre_config(pconf, plog, ptemp) != OK) {
Re: svn commit: r1082170 - /httpd/httpd/trunk/server/main.c
Posted by Stefan Fritsch <sf...@sfritsch.de>.
On Wednesday 16 March 2011, Dan Poirier wrote:
> On Wed. 2011-03-16 at 11:53 AM EDT, jorton@apache.org wrote:
> > Author: jorton
> > Date: Wed Mar 16 15:53:34 2011
> > New Revision: 1082170
> >
> > URL: http://svn.apache.org/viewvc?rev=1082170&view=rev
> > Log:
> > * server/main.c (main): Use the real null cleanup callback.
>
> Thanks Joe, I'd just spent the morning trying to figure out why no
> CGI scripts were working (they seemed to crash shortly after the
> fork) and this solved it.
Sorry about that. I guess I should not make any last minute commits
before going on vacation.
Cheers,
Stefan
Re: svn commit: r1082170 - /httpd/httpd/trunk/server/main.c
Posted by Dan Poirier <po...@pobox.com>.
On Wed. 2011-03-16 at 11:53 AM EDT, jorton@apache.org wrote:
> Author: jorton
> Date: Wed Mar 16 15:53:34 2011
> New Revision: 1082170
>
> URL: http://svn.apache.org/viewvc?rev=1082170&view=rev
> Log:
> * server/main.c (main): Use the real null cleanup callback.
Thanks Joe, I'd just spent the morning trying to figure out why no CGI
scripts were working (they seemed to crash shortly after the fork) and
this solved it.
Dan