]> sourceware.org Git - newlib-cygwin.git/commitdiff
* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
authorChristopher Faylor <me@cgf.cx>
Sat, 15 Jan 2005 23:43:42 +0000 (23:43 +0000)
committerChristopher Faylor <me@cgf.cx>
Sat, 15 Jan 2005 23:43:42 +0000 (23:43 +0000)
fails after I've "execed".

winsup/cygwin/ChangeLog
winsup/cygwin/sigproc.cc

index 8d42ff3137815e8652993c9191df84f1e25a47f4..f21e37ca3c9affa0f66b169075810a7b88e6b303 100644 (file)
@@ -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
index 1f65712b6eec1c64072b2368b21d3afb17335435..a87f1586804c41e3493ae55c4677e1c8964121eb 100644 (file)
@@ -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;
This page took 0.032741 seconds and 5 git commands to generate.