* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Revert previous checkin.
This commit is contained in:
parent
77cbeb0039
commit
cbec131f8e
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue