From 792011508a5faae82e03a8b49ca1718b5b29be06 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 8 May 2001 15:16:49 +0000 Subject: * cygheap.cc (_cfree): Add regparm attribute. (_crealloc): Ditto. * dcrt0.cc (dll_crt0_1): Default to always checking for executable for now. * dtable.cc (dtable::not_open): Move method. * dtable.h (dtable): Here. * exceptions.cc (ctrl_c_handler): Don't expect process group leader to handle a signal if it doesn't exist. * fhandler.h (fhandler_base): Make openflags protected. * localtime.c (tzsetwall): Check for __CYGWIN__ as well as __WIN32__. * path.cc (path_conv::check): Add some comments. Change strcat to assignment. * lib/_cygwin_S_IEXEC.cc (_cygwin_bob__): Eliminate. * fhandler_tty.cc (fhandler_console::dup): Set controlling terminal if necessary. * fhandler_tty.cc (fhandler_tty_slave::dup): Ditto. --- winsup/cygwin/fhandler_tty.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/fhandler_tty.cc') diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 1a6ffb4a2..ce499c89c 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -783,6 +783,7 @@ fhandler_tty_common::dup (fhandler_base *child) fts->tcinit (get_ttyp ()); attach_tty (ttynum); + tc->set_ctty (ttynum, openflags & ~O_NOCTTY); HANDLE nh; -- cgit v1.2.3