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-11 19:36:13 +0400
committerChristopher Faylor <me@cgf.cx>2004-10-11 19:36:13 +0400
commitcbec131f8eaaa35c20a28ee0d334e5dd31b97f55 (patch)
treeabc365254d9d2fd3d84abfb40b309f984512037c
parent77cbeb0039cd6a3caef44314fe0c635c6a97424d (diff)
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler_termios.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index f468bff95..f53f36e98 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-11 Christopher Faylor <cgf@timesys.com>
+
+ * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
+
2004-10-10 Christopher Faylor <cgf@timesys.com>
* cygtls.h (exitsock): New element.
diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc
index 4f1ce3e07..ecef3b8a9 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;