From e5d41f47e27fbb1cc90ea5e0b8336d4aab36dbc9 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 18 Jan 1996 16:46:22 +0000 Subject: (trivfs_S_io_select): Ask for notification if our reply port dies. Pass REPLY to pty_io_select(). --- term/users.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/term/users.c b/term/users.c index 450640be..b4df3dbe 100644 --- a/term/users.c +++ b/term/users.c @@ -1710,7 +1710,7 @@ trivfs_S_io_select (struct trivfs_protid *cred, return EOPNOTSUPP; if (cred->pi.class == pty_class) - return pty_io_select (cred, type, idtag); + return pty_io_select (cred, reply, type, idtag); /* We don't deal with SELECT_URG here. */ if (*type & ~(SELECT_READ | SELECT_WRITE)) @@ -1736,6 +1736,7 @@ trivfs_S_io_select (struct trivfs_protid *cred, return 0; } + ports_interrupt_self_on_port_death (cred, reply); if (hurd_condition_wait (&select_alert, &global_lock)) { *type = 0; -- cgit v1.2.3