From 1b0358455c89df1462bb49564fe773ac48b884b4 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 29 Sep 2010 15:08:49 +0000 Subject: * fhandler_tty.cc (fhandler_tty_slave::init): Revert to using tc->setpgid since previous change broke some use cases. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_tty.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'winsup') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7c799a4e7..c6dc22564 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-09-29 Christopher Faylor + + * fhandler_tty.cc (fhandler_tty_slave::init): Revert to using + tc->setpgid since previous change broke some use cases. + 2010-09-28 Christopher Faylor * 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 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); } } -- cgit v1.2.3