summaryrefslogtreecommitdiff
path: root/src/apk.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-11 14:52:34 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-10-11 14:52:34 +0300
commit517378721855280d2e23d25d7529e6b9cbae9136 (patch)
treec8e76d10eadc2e8e2ccc11809b1e63b1fffcecad /src/apk.c
parenta6c4103df550ec7c1d99af6a5573c2e3f946b408 (diff)
downloadapk-tools-517378721855280d2e23d25d7529e6b9cbae9136.tar.gz
apk-tools-517378721855280d2e23d25d7529e6b9cbae9136.tar.bz2
apk-tools-517378721855280d2e23d25d7529e6b9cbae9136.tar.xz
apk-tools-517378721855280d2e23d25d7529e6b9cbae9136.zip
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.
Diffstat (limited to 'src/apk.c')
-rw-r--r--src/apk.c1
1 files changed, 0 insertions, 1 deletions
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);
}