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>2006-03-20 04:16:39 +0300
committerChristopher Faylor <me@cgf.cx>2006-03-20 04:16:39 +0300
commit7d85b417f1635c44b16571a01b43dfea6f9d3d61 (patch)
treed9945331078b559dc50af61541605140401bc483
parentcba9ecfffd3662b1db3a6af0274d2b37e1efa66f (diff)
* dcrt0.cc (dll_crt0_0): Oops. We need to bother with setting this in the
fork/exec case.
-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 ();