aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/depdb.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-24 09:47:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-24 09:47:52 +0200
commit57a8dbd7fe63b2ed8618bde71a779102f0ab6ca9 (patch)
treeec5d152ff13a678b6e16fbc5d9f6eab9aaf59e05 /libbuild2/depdb.cxx
parentd590c966dbcd6faef64e87ba0fc9b105a310f7df (diff)
Fix trace and clarify comments
Diffstat (limited to 'libbuild2/depdb.cxx')
-rw-r--r--libbuild2/depdb.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/depdb.cxx b/libbuild2/depdb.cxx
index 4a40862..86fbece 100644
--- a/libbuild2/depdb.cxx
+++ b/libbuild2/depdb.cxx
@@ -311,6 +311,9 @@ namespace build2
// descriptor. Or it might be slower since so far we've only been
// reading.
//
+ // Note also that utime() on Windows is a bad idea (see touch_file() for
+ // details).
+ //
pos_ = buf_->tellg (); // The last line is accepted.
change (false /* truncate */); // Write end marker below.
}