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
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to