* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
fails after I've "execed".
This commit is contained in:
parent
bbb86f974e
commit
fdd857a1f6
@ -1,3 +1,8 @@
|
||||
2005-01-15 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* sigproc.cc (sig_send): Don't complain if attempt to send signal to
|
||||
myself fails after I've "execed".
|
||||
|
||||
2005-01-14 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful
|
||||
|
@ -663,9 +663,9 @@ sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
|
||||
{
|
||||
if (no_signals_available ())
|
||||
sigproc_printf ("I'm going away now");
|
||||
else if (!hExeced)
|
||||
else if (!p->exec_sendsig)
|
||||
system_printf ("error sending signal %d to pid %d, pipe handle %p, %E",
|
||||
si.si_signo, p->pid, sendsig);
|
||||
si.si_signo, p->pid, sendsig);
|
||||
set_errno (EACCES);
|
||||
}
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user