Geoffrey Young wrote:
I needed to make the following changes in order to get the perl-framework running with Apache 2.1, which is now upated for APR 1.0. I went back and checked 2.0.39 and both the symbols are there, so the changes are good at least that far back. I guess we need to decide how far back support for httpd/apr should go...

Since this framework is used only by developers IMHO it should support the latest 2.0 and 2.1 trees, and may be the very last release in each trunk. it probably doesn't make any difference if older releases won't work with it. Please correct me if I'm wrong.


------------------------------------------------------------------------

Index: perl-framework/c-modules/input_body_filter/mod_input_body_filter.c
===================================================================
RCS file: /home/cvspublic/httpd-test/perl-framework/c-modules/input_body_filter/mod_input_body_filter.c,v
retrieving revision 1.10
diff -u -r1.10 mod_input_body_filter.c
--- perl-framework/c-modules/input_body_filter/mod_input_body_filter.c 28 Jun 2002 08:40:43 -0000 1.10
+++ perl-framework/c-modules/input_body_filter/mod_input_body_filter.c 4 Sep 2003 13:14:00 -0000
@@ -167,7 +167,7 @@
static const command_rec input_body_filter_cmds[] = {
AP_INIT_FLAG("InputBodyFilter", ap_set_flag_slot,
- APR_XtOffsetOf(input_body_filter_dcfg_t, enabled),
+ APR_OFFSETOF(input_body_filter_dcfg_t, enabled),
OR_ALL, "Enable input body filter"),
{ NULL }
};
Index: perl-framework/c-modules/test_apr_uri/mod_test_apr_uri.c
===================================================================
RCS file: /home/cvspublic/httpd-test/perl-framework/c-modules/test_apr_uri/mod_test_apr_uri.c,v
retrieving revision 1.4
diff -u -r1.4 mod_test_apr_uri.c
--- perl-framework/c-modules/test_apr_uri/mod_test_apr_uri.c 3 Feb 2003 17:11:01 -0000 1.4
+++ perl-framework/c-modules/test_apr_uri/mod_test_apr_uri.c 4 Sep 2003 13:14:00 -0000
@@ -217,7 +217,7 @@
}
*strp = 0;
- apr_pool_sub_make(&sub, r->pool, NULL);
+ apr_pool_create_ex(&sub, r->pool, NULL, NULL);
status = apr_uri_parse(sub, input_uri, &result);
if (status == APR_SUCCESS) {
#define CHECK(f) \


--


__________________________________________________________________ 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



Reply via email to