Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment