* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.

This commit is contained in:
Christopher Faylor 2004-10-11 15:36:13 +00:00
parent 77cbeb0039
commit cbec131f8e
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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;