httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: httpd-2.0/modules/filters mod_include.c
Date Thu, 28 Feb 2002 21:22:43 GMT
On Thu, Feb 28, 2002 at 12:57:50PM -0500, Cliff Woolley wrote:
>...
> The following is equivalent to the above (except it runs in constant
> time):
> 
> /* prepend ctx->ssi_tag_brigade onto bb */
> APR_BRIGADE_CONCAT(ctx->ssi_tag_brigade, bb);
> APR_BRIGADE_CONCAT(bb, ctx->ssi_tag_brigade);
> 
> But I'd be fine with adding a prepend macro in the API if others agree
> it's useful.

That is *very* obtuse. I can't imagine anybody figuring out that idiom means
"prepend". Yes, please add an appropriate macro.

thx!
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message