From ca6a61f432f3ff0257e868bed36a58540623ab49 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 11 Dec 2020 20:53:32 +0300 Subject: Fix bug in create_new_target_locked() --- libbuild2/bash/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/bash/rule.cxx') diff --git a/libbuild2/bash/rule.cxx b/libbuild2/bash/rule.cxx index 9fc89d7..8b47fb0 100644 --- a/libbuild2/bash/rule.cxx +++ b/libbuild2/bash/rule.cxx @@ -168,7 +168,7 @@ namespace build2 // Only set path/mtime on first insertion. // - if (rp.second.owns_lock ()) + if (rp.second) pt.path_mtime (move (ap), mt); // Save the length of the import path in auxuliary data. We -- cgit v1.1