]> granicus.if.org Git - apache/commitdiff
rename miss: s/apr_clear_pool/apr_pool_clear/g
authorDoug MacEachern <dougm@apache.org>
Mon, 19 Feb 2001 02:06:58 +0000 (02:06 +0000)
committerDoug MacEachern <dougm@apache.org>
Mon, 19 Feb 2001 02:06:58 +0000 (02:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88232 13f79535-47bb-0310-9956-ffa450edef68

12 files changed:
modules/aaa/mod_auth.c
modules/aaa/mod_auth_digest.c
modules/generators/mod_autoindex.c
modules/test/mod_autoindex.c
server/main.c
server/mpm/beos/beos.c
server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c
server/mpm/prefork/prefork.c
server/mpm/spmt_os2/spmt_os2.c
server/mpm/threaded/threaded.c
server/mpm/winnt/mpm_winnt.c

index 84779fe84ab9b43954e63f959c0b846902539080..d96d2f2fd9cd3d8db281a764e1431e0ce3d05220 100644 (file)
@@ -173,7 +173,7 @@ static apr_table_t *groups_for_user(apr_pool_t *p, char *user, char *grpfile)
        if ((l[0] == '#') || (!l[0]))
            continue;
        ll = l;
-       apr_clear_pool(sp);
+       apr_pool_clear(sp);
 
        group_name = ap_getword(sp, &ll, ':');
 
index 8c95d3385dda68ee1114523f4c0b1781d1361039..34132702815fff7815f134fceaca560fd4d3c01c 100644 (file)
@@ -1795,7 +1795,7 @@ static apr_table_t *groups_for_user(request_rec *r, const char *user,
        if ((l[0] == '#') || (!l[0]))
            continue;
        ll = l;
-       apr_clear_pool(sp);
+       apr_pool_clear(sp);
 
        group_name = ap_getword(sp, &ll, ':');
 
index 6b8eb5cfa1b4effbce6d3b6ee2434342eeae4127..600ade804aeb5b4da2e395785198e0c604209b08 100644 (file)
@@ -1373,7 +1373,7 @@ static void output_directories(struct ent **ar, int n,
        char *anchor, *t, *t2;
        int nwidth;
 
-       apr_clear_pool(scratch);
+       apr_pool_clear(scratch);
 
        if (is_parent(ar[x]->name)) {
            t = ap_make_full_path(scratch, name, "../");
index 903eca098661956759dda9eb7bc790e6f0c2ae07..bc0be1ea140f742867acb3bb436e22437494eceb 100644 (file)
@@ -1372,7 +1372,7 @@ static void output_directories(struct ent **ar, int n,
        char *anchor, *t, *t2;
        int nwidth;
 
-       apr_clear_pool(scratch);
+       apr_pool_clear(scratch);
 
        if (is_parent(ar[x]->name)) {
            t = ap_make_full_path(scratch, name, "../");
index 2edc59f35010bb7a21176c74b91425e4957a112f..74f79f59398c536c626b2ded5637c2903b572f2f 100644 (file)
@@ -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);
index bf8535542d46731b8abf190edd08b680202f52eb..8394598a06ad7f025feacccb359fd9e75f01abc1 100644 (file)
@@ -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);
index bce0bbb7fbd1d652318c6bbf0355d2328e880073..a7773af5b4fd4bd2e604cace9759d41af3f31fa0 100644 (file)
@@ -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);
index bce0bbb7fbd1d652318c6bbf0355d2328e880073..a7773af5b4fd4bd2e604cace9759d41af3f31fa0 100644 (file)
@@ -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);
index e8d14691542e9650ce8dc07c80ffd2014be84bcb..3631aa355b34ba7c37dccf1950a0667f00963a7a 100644 (file)
@@ -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)) {
index 0842432e65f78b42a86b82b320f5a1aed294fcb1..309fb80beb7d434e781df1190a05fca4f43ef694 100644 (file)
@@ -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)) {
index 90a2371eecbb8d91837be532d2a20da959884f00..efe59cedde97b9d7ee48ffc44653a4630bac9547 100644 (file)
@@ -563,7 +563,7 @@ static void * worker_thread(void * dummy)
             }
             break;
         }
-        apr_clear_pool(ptrans);
+        apr_pool_clear(ptrans);
     }
 
     apr_pool_destroy(tpool);
index 0a154982ad40d5ec8c3da8c2c2923b24522f5b50..c5d829d2c77eec8fbd2d229643cc51d6673ee211 100644 (file)
@@ -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 */