From 248ff8ab4e0849e3ebf6276f0fb05e17eea8fbed Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 24 Apr 1998 19:47:55 +0000 Subject: Fri Apr 24 15:43:07 1998 Thomas Bushnell, n/BSG * io-ops.c (S_io_select): When returning EINTR after cancellation, deallocate REPLY because the stub won't do it for us. Reported by UCHIYAMA Yasushi (uch@nop.or.jp). --- pfinet/io-ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pfinet/io-ops.c') diff --git a/pfinet/io-ops.c b/pfinet/io-ops.c index 147e52b0..2261bf9f 100644 --- a/pfinet/io-ops.c +++ b/pfinet/io-ops.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -306,6 +306,7 @@ S_io_select (struct sock_user *user, if (cancel) { mutex_unlock (&global_lock); + mach_port_deallocate (mach_task_self (), reply); return EINTR; } } -- cgit v1.2.3