mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
support: don't set linebuf on stderr
Don't set linebuf on our stderr fallback file. Fixes #3164
This commit is contained in:
parent
bbf0ed063e
commit
312af1103e
1 changed files with 3 additions and 2 deletions
|
|
@ -348,6 +348,9 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
}
|
||||
if (this->file == NULL)
|
||||
this->file = stderr;
|
||||
else
|
||||
setlinebuf(this->file);
|
||||
|
||||
if (!isatty(fileno(this->file)))
|
||||
this->colors = false;
|
||||
|
||||
|
|
@ -355,8 +358,6 @@ impl_init(const struct spa_handle_factory *factory,
|
|||
|
||||
spa_log_debug(&this->log, NAME " %p: initialized", this);
|
||||
|
||||
setlinebuf(this->file);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue