summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
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/cygwin/exceptions.cc
parent412ec1f444fb741db951cfa44f2806845f491133 (diff)
downloadcygnal-4ff5152887734cb42ef877dd59515489083dd5d0.tar.gz
cygnal-4ff5152887734cb42ef877dd59515489083dd5d0.tar.bz2
cygnal-4ff5152887734cb42ef877dd59515489083dd5d0.zip
* 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/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 5a94a13a4..950ab86bc 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);