eina_btlog: flush stdout for each line.

The huge buffer from stdout is annoying when running inside eo_debug.
This commit is contained in:
Gustavo Sverzut Barbieri 2016-12-07 12:09:34 -02:00
parent add19c8a77
commit 5242c3b1d4
1 changed files with 2 additions and 0 deletions

View File

@ -477,6 +477,7 @@ main(int argc, char **argv)
func_color, bt->func_name, reset_color,
file_color, bt->file_name, reset_color,
line_color, bt->line, reset_color);
fflush(stdout);
continue;
}
@ -504,6 +505,7 @@ main(int argc, char **argv)
sep_color,
reset_color);
}
fflush(stdout);
EINA_LIST_FREE(btl, bt)
{
free(bt->bin_dir);