diff options
author | Christopher Faylor <me@cgf.cx> | 2004-10-11 15:36:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-10-11 15:36:13 +0000 |
commit | cbec131f8eaaa35c20a28ee0d334e5dd31b97f55 (patch) | |
tree | abc365254d9d2fd3d84abfb40b309f984512037c /winsup | |
parent | 77cbeb0039cd6a3caef44314fe0c635c6a97424d (diff) | |
download | newlib-cbec131f8eaaa35c20a28ee0d334e5dd31b97f55.zip newlib-cbec131f8eaaa35c20a28ee0d334e5dd31b97f55.tar.gz newlib-cbec131f8eaaa35c20a28ee0d334e5dd31b97f55.tar.bz2 |
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_termios.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f468bff..f53f36e 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 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; |