diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-05-12 09:29:46 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-05-12 09:29:46 +0200 |
commit | 26fddacdc05fa5b660b3e9f425173e7ae294b48f (patch) | |
tree | 3a2e3ebbd6de7dc462ec4700fbf183631bb84a43 /subversion-1.7.4-httpd24.patch |
subversion: import from rawhide
Diffstat (limited to 'subversion-1.7.4-httpd24.patch')
-rw-r--r-- | subversion-1.7.4-httpd24.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/subversion-1.7.4-httpd24.patch b/subversion-1.7.4-httpd24.patch new file mode 100644 index 0000000..e7fe352 --- /dev/null +++ b/subversion-1.7.4-httpd24.patch @@ -0,0 +1,36 @@ + +http://svn.apache.org/viewvc?view=revision&revision=1232267 + +--- subversion-1.7.4/subversion/mod_dav_svn/util.c.httpd24 ++++ subversion-1.7.4/subversion/mod_dav_svn/util.c +@@ -624,19 +624,20 @@ void dav_svn__log_err(request_rec *r, + /* Log the errors */ + /* ### should have a directive to log the first or all */ + for (errscan = err; errscan != NULL; errscan = errscan->prev) { ++ apr_status_t status; ++ + if (errscan->desc == NULL) + continue; + +- if (errscan->save_errno != 0) { +- errno = errscan->save_errno; +- ap_log_rerror(APLOG_MARK, level, errno, r, "%s [%d, #%d]", +- errscan->desc, errscan->status, errscan->error_id); +- } +- else { +- ap_log_rerror(APLOG_MARK, level, 0, r, +- "%s [%d, #%d]", +- errscan->desc, errscan->status, errscan->error_id); +- } ++#if AP_MODULE_MAGIC_AT_LEAST(20091119,0) ++ status = errscan->aprerr; ++#else ++ status = errscan->save_errno; ++#endif ++ ++ ap_log_rerror(APLOG_MARK, level, status, r, ++ "%s [%d, #%d]", ++ errscan->desc, errscan->status, errscan->error_id); + } + } + |