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