summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.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/dcrt0.cc
parent062c2fa42f64aef80615e433af44028332b34ca8 (diff)
downloadcygnal-7a1bf10a8433261a1dd4ae86b76750716d358569.tar.gz
cygnal-7a1bf10a8433261a1dd4ae86b76750716d358569.tar.bz2
cygnal-7a1bf10a8433261a1dd4ae86b76750716d358569.zip
bad_addresses
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index e88f64a16..1783d5564 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -547,7 +547,7 @@ initial_env ()
len = GetModuleFileName (NULL, buf, CYG_MAX_PATH);
console_printf ("Sleeping %d, pid %u %s\n", ms, GetCurrentProcessId (), buf);
Sleep (ms);
- if (!strace.active)
+ if (!strace.active && !dynamically_loaded)
{
strace.inited = 0;
strace.hello ();
@@ -634,7 +634,6 @@ dll_crt0_0 ()
wincap.init ();
initial_env ();
- init_console_handler (TRUE);
init_global_security ();
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
GetCurrentProcess (), &hMainProc, 0, FALSE,