aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/init.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-02 04:46:51 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-02 04:46:51 +0000
commit7a1bf10a8433261a1dd4ae86b76750716d358569 (patch)
treeb7afc8189706eba8c9e0ccca56ca61c7cda00013 /winsup/cygwin/init.cc
parent062c2fa42f64aef80615e433af44028332b34ca8 (diff)
downloadnewlib-7a1bf10a8433261a1dd4ae86b76750716d358569.zip
newlib-7a1bf10a8433261a1dd4ae86b76750716d358569.tar.gz
newlib-7a1bf10a8433261a1dd4ae86b76750716d358569.tar.bz2
bad_addresses
Diffstat (limited to 'winsup/cygwin/init.cc')
-rw-r--r--winsup/cygwin/init.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index 491a9d2..cad51cc 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -147,6 +147,7 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
case DLL_PROCESS_ATTACH:
cygwin_hmodule = (HMODULE) h;
dynamically_loaded = (static_load == NULL);
+ init_console_handler (TRUE);
/* Is the stack at an unusual address? This is, an address which
is in the usual space occupied by the process image, but below