In 1.7.x branch[1] svn fails to compile against apache 2.4. In trunk
it is already fixed.


Cheers
Mario


[1] 
http://svn.apache.org/repos/asf/subversion/branches/1.7.x/subversion/mod_dav_svn/
Index: util.c
===================================================================
--- util.c      (revision 1299310)
+++ util.c      (working copy)
@@ -627,8 +627,14 @@
         if (errscan->desc == NULL)
             continue;
 
-        if (errscan->save_errno != 0) {
+#if AP_MODULE_MAGIC_AT_LEAST(20091119,0)                       
+        if (errscan->aprerr != 0) {
+            errno = errscan->aprerr;
+#else
+               if (errscan->save_errno != 0) {
             errno = errscan->save_errno;
+#endif
+
             ap_log_rerror(APLOG_MARK, level, errno, r, "%s  [%d, #%d]",
                           errscan->desc, errscan->status, errscan->error_id);
         }

Reply via email to