aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)