* include/sys/cygwin.h: Rename PID_UNUSED to PID_MAP_RW.
* pinfo.cc (pinfo_init): Initialize myself->gid. (pinfo::init): Create the "access" variable, set it appropriately and use it to specify the requested access. * exceptions.cc (sig_handle_tty_stop): Add PID_MAP_RW in pinfo parent. * signal.cc (kill_worker): Ditto for pinfo dest. * syscalls.cc (setpgid): Ditto for pinfo p.
This commit is contained in:
@@ -614,7 +614,7 @@ sig_handle_tty_stop (int sig)
|
||||
its list of subprocesses. */
|
||||
if (my_parent_is_alive ())
|
||||
{
|
||||
pinfo parent (myself->ppid);
|
||||
pinfo parent (myself->ppid, PID_MAP_RW);
|
||||
if (NOTSTATE (parent, PID_NOCLDSTOP))
|
||||
sig_send (parent, SIGCHLD);
|
||||
}
|
||||
|
Reference in New Issue
Block a user