* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.
This commit is contained in:
		| @@ -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. | ||||
|   | ||||
| @@ -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.  */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user