From 6f96c53642d21e8ed84c2cb8cf93694cfb3a0d34 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 24 Sep 2005 19:17:49 +0000 Subject: [PATCH] * sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread change. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/sigproc.cc | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 9439d8e1a..f52d3dbaa 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-09-24 Christopher Faylor + + * sigproc.cc (sigproc_terminate): More reversion of + always-exit-from-sigthread change. + 2005-09-23 Christopher Faylor * shared.cc (open_shared): Add crucial bit of debugging info. diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 69c9bce20..0ba13473c 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -497,10 +497,7 @@ sigproc_terminate (exit_states es) else { sigproc_printf ("entering"); - siginfo_t si; - memset (&si, 0, sizeof (si)); - si.si_signo = __SIGEXIT; - sig_send (myself_nowait, si, &_my_tls); + sig_send (myself_nowait, __SIGEXIT); proc_terminate (); // clean up process stuff } }