mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
cmSystemTools: Flush output buffer for list_item_verbose
When `std::cout` and `FILE *stdout` are used at same time need to explicitly flush otherwise they can be out of sync.
This commit is contained in:
1 parent
2fb8e5b1c4
commit
39b08858f6
1 file changed
+1
@@ -1499,6 +1499,7 @@ void list_item_verbose(FILE* out, struct archive_entry* entry)
|
||||
{
|
||||
fprintf(out, " -> %s", archive_entry_symlink(entry));
|
||||
}
|
||||
fflush(out);
|
||||
}
|
||||
|
||||
long copy_data(struct archive* ar, struct archive* aw)
|
||||
|
||||
Reference in new issue
Block a user