diff options
author | Evan Martin <martine@danga.com> | 2013-09-12 02:14:12 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2013-09-12 02:15:28 (GMT) |
commit | 63d5b1013cafb2db95687cf446eb5bb68cf6a27a (patch) | |
tree | f25d3219f9eb5e874fafed41a4042b2592ac5675 /src/build_log.h | |
parent | 045d00847b191da46faf1c1b91368a252412bb17 (diff) | |
parent | 6f7ea464bb9161ce2e15deb97977886de152c12d (diff) | |
download | Ninja-63d5b1013cafb2db95687cf446eb5bb68cf6a27a.zip Ninja-63d5b1013cafb2db95687cf446eb5bb68cf6a27a.tar.gz Ninja-63d5b1013cafb2db95687cf446eb5bb68cf6a27a.tar.bz2 |
v1.4.0v1.4.0
Diffstat (limited to 'src/build_log.h')
-rw-r--r-- | src/build_log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log.h b/src/build_log.h index 6eae89f..eeac5b3 100644 --- a/src/build_log.h +++ b/src/build_log.h @@ -37,7 +37,7 @@ struct BuildLog { ~BuildLog(); bool OpenForWrite(const string& path, string* err); - void RecordCommand(Edge* edge, int start_time, int end_time, + bool RecordCommand(Edge* edge, int start_time, int end_time, TimeStamp restat_mtime = 0); void Close(); @@ -69,7 +69,7 @@ struct BuildLog { LogEntry* LookupByOutput(const string& path); /// Serialize an entry into a log file. - void WriteEntry(FILE* f, const LogEntry& entry); + bool WriteEntry(FILE* f, const LogEntry& entry); /// Rewrite the known log entries, throwing away old data. bool Recompact(const string& path, string* err); |