aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r--libbuild2/rule.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/rule.cxx b/libbuild2/rule.cxx
index 4b2d69d..ac5b310 100644
--- a/libbuild2/rule.cxx
+++ b/libbuild2/rule.cxx
@@ -71,6 +71,9 @@ namespace build2
// me, this file exists" situations (used, for example, for installed
// stuff where we know it's there, just not exactly where).
//
+ // See also path_target::path_mtime() for a potential race in this
+ // logic.
+ //
mtime_target& mt (t.as<mtime_target> ());
timestamp ts (mt.mtime ());