apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brian.p...@cnet.com>
Subject Re: [PATCH] bucket debugging.
Date Wed, 13 Aug 2003 03:34:16 GMT
On Tue, 2003-08-12 at 20:20, Cliff Woolley wrote:
> Any objections to the following patch?  All you do is pass
> -DAPR_BUCKET_DEBUG to ./configure and then several things happen:
>   1) the brigades get checked for consistency at various strategic points
>   2) and apr_bucket_free() calls are checked for double-free conditions
>      (eg, you destroyed the same bucket twice, or destroyed one and then
>      kept on using it, which causes all kinds of nasty and impossible to
>      debug things to happen).
> If you don't define APR_BUCKET_DEBUG, it's all a no-op and is thrown away
> by the preprocessor.



View raw message