aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-11-29 02:41:38 +0000
committerChristopher Faylor <me@cgf.cx>2008-11-29 02:41:38 +0000
commit4ff5152887734cb42ef877dd59515489083dd5d0 (patch)
treed7ed8e256cb2b40e8cf5fac749d5065f5aeeaf72 /winsup
parent412ec1f444fb741db951cfa44f2806845f491133 (diff)
downloadnewlib-4ff5152887734cb42ef877dd59515489083dd5d0.zip
newlib-4ff5152887734cb42ef877dd59515489083dd5d0.tar.gz
newlib-4ff5152887734cb42ef877dd59515489083dd5d0.tar.bz2
* exceptions.c (sigpacket::process): Set tls on return since it is assumed to
be set to a valid value by the caller.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f3eed57..f0f12c3 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2008-11-28 Christopher Faylor <me+cygwin@cgf.cx>
+ * exceptions.c (sigpacket::process): Set tls on return since it is
+ assumed to be set to a valid value by the caller.
+
+2008-11-28 Christopher Faylor <me+cygwin@cgf.cx>
+
* include/cygwin/version.h: Bump api minor number to 189 to flag the
implementation of dirent.d_type.
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 5a94a13..950ab86 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1287,6 +1287,7 @@ dosig:
rc = setup_handler (si.si_signo, handler, thissig, use_tls);
done:
+ tls = use_tls;
if (continue_now)
SetEvent (sigCONT);
sigproc_printf ("returning %d", rc);