From 6f76c68713a2bc3945cc4c3d27a5c266ed8284ca Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 14 Jul 2007 15:58:32 +0000 Subject: * init.cc (in_dllentry): Delete. (dll_entry): Remove assignment to deleted variable. * winsup.h (in_dllentry): Delete declaration. * exceptions.cc (inside_kernel): Use another method to see if we are in dll_entry phase. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') 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); -- cgit v1.2.3