* 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:
@@ -1205,6 +1205,8 @@ wait_sig (VOID *)
|
||||
sigproc_printf ("entering ReadFile loop, my_readsig %p, my_sendsig %p",
|
||||
my_readsig, my_sendsig);
|
||||
|
||||
hntdll = GetModuleHandle ("ntdll.dll");
|
||||
|
||||
for (;;)
|
||||
{
|
||||
DWORD nb;
|
||||
|
Reference in New Issue
Block a user