summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 512e1bef5..efb7a5448 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -288,7 +288,7 @@ inside_kernel (CONTEXT *cx)
int res;
MEMORY_BASIC_INFORMATION m;
- if (in_dllentry)
+ if (!_my_tls.isinitialized ())
return true;
memset (&m, 0, sizeof m);