subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1070684 - /subversion/trunk/subversion/libsvn_diff/diff_file.c
Date Mon, 14 Feb 2011 22:13:12 GMT
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.



Mime
View raw message