apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: cvs commit: apr/memory/unix apr_pools.c
Date Mon, 23 Jul 2001 22:40:53 GMT
On Mon, Jul 23, 2001 at 10:19:13PM -0000, wrowe@apache.org wrote:
> wrowe       01/07/23 15:19:13
> 
>   Modified:    include  apr_pools.h
>                include/arch/unix inherit.h
>                memory/unix apr_pools.c
>   Log:
>     Depricated the broken apr_pool_child_cleanup_kill, and added the new
>     apr_pool_child_cleanup_set() to replace the registered child cleanup
>     with another cleanup fn.  Fixed the inherit macro declarations to never
>     register a NULL cleanup fn.

Think you didn't mean to change this.  -- justin

Index: memory/unix/apr_pools.c
===================================================================
RCS file: /home/cvs/apr/memory/unix/apr_pools.c,v
retrieving revision 1.102
diff -u -r1.102 apr_pools.c
--- memory/unix/apr_pools.c	2001/07/23 22:19:13	1.102
+++ memory/unix/apr_pools.c	2001/07/23 22:37:56
@@ -717,9 +717,8 @@
     }
 }
 
-APR_DECLARE(void) apr_pool_child_cleanup_set(apr_pool_t *p, const void *data,
-                                   apr_status_t (*plain_cleanup) (void *))
-                                   apr_status_t (*plain_cleanup) (void *))
+APR_DECLARE(void) apr_pool_cleanup_kill(apr_pool_t *p, const void *data,
+                                        apr_status_t (*cleanup) (void *))
 {
     struct cleanup *c;
     struct cleanup **lastp;


Mime
View raw message