* fhandler_tty.cc (fhandler_tty_slave::init): Revert to using tc->setpgid since

previous change broke some use cases.
This commit is contained in:
Christopher Faylor 2010-09-29 15:08:49 +00:00
parent 7452b91e12
commit 1b0358455c
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);
}
}