Skip to content

Instantly share code, notes, and snippets.

@waltarix
Created March 27, 2012 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waltarix/2214101 to your computer and use it in GitHub Desktop.
Save waltarix/2214101 to your computer and use it in GitHub Desktop.
subversion: Fix building issue with Apache 2.4
--- a/subversion/mod_dav_svn/util.c 2012-02-03 01:13:30.000000000 +0900
+++ b/subversion/mod_dav_svn/util.c 2012-03-27 16:30:43.806155945 +0900
@@ -627,8 +627,8 @@
if (errscan->desc == NULL)
continue;
- if (errscan->save_errno != 0) {
- errno = errscan->save_errno;
+ if (errscan->aprerr != 0) {
+ errno = errscan->aprerr;
ap_log_rerror(APLOG_MARK, level, errno, r, "%s [%d, #%d]",
errscan->desc, errscan->status, errscan->error_id);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment