summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-07-12 21:15:47 +0000
committerChristopher Faylor <me@cgf.cx>2009-07-12 21:15:47 +0000
commit4a42a25876662efc1fff97c6668a156ac2e39a8e (patch)
tree21037a1699317b3c43cbe9999c3a2cea66ecb51e /winsup/cygwin/sigproc.cc
parent77dcafa5ade83ba087a42d7e55583560d125086f (diff)
downloadcygnal-4a42a25876662efc1fff97c6668a156ac2e39a8e.tar.gz
cygnal-4a42a25876662efc1fff97c6668a156ac2e39a8e.tar.bz2
cygnal-4a42a25876662efc1fff97c6668a156ac2e39a8e.zip
* Makefile.in: Don't do anything special with any RCS directories.
* ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma. * pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment. * sigproc.cc (sig_send): Don't send signal to myself if this is an exec stub.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index e21e09feb..91109977b 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -555,7 +555,7 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
pack.wakeup = NULL;
bool wait_for_completion;
- if (!(its_me = (p == NULL || p == myself || p == myself_nowait)))
+ if (!(its_me = (!hExeced && (p == NULL || p == myself || p == myself_nowait))))
{
/* It is possible that the process is not yet ready to receive messages
* or that it has exited. Detect this.