summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>2014-11-26 17:02:34 +0100
committerAndreas Gruenbacher <agruen@linbit.com>2014-11-30 15:35:31 +0100
commit3fd4144ae983cc8a7398ba6aa830f71e779bbdfd (patch)
tree1455c4c012f8a1601f1849ad69244f75c44bd656 /src
parent65193f1cc1bf38bdd63d1f3087b0d7e16ad3f082 (diff)
downloadpatch-3fd4144ae983cc8a7398ba6aa830f71e779bbdfd.tar.gz
build: update gnulib submodule to latest
* src/merge.c (compute_changes): The TOO_EXPENSIVE heuristic in diffseq has been removed, including compareseq's find_minimal parameter and the context's too_expensive limit. Adjust.
Diffstat (limited to 'src')
-rw-r--r--src/merge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/merge.c b/src/merge.c
index 4d7c11c..0db34d0 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -564,9 +564,8 @@ compute_changes (lin xmin, lin xmax, lin ymin, lin ymax,
ctxt.bdiag += ymax + 1;
ctxt.heuristic = true;
- ctxt.too_expensive = xmax + ymax;
- compareseq (xmin, xmax, ymin, ymax, true, &ctxt);
+ compareseq (xmin, xmax, ymin, ymax, &ctxt);
ctxt.fdiag -= ymax + 1;
free (ctxt.fdiag);