summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/select.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-07-29 03:18:41 +0000
committerChristopher Faylor <me@cgf.cx>2002-07-29 03:18:41 +0000
commiteb5720f25501cd7e9b8115bb0220bef058bb5afd (patch)
tree958e311a9e81265e3f16c62f24ebefd39cb12e74 /winsup/cygwin/select.cc
parentefd34df5a512a754690c75ac74d75929f7f6fd2d (diff)
downloadcygnal-eb5720f25501cd7e9b8115bb0220bef058bb5afd.tar.gz
cygnal-eb5720f25501cd7e9b8115bb0220bef058bb5afd.tar.bz2
cygnal-eb5720f25501cd7e9b8115bb0220bef058bb5afd.zip
* fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrp
method. * select.cc (peek_console): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to entire process group as dictated by SUSv3. * termios.cc (tcsetattr): Detect when stopped signal sent and force a stop before setting anything.
Diffstat (limited to 'winsup/cygwin/select.cc')
-rw-r--r--winsup/cygwin/select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc
index 30e082a2e..808882d3f 100644
--- a/winsup/cygwin/select.cc
+++ b/winsup/cygwin/select.cc
@@ -661,7 +661,7 @@ peek_console (select_record *me, bool)
else
{
if (irec.EventType == WINDOW_BUFFER_SIZE_EVENT)
- kill_pgrp (fh->tc->getpgid (), SIGWINCH);
+ fh->tc->kill_pgrp (SIGWINCH);
else if (irec.EventType == MOUSE_EVENT &&
(irec.Event.MouseEvent.dwEventFlags == 0 ||
irec.Event.MouseEvent.dwEventFlags == DOUBLE_CLICK))