From a4ea24a127fa391d3b65f15e18db5af138f14ed2 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 20 Apr 2007 14:31:25 +0000 Subject: [PATCH] Bug fixed: off by one array access in the last patch. --- helm/software/matita/matitamakeLib.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/software/matita/matitamakeLib.ml b/helm/software/matita/matitamakeLib.ml index 553e1176f..f811c84e2 100644 --- a/helm/software/matita/matitamakeLib.ml +++ b/helm/software/matita/matitamakeLib.ml @@ -101,7 +101,7 @@ let development_for_dir dir = false else let pref = String.sub d2 0 len1 in - pref = d1 && d2.[len1] = '/' + pref = d1 && (len1 = len2 || d2.[len1] = '/') in try Some (List.find (fun d -> is_prefix_of d.root dir) !developments) -- 2.39.2