diff options
author | Doug MacEachern <dougm@apache.org> | 2001-02-19 03:06:58 +0100 |
---|---|---|
committer | Doug MacEachern <dougm@apache.org> | 2001-02-19 03:06:58 +0100 |
commit | 18f173e91811378937addcc3e98b6b7bc886c575 (patch) | |
tree | 8816710b45730a0ac2abfc0c86c2a1c36fa3504a /server | |
parent | Intermediate change of hardcoded "helpers" reference to "build" (diff) | |
download | apache2-18f173e91811378937addcc3e98b6b7bc886c575.tar.xz apache2-18f173e91811378937addcc3e98b6b7bc886c575.zip |
rename miss: s/apr_clear_pool/apr_pool_clear/g
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88232 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/main.c | 6 | ||||
-rw-r--r-- | server/mpm/beos/beos.c | 2 | ||||
-rw-r--r-- | server/mpm/experimental/perchild/perchild.c | 2 | ||||
-rw-r--r-- | server/mpm/perchild/perchild.c | 2 | ||||
-rw-r--r-- | server/mpm/prefork/prefork.c | 2 | ||||
-rw-r--r-- | server/mpm/spmt_os2/spmt_os2.c | 2 | ||||
-rw-r--r-- | server/mpm/threaded/threaded.c | 2 | ||||
-rw-r--r-- | server/mpm/winnt/mpm_winnt.c | 4 |
8 files changed, 11 insertions, 11 deletions
diff --git a/server/main.c b/server/main.c index 2edc59f350..74f79f5939 100644 --- a/server/main.c +++ b/server/main.c @@ -392,14 +392,14 @@ int main(int argc, const char * const argv[]) ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL, "Syntax OK\n"); destroy_and_exit_process(process, 0); } - apr_clear_pool(plog); + apr_pool_clear(plog); ap_run_open_logs(pconf, plog, ptemp, server_conf); ap_post_config_hook(pconf, plog, ptemp, server_conf); apr_pool_destroy(ptemp); for (;;) { apr_hook_deregister_all(); - apr_clear_pool(pconf); + apr_pool_clear(pconf); for (mod = ap_prelinked_modules; *mod != NULL; mod++) { ap_register_hooks(*mod, pconf); } @@ -418,7 +418,7 @@ int main(int argc, const char * const argv[]) ap_fixup_virtual_hosts(pconf, server_conf); ap_fini_vhost_config(pconf, server_conf); apr_sort_hooks(); - apr_clear_pool(plog); + apr_pool_clear(plog); ap_run_open_logs(pconf, plog, ptemp, server_conf); ap_post_config_hook(pconf, plog, ptemp, server_conf); apr_pool_destroy(ptemp); diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index bf8535542d..8394598a06 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -428,7 +428,7 @@ static int32 worker_thread(void * dummy) apr_lock_release(accept_mutex); break; } - apr_clear_pool(ptrans); + apr_pool_clear(ptrans); } ap_update_child_status(0, child_slot, SERVER_DEAD, (request_rec*)NULL); diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index bce0bbb7fb..a7773af5b4 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -734,7 +734,7 @@ static void *worker_thread(void *arg) pthread_mutex_unlock(&idle_thread_count_mutex); break; } - apr_clear_pool(ptrans); + apr_pool_clear(ptrans); } pthread_mutex_lock(&thread_pool_parent_mutex); diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index bce0bbb7fb..a7773af5b4 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -734,7 +734,7 @@ static void *worker_thread(void *arg) pthread_mutex_unlock(&idle_thread_count_mutex); break; } - apr_clear_pool(ptrans); + apr_pool_clear(ptrans); } pthread_mutex_lock(&thread_pool_parent_mutex); diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index e8d1469154..3631aa355b 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -571,7 +571,7 @@ static void child_main(int child_num_arg) current_conn = NULL; - apr_clear_pool(ptrans); + apr_pool_clear(ptrans); if ((ap_max_requests_per_child > 0 && requests_this_child++ >= ap_max_requests_per_child)) { diff --git a/server/mpm/spmt_os2/spmt_os2.c b/server/mpm/spmt_os2/spmt_os2.c index 0842432e65..309fb80beb 100644 --- a/server/mpm/spmt_os2/spmt_os2.c +++ b/server/mpm/spmt_os2/spmt_os2.c @@ -551,7 +551,7 @@ static void thread_main(void *thread_num_arg) current_conn = NULL; - apr_clear_pool(ptrans); + apr_pool_clear(ptrans); if ((ap_max_requests_per_child > 0 && requests_this_child++ >= ap_max_requests_per_child)) { diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c index 90a2371eec..efe59cedde 100644 --- a/server/mpm/threaded/threaded.c +++ b/server/mpm/threaded/threaded.c @@ -563,7 +563,7 @@ static void * worker_thread(void * dummy) } break; } - apr_clear_pool(ptrans); + apr_pool_clear(ptrans); } apr_pool_destroy(tpool); diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 0a154982ad..c5d829d2c7 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -743,7 +743,7 @@ static PCOMP_CONTEXT win9x_get_connection(PCOMP_CONTEXT context) while (1) { - apr_clear_pool(context->ptrans); + apr_pool_clear(context->ptrans); context->accept_socket = remove_job(); if (context->accept_socket == -1) { return NULL; @@ -892,7 +892,7 @@ static apr_inline apr_status_t reset_acceptex_context(PCOMP_CONTEXT context) int rc, i; /* reset the buffer pools */ - apr_clear_pool(context->ptrans); + apr_pool_clear(context->ptrans); context->sock = NULL; /* recreate and initialize the accept socket if it is not being reused */ |