summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/dcrt0.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a87f1945a..3e893bd74 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2006-03-19 Christopher Faylor <cgf@timesys.com>
+ * dcrt0.cc (dll_crt0_0): Oops. We need to bother with setting this in
+ the fork/exec case.
+
+2006-03-19 Christopher Faylor <cgf@timesys.com>
+
* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler
here since it will be set later when we discover if we have a ctty or
not.
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 1362e7052..de01d7435 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -742,6 +742,7 @@ dll_crt0_0 ()
}
break;
}
+ init_console_handler (myself->ctty >= 0);
}
user_data->resourcelocks->Init ();