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:
Dāvis Mosāns 2016-10-11 22:46:10 +03:00 committed by Brad King
parent 2fb8e5b1c4
commit 39b08858f6

View File

@ -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)