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

Rémi Denis-Courmont remi at remlab.net
Sat Sep 19 12:28:47 CEST 2020


	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/





More information about the vlc-devel mailing list