svn commit: r208801 - stable/8/sys/kern

Konstantin Belousov kib at FreeBSD.org
Fri Jun 4 14:07:00 UTC 2010


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
 };
 
 /*


More information about the svn-src-all mailing list