diff options
author | Christopher Faylor <me@cgf.cx> | 2003-03-26 04:18:01 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-03-26 04:18:01 +0000 |
commit | 85738bf7e3e6ed1c7025fc1c8e53cb7f36d12432 (patch) | |
tree | a69fb712ab66237440ae614b0a2227852486fdf7 /winsup/cygwin/sigproc.cc | |
parent | b2b9de805fd5d5ddf6de3efb0868f9f464b961c9 (diff) | |
download | cygnal-85738bf7e3e6ed1c7025fc1c8e53cb7f36d12432.tar.gz cygnal-85738bf7e3e6ed1c7025fc1c8e53cb7f36d12432.tar.bz2 cygnal-85738bf7e3e6ed1c7025fc1c8e53cb7f36d12432.zip |
Joe Buehler <jhpb@draco.hekimian.com>
* fork.cc (fork_parent): Don't copy signals from parent to child here.
* sigproc.cc (proc_subproc): Copy signals from parent to child pinfo here.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 51c91c323..124b8d059 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -295,6 +295,7 @@ proc_subproc (DWORD what, DWORD val) vchild->sid = myself->sid; vchild->ctty = myself->ctty; vchild->process_state |= PID_INITIALIZING | (myself->process_state & PID_USETTY); + vchild->copysigs (myself); sigproc_printf ("added pid %d to wait list, slot %d, winpid %p, handle %p", vchild->pid, nchildren, vchild->dwProcessId, |