diff options
Diffstat (limited to 'build2/depdb.cxx')
-rw-r--r-- | build2/depdb.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build2/depdb.cxx b/build2/depdb.cxx index 416f1f4..8abd5f2 100644 --- a/build2/depdb.cxx +++ b/build2/depdb.cxx @@ -201,7 +201,7 @@ namespace build2 fs_.put ('\n'); } - void depdb:: + timestamp depdb:: close () { // If we are at eof, then it means all lines are good, there is the "end @@ -263,7 +263,9 @@ namespace build2 // #if defined(_WIN32) || defined(__FreeBSD__) if (state_ == state::write) - file_mtime (path); + mtime = file_mtime (path); #endif + + return mtime; } } |