[vlc-devel] [PATCH 0/6] Factor the POSIX spawn.h code

Alexandre Janniaux ajanni at videolabs.io
Sat Sep 19 20:25:02 CEST 2020


Hi,

LGTM,

Regards,
--
Alexandre Janniaux
Videolabs

On Sat, Sep 19, 2020 at 01:28:47PM +0300, Rémi Denis-Courmont wrote:
> 	Hi,
>
> This set factors the copy-paste spawn code and documents it.
>
> ----------------------------------------------------------------
> Rémi Denis-Courmont (6):
>       vlc_spawn: vector posix_spawn/fork code
>       proxy: use vlc_spawn()
>       inhibit/xdg: simplify using vlc_spawn()
>       inhibit/xdg: further simplify
>       spawn: provide fallback implementation using fork() & exec()
>       decomp: use vlc_spawn()
>
>  include/vlc_spawn.h            |  87 +++++++++++++++++
>  modules/misc/inhibit/xdg.c     |  64 +++----------
>  modules/stream_filter/decomp.c |  62 +++---------
>  src/Makefile.am                |   2 +
>  src/libvlccore.sym             |   3 +
>  src/missing.c                  |  26 +++++
>  src/posix/netconf.c            |  45 ++-------
>  src/posix/spawn.c              | 210 +++++++++++++++++++++++++++++++++++++++++
>  8 files changed, 361 insertions(+), 138 deletions(-)
>  create mode 100644 include/vlc_spawn.h
>  create mode 100644 src/posix/spawn.c
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list