summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-03-20 01:16:39 +0000
committerChristopher Faylor <me@cgf.cx>2006-03-20 01:16:39 +0000
commit7d85b417f1635c44b16571a01b43dfea6f9d3d61 (patch)
treed9945331078b559dc50af61541605140401bc483 /winsup/cygwin/dcrt0.cc
parentcba9ecfffd3662b1db3a6af0274d2b37e1efa66f (diff)
downloadcygnal-7d85b417f1635c44b16571a01b43dfea6f9d3d61.tar.gz
cygnal-7d85b417f1635c44b16571a01b43dfea6f9d3d61.tar.bz2
cygnal-7d85b417f1635c44b16571a01b43dfea6f9d3d61.zip
* dcrt0.cc (dll_crt0_0): Oops. We need to bother with setting this in the
fork/exec case.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc1
1 files changed, 1 insertions, 0 deletions
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 ();