mirror of
https://github.com/reactos/ninja.git
synced 2025-02-21 12:10:28 +00:00
Flush changes into .ninja_log right away.
This commit is contained in:
parent
e234a7bdb6
commit
c1c8bbaa5f
@ -167,6 +167,9 @@ bool BuildLog::RecordCommand(Edge* edge, int start_time, int end_time,
|
||||
if (log_file_) {
|
||||
if (!WriteEntry(log_file_, *log_entry))
|
||||
return false;
|
||||
if (fflush(log_file_) != 0) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user