* 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:
Christopher Faylor
2003-09-13 17:14:15 +00:00
parent 4442ed9171
commit 276448cf67
6 changed files with 19 additions and 8 deletions

View File

@@ -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);
}