Mail Archives: cygwin-developers/1998/03/12/08:03:50
Without this a dup on an fd opened to a tty will reset flags.
patch from cgf AT bbc DOT com (Christopher Faylor)
* tty.cc (fhandler_tty_slave::dup): Don't set flags to 0. Flags
have already been set in wrapper.
*** tty.cc~ Sun Mar 01 16:09:05 1998
--- tty.cc Sun Mar 01 16:16:01 1998
*************** fhandler_tty_slave::dup (fhandler_base *
*** 1243,1249 ****
attach_tty (ttynum);
fts->ttynum = ttynum;
fts->set_close_on_exec (0);
- fts->set_flags (0);
const HANDLE proc = GetCurrentProcess ();
HANDLE nh;
--- 1243,1248 ----
--
http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
- Raw text -