Cygwin: pty: Define mask_switch_to_pcon_in() in fhandler_tty.cc.
- This patch moves the definition of mask_switch_to_pcon() from fhandler.h to fhandler_tty.cc.
This commit is contained in:
committed by
Corinna Vinschen
parent
3a71c46380
commit
2bae159171
@ -1395,6 +1395,16 @@ fhandler_pty_slave::write (const void *ptr, size_t len)
|
||||
return towrite;
|
||||
}
|
||||
|
||||
void
|
||||
fhandler_pty_slave::mask_switch_to_pcon_in (bool mask)
|
||||
{
|
||||
if (!mask && get_ttyp ()->pcon_pid &&
|
||||
get_ttyp ()->pcon_pid != myself->pid &&
|
||||
!!pinfo (get_ttyp ()->pcon_pid))
|
||||
return;
|
||||
get_ttyp ()->mask_switch_to_pcon_in = mask;
|
||||
}
|
||||
|
||||
bool
|
||||
fhandler_pty_common::to_be_read_from_pcon (void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user