From 5a8a996950ce12dac0e1b200e22386c3413fa4ec Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 6 Oct 2023 10:45:14 +0200 Subject: Handle 0 mask in update_during_match_prerequisites() --- libbuild2/algorithm.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/algorithm.hxx') diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index dedfe33..779578e 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -658,7 +658,7 @@ namespace build2 // As above, but update all the targets in prerequisite_targets that have // the specified mask in prerequisite_target::include. Return true if any of - // them have changed. + // them have changed. If mask is 0, then update all the targets. // // Note that this function spoils prerequisite_target::data (which is used // for temporary storage). But it resets data to 0 once done. -- cgit v1.1