You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Aaron Bannert <aa...@ebuilt.com> on 2001/07/24 01:55:33 UTC

[PATCH] typos in arch/unix/inherit.h

Just a couple of typos from Will's last patch. Gets us building
again.


Index: include/arch/unix/inherit.h
===================================================================
RCS file: /home/cvspublic/apr/include/arch/unix/inherit.h,v
retrieving revision 1.4
diff -u -r1.4 inherit.h
--- include/arch/unix/inherit.h	2001/07/23 22:19:13	1.4
+++ include/arch/unix/inherit.h	2001/07/23 23:51:20
@@ -64,7 +64,7 @@
 {                                                                   \
     if (!(name->flag & APR_INHERIT)) {                              \
         name->flag |= APR_INHERIT;                                  \
-        apr_pool_cleanup_child_set(name->pool, (void *)name,        \
+        apr_pool_child_cleanup_set(name->pool, (void *)name,        \
                                    cleanup, apr_pool_cleanup_null); \
     }                                                               \
 }
@@ -75,7 +75,7 @@
     if (name->flag & APR_INHERIT) {                                 \
         name->flag &= ~APR_INHERIT;                                 \
         apr_pool_cleanup_kill(name->pool, (void *)name,             \
-                              cleanup, cleanup);                    \
+                              cleanup);                             \
     }                                                               \
 }
 


Re: [PATCH] typos in arch/unix/inherit.h

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Sorry.  Just committed the 'right' patch to toggle the child cleanup
between a null cleanup and the 'real' cleanup.

Let me know of any problems.

Bill

----- Original Message ----- 
From: "Aaron Bannert" <aa...@ebuilt.com>
To: <de...@apr.apache.org>
Sent: Monday, July 23, 2001 6:55 PM
Subject: [PATCH] typos in arch/unix/inherit.h


> 
> Just a couple of typos from Will's last patch. Gets us building
> again.
> 
> 
> Index: include/arch/unix/inherit.h
> ===================================================================
> RCS file: /home/cvspublic/apr/include/arch/unix/inherit.h,v
> retrieving revision 1.4
> diff -u -r1.4 inherit.h
> --- include/arch/unix/inherit.h 2001/07/23 22:19:13 1.4
> +++ include/arch/unix/inherit.h 2001/07/23 23:51:20
> @@ -64,7 +64,7 @@
>  {                                                                   \
>      if (!(name->flag & APR_INHERIT)) {                              \
>          name->flag |= APR_INHERIT;                                  \
> -        apr_pool_cleanup_child_set(name->pool, (void *)name,        \
> +        apr_pool_child_cleanup_set(name->pool, (void *)name,        \
>                                     cleanup, apr_pool_cleanup_null); \
>      }                                                               \
>  }
> @@ -75,7 +75,7 @@
>      if (name->flag & APR_INHERIT) {                                 \
>          name->flag &= ~APR_INHERIT;                                 \
>          apr_pool_cleanup_kill(name->pool, (void *)name,             \
> -                              cleanup, cleanup);                    \
> +                              cleanup);                             \
>      }                                                               \
>  }
>  
> 
> 



Re: [PATCH] typos in arch/unix/inherit.h

Posted by Cliff Woolley <cl...@yahoo.com>.
On Mon, 23 Jul 2001, Aaron Bannert wrote:

> Just a couple of typos from Will's last patch. Gets us building
> again.

Yeah, I was just looking at that.  Thanks for the patch--I couldn't figure
out what the deal was with that first one.  Didn't notice the words were
just transposed.  =-)

Committed.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA