You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/02/14 23:13:12 UTC

svn commit: r1070684 - /subversion/trunk/subversion/libsvn_diff/diff_file.c

Author: danielsh
Date: Mon Feb 14 22:13:12 2011
New Revision: 1070684

URL: http://svn.apache.org/viewvc?rev=1070684&view=rev
Log:
* subversion/libsvn_diff/diff_file.c
  (SUFFIX_LINES_TO_KEEP): Define only if not already defined.

Modified:
    subversion/trunk/subversion/libsvn_diff/diff_file.c

Modified: subversion/trunk/subversion/libsvn_diff/diff_file.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/diff_file.c?rev=1070684&r1=1070683&r2=1070684&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/diff_file.c (original)
+++ subversion/trunk/subversion/libsvn_diff/diff_file.c Mon Feb 14 22:13:12 2011
@@ -503,7 +503,9 @@ find_identical_prefix(svn_boolean_t *rea
  * The number 50 is more or less arbitrary, based on some real-world tests
  * with big files (and then doubling the required number to be on the safe
  * side). This has a negligible effect on the power of the optimization. */
+#ifndef SUFFIX_LINES_TO_KEEP
 #define SUFFIX_LINES_TO_KEEP 50
+#endif
 
 /* Find the suffix which is identical between all elements of the FILE array.
  * Return the number of suffix lines in SUFFIX_LINES.