Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-07-14 19:58:32 +0400
committerChristopher Faylor <me@cgf.cx>2007-07-14 19:58:32 +0400
commit6f76c68713a2bc3945cc4c3d27a5c266ed8284ca (patch)
tree2093104f1d417ceb910f067c8259cba1e22a9b79 /winsup/cygwin/init.cc
parentd409af3661a5c0d654a8b5760b3034db9f4c6191 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r--winsup/cygwin/init.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index bbbffba08..08deb5635 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -118,15 +118,12 @@ respawn_wow64_process ()
extern void __stdcall dll_crt0_0 ();
HMODULE NO_COPY cygwin_hmodule;
-bool NO_COPY in_dllentry;
extern "C" BOOL WINAPI
dll_entry (HANDLE h, DWORD reason, void *static_load)
{
BOOL wow64_test_stack_marker;
- in_dllentry = true;
-
switch (reason)
{
case DLL_PROCESS_ATTACH:
@@ -162,6 +159,5 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
break;
}
- in_dllentry = false;
return TRUE;
}