summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-13 17:14:15 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-13 17:14:15 +0000
commit276448cf67102d31ccd1c5b4186ac84aeeabf9d2 (patch)
tree73b24056d7a9df2a389957df9565e85b8338fc54 /winsup/cygwin/exceptions.cc
parent4442ed917116bd362a591a418430b3a173ca6b26 (diff)
downloadcygnal-276448cf67102d31ccd1c5b4186ac84aeeabf9d2.tar.gz
cygnal-276448cf67102d31ccd1c5b4186ac84aeeabf9d2.tar.bz2
cygnal-276448cf67102d31ccd1c5b4186ac84aeeabf9d2.zip
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index c1743d239..4206e38de 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -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);
}