This keeps the output going to stdout and stderr in sync fixing the
pactests broken by changing the callback messages to stderr.

Signed-off-by: Allan McRae <[email protected]>
---
 src/pacman/util.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/pacman/util.c b/src/pacman/util.c
index 91625a1..e0addc0 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -1417,6 +1417,7 @@ int pm_vfprintf(FILE *stream, alpm_loglevel_t level, 
const char *format, va_list
                timestr[8] = '\0';
 
                printf("[%s] ", timestr);
+               fflush(stdout);
        }
 #endif
 
-- 
1.7.6


Reply via email to