Author: kib
Date: Fri Jun  4 14:06:59 2010
New Revision: 208801
URL: http://svn.freebsd.org/changeset/base/208801

Log:
  MFC r208374:
  Remove POLLHUP 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.
  
  Approved by:    re (kensmith)

Modified:
  stable/8/sys/kern/sys_generic.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/kern/sys_generic.c
==============================================================================
--- stable/8/sys/kern/sys_generic.c     Fri Jun  4 13:55:55 2010        
(r208800)
+++ stable/8/sys/kern/sys_generic.c     Fri Jun  4 14:06:59 2010        
(r208801)
@@ -996,7 +996,7 @@ done:
 static int select_flags[3] = {
     POLLRDNORM | POLLHUP | POLLERR,
     POLLWRNORM | POLLHUP | POLLERR,
-    POLLRDBAND | POLLHUP | POLLERR
+    POLLRDBAND | POLLERR
 };
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to