Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-09-29 19:08:49 +0400
committerChristopher Faylor <me@cgf.cx>2010-09-29 19:08:49 +0400
commit1b0358455c89df1462bb49564fe773ac48b884b4 (patch)
tree3789792ce3d9b6a6af6b6f6effa92bc22786036e /winsup
parent7452b91e1255d9142f51fd65704be1c740a36954 (diff)
* 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/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_tty.cc2
2 files changed, 6 insertions, 1 deletions
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 <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 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);
}
}