svn commit: r215183 - head/sys/sys
Jilles Tjoelker
jilles at FreeBSD.org
Fri Nov 12 15:30:50 UTC 2010
Author: jilles
Date: Fri Nov 12 15:30:49 2010
New Revision: 215183
URL: http://svn.freebsd.org/changeset/base/215183
Log:
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
MFC after: 1 week
Modified:
head/sys/sys/signal.h
Modified: head/sys/sys/signal.h
==============================================================================
--- head/sys/sys/signal.h Fri Nov 12 15:20:10 2010 (r215182)
+++ head/sys/sys/signal.h Fri Nov 12 15:30:49 2010 (r215183)
@@ -284,7 +284,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-all
mailing list