From 6882534f6a988db8627793193ca183a080dd515d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Mar 2000 10:32:21 +0000 Subject: 2000-03-17 Roland McGrath * users.c (send_signal): Use ports_get_send_right. --- term/users.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'term') diff --git a/term/users.c b/term/users.c index 1168ca10..1265b2fe 100644 --- a/term/users.c +++ b/term/users.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995, 96, 97, 98, 1999 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2000 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -2122,9 +2122,7 @@ send_signal (int signo) if (!(termflags & NO_OWNER)) { - right = ports_get_right (cttyid); - mach_port_insert_right (mach_task_self (), right, right, - MACH_MSG_TYPE_MAKE_SEND); + right = ports_get_send_right (cttyid); report_sig_start (); mutex_unlock (&global_lock); hurd_sig_post (foreground_id, signo, right); -- cgit v1.2.3