Commit b97304c1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

file logger: do not disable buffering

parent 3fa85e6a
......@@ -173,7 +173,7 @@ static vlc_log_cb Open(vlc_object_t *obj, void **restrict sysp)
}
free(path);
setvbuf(sys->stream, NULL, _IONBF, 0);
setvbuf(sys->stream, NULL, _IOLBF, 0);
fputs(header, sys->stream);
*sysp = sys;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment