* fhandler_tty.cc (fhandler_tty_slave::init): Revert to using tc->setpgid since
previous change broke some use cases.
This commit is contained in:
parent
7452b91e12
commit
1b0358455c
|
@ -1,3 +1,8 @@
|
|||
2010-09-29 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* fhandler_tty.cc (fhandler_tty_slave::init): Revert to using
|
||||
tc->setpgid since previous change broke some use cases.
|
||||
|
||||
2010-09-28 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* fhandler_tty.cc (fhandler_tty_slave::init): Add debugging. Use
|
||||
|
|
|
@ -726,7 +726,7 @@ fhandler_tty_slave::init (HANDLE f, DWORD a, mode_t)
|
|||
{
|
||||
termios_printf ("Setting process group leader to %d since %W(%d) is not a cygwin process",
|
||||
myself->pgid, p->progname, p->pid);
|
||||
tcsetpgrp (myself->pgid);
|
||||
tc->setpgid (myself->pgid);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue