ignored how? 2.0.38 compiles cleanly but then throws a runtime error when I try and use the function (which I guess that is how it always works when you call an undefined C function)


Hmm, right, I think WrapXS picks things from the Function.pm and not actually checking the C-source.

In that case we need to write a wrapper, which will run, but report a 'not implemented' error.

ok.



modperl_apache_compat.c does exactly that. make sure to mark when it was added so when we bump up the minimal required version we can remove the old workarounds.

ap_table_compress first appears in 2.0.47. both 2.0.46 and 2.0.47 claim to have APR 0.9.4, so I guess we can't use that as a marker.


how about another function similar modperl_apr_func_not_implemented - the wording in that function is APR specific, but in this case APR version isn't sufficient (nor will it be when APR released don't follow httpd releases).

so, we probably need modperl_httpd_func_not_implemented, which would throw "() requires httpd version " #ver " or higher". even though it's an apr_ function and not an ap_ function, I think the meaning to the user is more clear.

--Geoff


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



Reply via email to