svn commit: r208374 - head/sys/kern

Konstantin Belousov kib at FreeBSD.org
Fri May 21 10:36:30 UTC 2010


Author: kib
Date: Fri May 21 10:36:29 2010
New Revision: 208374
URL: http://svn.freebsd.org/changeset/base/208374

Log:
  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

Modified:
  head/sys/kern/sys_generic.c

Modified: head/sys/kern/sys_generic.c
==============================================================================
--- head/sys/kern/sys_generic.c	Fri May 21 09:52:49 2010	(r208373)
+++ head/sys/kern/sys_generic.c	Fri May 21 10:36:29 2010	(r208374)
@@ -996,7 +996,7 @@ done:
 static int select_flags[3] = {
     POLLRDNORM | POLLHUP | POLLERR,
     POLLWRNORM | POLLHUP | POLLERR,
-    POLLRDBAND | POLLHUP | POLLERR
+    POLLRDBAND | POLLERR
 };
 
 /*


More information about the svn-src-head mailing list