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
Pipeline #30826 passed with stage
......@@ -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)
......
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