diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-11 14:52:34 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-11 14:52:34 +0300 |
commit | 517378721855280d2e23d25d7529e6b9cbae9136 (patch) | |
tree | c8e76d10eadc2e8e2ccc11809b1e63b1fffcecad /src/apk.c | |
parent | a6c4103df550ec7c1d99af6a5573c2e3f946b408 (diff) | |
download | apk-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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); } |