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>2013-12-10 00:32:24 +0400
committerChristopher Faylor <me@cgf.cx>2013-12-10 00:32:24 +0400
commitae8456bdf2bd8d7a9b3a5ef0b18169caa7548189 (patch)
tree947d4df6505cfa920a119112cefd106df51e8da2 /winsup/cygwin/sigproc.cc
parentdb0d50a67d788f0163b7ea2bad17b966f1e43512 (diff)
* 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.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index a2a2edd33..906dc6a35 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -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;