4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-28 03:27:46 +08:00

* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.

This commit is contained in:
Corinna Vinschen 2014-07-15 15:48:45 +00:00
parent 1b9531007b
commit 2d1c36beaf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-07-15 Christopher Faylor <me.cygwin2014@cgf.cx>
* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.
2014-07-14 Christopher Faylor <me.cygwin2014@cgf.cx>
* sigproc.cc (send_sig): Fix bad format in diagnostic output.

View File

@ -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. */