aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-02 04:51:09 +0000
committerChristopher Faylor <me@cgf.cx>2005-09-02 04:51:09 +0000
commitb8a66ba2cdef71c64a38ba3cc5609df3da41620e (patch)
treeaaf3c05def84c2051de08dba632e74216966c6f8 /winsup/cygwin/dcrt0.cc
parent7a1bf10a8433261a1dd4ae86b76750716d358569 (diff)
downloadnewlib-b8a66ba2cdef71c64a38ba3cc5609df3da41620e.zip
newlib-b8a66ba2cdef71c64a38ba3cc5609df3da41620e.tar.gz
newlib-b8a66ba2cdef71c64a38ba3cc5609df3da41620e.tar.bz2
revert inexplicable previous checkin
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 1783d55..e88f64a 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 && !dynamically_loaded)
+ if (!strace.active)
{
strace.inited = 0;
strace.hello ();
@@ -634,6 +634,7 @@ dll_crt0_0 ()
wincap.init ();
initial_env ();
+ init_console_handler (TRUE);
init_global_security ();
if (!DuplicateHandle (GetCurrentProcess (), GetCurrentProcess (),
GetCurrentProcess (), &hMainProc, 0, FALSE,