An update will be applied today, Nov30th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 39b08858 authored by Dāvis Mosāns's avatar Dāvis Mosāns Committed by Brad King
Browse files

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.
parent 2fb8e5b1
...@@ -1499,6 +1499,7 @@ void list_item_verbose(FILE* out, struct archive_entry* entry) ...@@ -1499,6 +1499,7 @@ void list_item_verbose(FILE* out, struct archive_entry* entry)
{ {
fprintf(out, " -> %s", archive_entry_symlink(entry)); fprintf(out, " -> %s", archive_entry_symlink(entry));
} }
fflush(out);
} }
long copy_data(struct archive* ar, struct archive* aw) long copy_data(struct archive* ar, struct archive* aw)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment