svn commit: r215572 - stable/8/sys/sys
Jilles Tjoelker
jilles at FreeBSD.org
Sat Nov 20 16:46:16 UTC 2010
Author: jilles
Date: Sat Nov 20 16:46:16 2010
New Revision: 215572
URL: http://svn.freebsd.org/changeset/base/215572
Log:
MFC r215183: Make POLL_ERR and POLL_HUP different.
The kernel currently does not generate any of the POLL_* constants, but
some applications use them and break if they are not all distinct.
PR: kern/126076
Modified:
stable/8/sys/sys/signal.h
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)
Modified: stable/8/sys/sys/signal.h
==============================================================================
--- stable/8/sys/sys/signal.h Sat Nov 20 16:42:19 2010 (r215571)
+++ stable/8/sys/sys/signal.h Sat Nov 20 16:46:16 2010 (r215572)
@@ -283,7 +283,7 @@ typedef struct __siginfo {
#define POLL_MSG 3 /* Input message available */
#define POLL_ERR 4 /* I/O Error */
#define POLL_PRI 5 /* High priority input available */
-#define POLL_HUP 4 /* Device disconnected */
+#define POLL_HUP 6 /* Device disconnected */
#endif
More information about the svn-src-stable
mailing list