From a17b6b40510b8ec5ca18dd5203e4b229aa6fee8a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Jun 2020 09:00:12 +0200 Subject: Add more instrumentation for unassigned path race --- libbuild2/install/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/install/rule.cxx') diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index b8d6a34..901b048 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -313,7 +313,7 @@ namespace build2 // optional unchanged; if (a.operation () == update_id) - unchanged = match_inner (a, t, unmatch::unchanged); + unchanged = match_inner (a, t, unmatch::unchanged).first; auto& pts (t.prerequisite_targets[a]); @@ -367,7 +367,7 @@ namespace build2 // when updating static installable content (headers, documentation, // etc). // - if (build2::match (a, *pt, unmatch::unchanged)) + if (build2::match (a, *pt, unmatch::unchanged).first) pt = nullptr; } else if (!try_match (a, *pt).first) -- cgit v1.1