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 + + * fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin. + 2004-10-10 Christopher Faylor * 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;