From 61e53a389f9ca7ff55b5681871ada931c2f7fdf2 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 21 May 2010 10:36:29 +0000 Subject: [PATCH] Remove PIOLLHUP from the flags used to test for to set exceptfsd fd_set bits in select(2). It seems that historical behaviour is to not reporting exception on EOF, and several applications are broken. Reported by: Yoshihiko Sarumaru Discussed with: bde PR: ports/140934 MFC after: 2 weeks --- sys/kern/sys_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c index eaefd9c6903..293dbb1b46c 100644 --- a/sys/kern/sys_generic.c +++ b/sys/kern/sys_generic.c @@ -996,7 +996,7 @@ done: static int select_flags[3] = { POLLRDNORM | POLLHUP | POLLERR, POLLWRNORM | POLLHUP | POLLERR, - POLLRDBAND | POLLHUP | POLLERR + POLLRDBAND | POLLERR }; /*