mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 19:37:06 -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
|
|
@ -1750,7 +1750,7 @@ void state_scan(struct snapraid_state* state, int is_diff)
|
|||
} else {
|
||||
ftag("summary:exit:diff\n");
|
||||
}
|
||||
fflush(stdlog);
|
||||
fflush_log();
|
||||
}
|
||||
|
||||
tommy_list_foreach(&scanlist, (tommy_foreach_func*)free);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue