aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_termios.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-11 15:36:13 +0000
committerChristopher Faylor <me@cgf.cx>2004-10-11 15:36:13 +0000
commitcbec131f8eaaa35c20a28ee0d334e5dd31b97f55 (patch)
treeabc365254d9d2fd3d84abfb40b309f984512037c /winsup/cygwin/fhandler_termios.cc
parent77cbeb0039cd6a3caef44314fe0c635c6a97424d (diff)
downloadnewlib-cbec131f8eaaa35c20a28ee0d334e5dd31b97f55.zip
newlib-cbec131f8eaaa35c20a28ee0d334e5dd31b97f55.tar.gz
newlib-cbec131f8eaaa35c20a28ee0d334e5dd31b97f55.tar.bz2
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
Diffstat (limited to 'winsup/cygwin/fhandler_termios.cc')
-rw-r--r--winsup/cygwin/fhandler_termios.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc
index 4f1ce3e..ecef3b8 100644
--- a/winsup/cygwin/fhandler_termios.cc
+++ b/winsup/cygwin/fhandler_termios.cc
@@ -67,7 +67,7 @@ fhandler_termios::tcsetpgrp (const pid_t pgid)
{
termios_printf ("tty %d pgid %d, sid %d, tsid %d", tc->ntty, pgid,
myself->sid, tc->getsid ());
- if (!pid_exists (pgid) || myself->sid != tc->getsid ())
+ if (myself->sid != tc->getsid ())
{
set_errno (EPERM);
return -1;