From 86733b192e97e413281d35ee44bfbf2ee8a8aa87 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Nov 2018 12:11:17 +0200 Subject: Add note on potential future improvements to mtime check --- build2/depdb.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build2/depdb.hxx b/build2/depdb.hxx index f93f16c..ce7dd39 100644 --- a/build2/depdb.hxx +++ b/build2/depdb.hxx @@ -116,6 +116,12 @@ namespace build2 // Perform target/database modification times sanity check. // + // Note that it would also be good to compare the target timestamp against + // the newest prerequisite. However, obtaining this information would cost + // extra (see execute_prerequisites()). So maybe later, if we get a case + // where this is a problem (in a sense, the database is a buffer between + // prerequisites and the target). + // void check_mtime (const path_type& target, timestamp end = timestamp_unknown); -- cgit v1.1