You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/04/07 23:35:35 UTC

svn commit: r931697 - /subversion/trunk/configure.ac

Author: hwright
Date: Wed Apr  7 21:35:34 2010
New Revision: 931697

URL: http://svn.apache.org/viewvc?rev=931697&view=rev
Log:
Don't allow the use of APR 1.4.x.

An issue in APR prevents the various printf flavors from correctly parsing the
'%lld' format specifier.  From APR 1.4.x onward, this specifier is used on
OS X for APR_OFF_T_FMT, which we use extensively througout FSFS (and other
places too).  This parsing error causes segfaults in Subversion, rread the
issue for the gory details.

APR issue 48476 tracks this problem:
https://issues.apache.org/bugzilla/show_bug.cgi?id=48476

* configure.ac
  (APR_VER_REGEXES): Specifically disallow APR 1.4.x.

Modified:
    subversion/trunk/configure.ac

Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=931697&r1=931696&r2=931697&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Wed Apr  7 21:35:34 2010
@@ -92,7 +92,10 @@ dnl   now generating errors instead of s
 dnl   them.  Only .7 and later can guarantee repository
 dnl   integrity with FSFS.
 
-APR_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\."]
+dnl APR 1.4.x is currently broken on OS X; see APR issue 48476 for
+dnl the details.
+
+APR_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\.[0-3]\."]
 APU_VER_REGEXES=["0\.9\.[7-9] 0\.9\.1[0-9] 1\."]
 
 SVN_LIB_APR($APR_VER_REGEXES)