aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-04-04 16:17:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-04-04 16:17:50 +0300
commitf7cfd4eb4163da69f9fbb1d756e91cdf0307756a (patch)
treefcfa2fe045ce33410baf65ab41341327358d7509
parent39a17ba7ef506192218f24047f129cb635efb02b (diff)
Fix superfluous recompilation due to bug in depdb touch logic
-rw-r--r--build2/depdb.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/build2/depdb.cxx b/build2/depdb.cxx
index 605ceb4..607e85a 100644
--- a/build2/depdb.cxx
+++ b/build2/depdb.cxx
@@ -312,6 +312,7 @@ namespace build2
// descriptor. Or it might be slower since so far we've only been
// reading.
//
+ pos_ = buf_->tellg (); // The last line is accepted.
change (false /* truncate */); // Write end marker below.
}
else if (state_ != state::write)