aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-02-01 01:08:12 +0000
committerRoland McGrath <roland@gnu.org>1996-02-01 01:08:12 +0000
commitb18c76e9f59cf974fe7e297c1a4fdbe13d1b3b7c (patch)
tree1518199f971cd5c3207f205af05ae3dcf3569093 /hurd
parent635a5405819cfe76c6e82cd1fd18596388a15847 (diff)
downloadglibc-b18c76e9f59cf974fe7e297c1a4fdbe13d1b3b7c.zip
glibc-b18c76e9f59cf974fe7e297c1a4fdbe13d1b3b7c.tar.gz
glibc-b18c76e9f59cf974fe7e297c1a4fdbe13d1b3b7c.tar.bz2
(_hurd_intr_rpc_mach_msg): Clear SS->intr_port when cancelled before RPC.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/intr-msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hurd/intr-msg.c b/hurd/intr-msg.c
index 9362731..63fac30 100644
--- a/hurd/intr-msg.c
+++ b/hurd/intr-msg.c
@@ -59,6 +59,8 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
if (ss->cancel)
{
+ /* We have been cancelled. Don't do an RPC at all. */
+ ss->intr_port = MACH_PORT_NULL;
ss->cancel = 0;
return EINTR;
}