kern/126076: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Fri Nov 12 15:40:15 UTC 2010
The following reply was made to PR kern/126076; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/126076: commit references a PR
Date: Fri, 12 Nov 2010 15:30:54 +0000 (UTC)
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
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list