diff options
author | Christopher Faylor <me@cgf.cx> | 2014-07-15 14:57:30 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2014-07-15 14:57:30 +0000 |
commit | 0db2f28fd613bfffeb994e09ac3b1d41c5cbf51a (patch) | |
tree | 866516c994e28d21a39e4b3ccaf815ef997fd88d /winsup/cygwin/sigproc.cc | |
parent | 50e4a3cdff7a0f751b443408977c9637144a9ebf (diff) | |
download | cygnal-0db2f28fd613bfffeb994e09ac3b1d41c5cbf51a.tar.gz cygnal-0db2f28fd613bfffeb994e09ac3b1d41c5cbf51a.tar.bz2 cygnal-0db2f28fd613bfffeb994e09ac3b1d41c5cbf51a.zip |
* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 9bc42e82c..a530c89ca 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -635,7 +635,7 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls) } DWORD nb; - if (!WriteFile (sendsig, leader, packsize, &nb, NULL) || nb != packsize) + if (!WriteFile (sendsig, leader, packsize, &nb, NULL)) { /* Couldn't send to the pipe. This probably means that the process is exiting. */ |