* sigproc.cc (sig_send): Don't bother with an error message if we are exiting.

This commit is contained in:
Christopher Faylor 2014-02-09 18:31:37 +00:00
parent d0e5dd3abe
commit 01fc6f8d21
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2014-02-09 Christopher Faylor <me.cygwin2014@cgf.cx>
* sigproc.cc (sig_send): Don't bother with an error message if we are
exiting.
2014-02-08 Corinna Vinschen <corinna@vinschen.de> 2014-02-08 Corinna Vinschen <corinna@vinschen.de>
* miscfuncs.h (class NT_readline): New class to implement line-wise * miscfuncs.h (class NT_readline): New class to implement line-wise

View File

@ -639,12 +639,9 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
sigproc_printf ("WriteFile for pipe %p failed, %E", sendsig); sigproc_printf ("WriteFile for pipe %p failed, %E", sendsig);
ForceCloseHandle (sendsig); ForceCloseHandle (sendsig);
} }
else else if (!p->exec_sendsig && !exit_state)
{ system_printf ("error sending signal %d, pipe handle %p, nb %u, packsize %u, %E",
if (!p->exec_sendsig) si.si_signo, p->pid, sendsig, nb, packsize);
system_printf ("error sending signal %d to pid %d, pipe handle %p, %E",
si.si_signo, p->pid, sendsig);
}
if (GetLastError () == ERROR_BROKEN_PIPE) if (GetLastError () == ERROR_BROKEN_PIPE)
set_errno (ESRCH); set_errno (ESRCH);
else else