summaryrefslogtreecommitdiff
path: root/src/bin/eina
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-07 12:09:34 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-12-08 11:40:45 -0200
commit5242c3b1d4120133a7d428760f5cbc27f7d5e067 (patch)
treeffe8c31a6349103d22f71bdfcc18c2f7abb46bed /src/bin/eina
parentadd19c8a77e80b33c44263e926a4285115d2461c (diff)
eina_btlog: flush stdout for each line.
The huge buffer from stdout is annoying when running inside eo_debug.
Diffstat (limited to 'src/bin/eina')
-rw-r--r--src/bin/eina/eina_btlog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/eina/eina_btlog.c b/src/bin/eina/eina_btlog.c
index 0be9301a5e..db8eb9332d 100644
--- a/src/bin/eina/eina_btlog.c
+++ b/src/bin/eina/eina_btlog.c
@@ -477,6 +477,7 @@ main(int argc, char **argv)
477 func_color, bt->func_name, reset_color, 477 func_color, bt->func_name, reset_color,
478 file_color, bt->file_name, reset_color, 478 file_color, bt->file_name, reset_color,
479 line_color, bt->line, reset_color); 479 line_color, bt->line, reset_color);
480 fflush(stdout);
480 continue; 481 continue;
481 } 482 }
482 483
@@ -504,6 +505,7 @@ main(int argc, char **argv)
504 sep_color, 505 sep_color,
505 reset_color); 506 reset_color);
506 } 507 }
508 fflush(stdout);
507 EINA_LIST_FREE(btl, bt) 509 EINA_LIST_FREE(btl, bt)
508 { 510 {
509 free(bt->bin_dir); 511 free(bt->bin_dir);