]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fix up proc_subproc flags and matching pinfo methods
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 27 Aug 2020 19:38:50 +0000 (21:38 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 28 Aug 2020 07:44:18 +0000 (09:44 +0200)
commit0a31ad6f4c8bf18864b0be3546b402db0a6108f7
tree02611382942394ed409cbbfde9438f5a7b5e9905
parent49a9ffdf4bcb3388cde5e4f441dd710701136ba7
Cygwin: fix up proc_subproc flags and matching pinfo methods

After patch 23a779bf3d7c2afc9eab88f6b8727c1db5544547
"Cygwin: pinfo: stop remember doing reattach",
PROC_ADDCHILD actually just sets up a new child, mirroring
PROC_DETACHED_CHILD.  The actual attaching of the child is
performed by action PROC_REATTACH_CHILD or pinfo::reattach
respectively.

To better reflect what's going on, rename PROC_REATTACH_CHILD
to PROC_ATTACH_CHILD and rename pinfo::reattach to pinfo::attach.
For better readability change PROC_ADDCHILD to PROC_ADD_CHILD.
Fix comments accordingly.

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.032454 seconds and 5 git commands to generate.