mirror of
https://github.com/reactos/CMake.git
synced 2025-02-18 02:28:05 +00: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:
parent
2fb8e5b1c4
commit
39b08858f6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user