summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-05-21 10:36:29 +0000
committerkib <kib@FreeBSD.org>2010-05-21 10:36:29 +0000
commit890c865dcff99aec8227610af427901ad973cb96 (patch)
treedc8d90e4afdddc346ba3364337f6f284e7607aed
parent013e2a21840c76b0f56bfa2227841a04d4c91278 (diff)
downloadFreeBSD-src-890c865dcff99aec8227610af427901ad973cb96.zip
FreeBSD-src-890c865dcff99aec8227610af427901ad973cb96.tar.gz
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 <ysarumaru gmail com> Discussed with: bde PR: ports/140934 MFC after: 2 weeks
-rw-r--r--sys/kern/sys_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c
index eaefd9c..293dbb1 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
};
/*
OpenPOWER on IntegriCloud