From 517378721855280d2e23d25d7529e6b9cbae9136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 11 Oct 2013 14:52:34 +0300 Subject: print: use stdout instead of stderr for logging and progress stdout is the proper place for it. this also fixes the progress bar in musl, which seems to not support using line buffering for stderr. --- src/apk.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/apk.c') diff --git a/src/apk.c b/src/apk.c index 8744de6..8a3c7ef 100644 --- a/src/apk.c +++ b/src/apk.c @@ -266,7 +266,6 @@ static void on_sigwinch(int s) static void setup_terminal(void) { - setvbuf(stderr, NULL, _IOLBF, BUFSIZ); signal(SIGWINCH, on_sigwinch); signal(SIGPIPE, SIG_IGN); } -- cgit v1.2.3