diff options
Diffstat (limited to 'term/ptyio.c')
-rw-r--r-- | term/ptyio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/term/ptyio.c b/term/ptyio.c index c8b9f534..096ab9d0 100644 --- a/term/ptyio.c +++ b/term/ptyio.c @@ -404,9 +404,8 @@ pty_io_readable (int *amt) /* Validation has already been done by trivfs_S_io_select. */ error_t -pty_io_select (struct trivfs_protid *cred, - int *type, - int *idtag) +pty_io_select (struct trivfs_protid *cred, mach_port_t reply, + int *type, int *idtag) { int avail = 0; @@ -433,6 +432,8 @@ pty_io_select (struct trivfs_protid *cred, return 0; } + ports_interrupt_self_on_port_death (cred, reply); + pty_read_blocked = 1; if (hurd_condition_wait (&pty_select_wakeup, &global_lock)) { |