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
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-05 18:35:56 +0400
committerChristopher Faylor <me@cgf.cx>2004-10-05 18:35:56 +0400
commit67eedd247310cb2083f8b916b66fe8678dc4855c (patch)
tree11d59404dbf2d5206466c03ba1449196d17a936c
parente5e8c8b886229d253068085f622338e73586cc70 (diff)
revert erroneous checkin
-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 73032db46..4f1ce3e07 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 ((pgid != myself->pgid && !pid_exists (pgid)) || myself->sid != tc->getsid ())
+ if (!pid_exists (pgid) || myself->sid != tc->getsid ())
{
set_errno (EPERM);
return -1;