On Mon, Jul 23, 2001 at 10:19:13PM -0000, [EMAIL PROTECTED] 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;