perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject [PATCH] Apache__RequestUtil.h fix
Date Tue, 05 Oct 2004 10:36:24 GMT
New build break with older compilers, from a declaration after a
statement:

--- xs/Apache/RequestUtil/Apache__RequestUtil.h	4 Oct 2004 19:27:37 -0000	1.26
+++ xs/Apache/RequestUtil/Apache__RequestUtil.h	5 Oct 2004 10:32:34 -0000
@@ -306,10 +306,12 @@
     const char *retval = ap_document_root(r);
     
     if (new_root) {
-        MP_CROAK_IF_THREADS_STARTED("setting $r->document_root");
         core_server_config *conf = 
             ap_get_module_config(r->server->module_config, 
                                  &core_module);
+
+        MP_CROAK_IF_THREADS_STARTED("setting $r->document_root");
+
         conf->ap_document_root = SvPV_nolen(new_root);
     }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message