apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apr/lib apr_pools.c
Date Wed, 03 Jan 2001 03:47:50 GMT
rbb@apache.org writes:

> rbb         01/01/02 16:53:07
> 
>   Modified:    lib      apr_pools.c
>   Index: apr_pools.c
>   ===================================================================
>   RCS file: /home/cvs/apr/lib/apr_pools.c,v
>   retrieving revision 1.76
>   retrieving revision 1.77
>   diff -u -r1.76 -r1.77
>   --- apr_pools.c	2001/01/02 01:33:05	1.76
>   +++ apr_pools.c	2001/01/03 00:53:05	1.77
>   @@ -493,9 +493,6 @@
>    	}
>    	p->sub_pools = new_pool;
>        }
>   -    else {
>   -        permanent_pool = new_pool;
>   -    }
>    
>    #if APR_HAS_THREADS
>        if (alloc_mutex) {
>   @@ -691,6 +688,7 @@
>            return status;
>        }
>    #endif
>   +    permanent_pool = apr_make_sub_pool(pglobal);

How the !@#$ does this compile for you?  Surely it does (yeah, right)
as you had another commit to apr_pools.c after this one.

apr_pools.c: In function `apr_init_alloc':
apr_pools.c:691: `pglobal' undeclared (first use in this function)
apr_pools.c:691: (Each undeclared identifier is reported only once
apr_pools.c:691: for each function it appears in.)
apr_pools.c:691: too few arguments to function `apr_make_sub_pool' 

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message