* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.
This commit is contained in:
parent
50e4a3cdff
commit
0db2f28fd6
|
@ -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>
|
2014-07-14 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||||
|
|
||||||
* sigproc.cc (send_sig): Fix bad format in diagnostic output.
|
* sigproc.cc (send_sig): Fix bad format in diagnostic output.
|
||||||
|
|
|
@ -635,7 +635,7 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
|
||||||
}
|
}
|
||||||
|
|
||||||
DWORD nb;
|
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
|
/* Couldn't send to the pipe. This probably means that the
|
||||||
process is exiting. */
|
process is exiting. */
|
||||||
|
|
Loading…
Reference in New Issue