OSDN Git Service

* exceptions.c (sigpacket::process): Set tls on return since it is assumed to
authorcgf <cgf>
Sat, 29 Nov 2008 02:41:37 +0000 (02:41 +0000)
committercgf <cgf>
Sat, 29 Nov 2008 02:41:37 +0000 (02:41 +0000)
be set to a valid value by the caller.

winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc

index f3eed57..f0f12c3 100644 (file)
@@ -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.
 
index 5a94a13..950ab86 100644 (file)
@@ -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);