* winsup.h (cygwin_hmodule): Declare.

* exceptions.cc (inside_kernel): Reverse return values to reflect function
name.  Return true if we're in cygwin1.dll or if we're executing in dll_entry.
(_cygtls::interrupt_now): Reflect reversal of inside_kernel return value.
* hookapi.cc (cygwin_hmodule): Remove declaration.
* init.cc (dll_entry): Use in_dllentry global to record that we are executing
in dllentry.
This commit is contained in:
Christopher Faylor
2006-02-23 19:21:21 +00:00
parent 7db9cdd24e
commit 7fbfec2b64
5 changed files with 29 additions and 10 deletions

View File

@@ -354,6 +354,7 @@ extern HANDLE hMainProc;
extern HANDLE hProcToken;
extern HANDLE hProcImpToken;
extern HANDLE hExeced;
extern HMODULE cygwin_hmodule;
extern bool cygwin_testing;