diff options
author | Christopher Faylor <me@cgf.cx> | 2010-09-29 19:08:49 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-09-29 19:08:49 +0400 |
commit | 1b0358455c89df1462bb49564fe773ac48b884b4 (patch) | |
tree | 3789792ce3d9b6a6af6b6f6effa92bc22786036e /winsup/cygwin/fhandler_tty.cc | |
parent | 7452b91e1255d9142f51fd65704be1c740a36954 (diff) |
* fhandler_tty.cc (fhandler_tty_slave::init): Revert to using tc->setpgid since
previous change broke some use cases.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 9f1cd6169..59c7345e8 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -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); } } |