Randy Kobes wrote:
On Thu, 24 Jun 2004, Joe Schaefer wrote:


Joe Schaefer <[EMAIL PROTECTED]> writes:


Perhaps using APR_OPTIONAL_FN* will do the trick here?

Proof-of-concept patch below. I don't know how to produce a BOOT stanza in WrapXS/APR/Pool/Pool.xs, so after applying this patch you also need to edit that file so the bottom looks like so

[ .. ]

Works great for me - thanks, Joe! Here's a copy of the patch
together with a small addition to lib/ModPerl/WrapXS.pm
which makes that change mentioned above to the end of
APR/APR/Pool/Pool.xs.

neat! Great idea Joe!

+ (void)mpopt_interp_unselect(cdata->interp);

but please use modperl_opt_ prefix if that's OK with you.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to