mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 12:26:38 -05:00
Change the flush logic for streams
Now stdout and stderr are always line buffered, and stdlog only flushed on request.
This commit is contained in:
parent
80d51384ac
commit
798de7ca99
16 changed files with 40 additions and 20 deletions
|
|
@ -117,6 +117,6 @@ void state_list(struct snapraid_state* state)
|
|||
ftag("summary:file_size:%" PRIu64 "\n", file_size);
|
||||
ftag("summary:link_count:%u\n", link_count);
|
||||
ftag("summary:exit:ok\n");
|
||||
fflush(stdlog);
|
||||
fflush_log();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue