[CM] loading libc_s7.so

Tito Latini tito.01beta at gmail.com
Wed Apr 13 02:21:40 PDT 2022


Yes, it fails after

commit c049689884d733cae58bd3096391cb9e92a2d146
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Jun 7 15:46:38 2021 +1000

    logger: set linebuffering for the log
    
    Set this once during setup so we don't have to remember to call fflush() after
    each logging operation.


I think `setlinebuf(stderr)' is useless in
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/spa/plugins/support/logger.c#L378
if a logfile is not required.

A possible fix is

- setlinebuf(this->file);
+ if (this->file != stderr)
+         setlinebuf(this->file);

On Tue, Apr 12, 2022 at 12:36:10PM -0700, bil at ccrma.Stanford.EDU wrote:
> There has been a response to this issue (noticed in July):
> 
> https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1409#note_1336015
> 
> (I hope I got that right -- issue 1409 at pipewire).
> 
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist


More information about the Cmdist mailing list