* globals.cc (hntdll): Define/declare.

* exceptions.cc (inside_kernel): Don't call GetModuleFileName if we know we're
in ntdll.
* sigproc.cc (wait_sig): Initialize hntdll.
This commit is contained in:
Christopher Faylor
2013-12-09 20:32:24 +00:00
parent db0d50a67d
commit ae8456bdf2
4 changed files with 13 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ HANDLE NO_COPY hProcToken;
HANDLE NO_COPY hProcImpToken;
HANDLE my_wr_proc_pipe;
HMODULE NO_COPY cygwin_hmodule;
HMODULE NO_COPY hntdll;
int NO_COPY sigExeced;
WCHAR windows_system_directory[MAX_PATH];
UINT windows_system_directory_length;