[pacman-dev] [PATCH] Flush output of pacman debug times
Allan McRae
allan at archlinux.org
Sat Aug 20 01:28:46 EDT 2011
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 at 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
More information about the pacman-dev
mailing list