aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-24 19:17:49 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-24 19:17:49 +0000
commit6f96c53642d21e8ed84c2cb8cf93694cfb3a0d34 (patch)
treeda0a1006baf2354f7bfe93894fc5e92bc5dba30c
parente6e55ca6a20efa91a1ad8cd127edcdf0b78d9202 (diff)
downloadnewlib-6f96c53642d21e8ed84c2cb8cf93694cfb3a0d34.zip
newlib-6f96c53642d21e8ed84c2cb8cf93694cfb3a0d34.tar.gz
newlib-6f96c53642d21e8ed84c2cb8cf93694cfb3a0d34.tar.bz2
* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthread
change.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/sigproc.cc5
2 files changed, 6 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 9439d8e..f52d3db 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-24 Christopher Faylor <cgf@timesys.com>
+
+ * sigproc.cc (sigproc_terminate): More reversion of
+ always-exit-from-sigthread change.
+
2005-09-23 Christopher Faylor <cgf@timesys.com>
* shared.cc (open_shared): Add crucial bit of debugging info.
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 69c9bce..0ba1347 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
}
}