[pacman-dev] [PATCH] Flush output of pacman debug times
20 Aug
2011
20 Aug
'11
5:28 a.m.
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 <allan@archlinux.org> --- 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
4912
Age (days ago)
4912
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae