]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: drop PROC_DETACHED_CHILD flag
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 28 Aug 2020 09:10:48 +0000 (11:10 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 28 Aug 2020 09:10:48 +0000 (11:10 +0200)
commit163daed37ceda6cd32838ee0137026d68e8ffb18
tree02511024e810f90ba3fa82466eb07198d30f781a
parent558fa888e50e21b8bcc86c01f2a1b2e8691807df
Cygwin: drop PROC_DETACHED_CHILD flag

pinfo::remember with the detach parameter set to true is
the only way to call proc_subproc with PROC_DETACHED_CHILD.
This call is exclusively used in spawn to set up a pinfo for
a detached child, and that pinfo goes out of scope right
afterwards without any further action.

Drop the flag and drop the detach parameter from pinfo::remember.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fork.cc
winsup/cygwin/pinfo.h
winsup/cygwin/sigproc.cc
winsup/cygwin/sigproc.h
winsup/cygwin/spawn.cc
This page took 0.028403 seconds and 5 git commands to generate.