Date: Fri, 12 Nov 2010 15:30:49 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r215183 - head/sys/sys Message-ID: <201011121530.oACFUnkF013157@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011121530.oACFUnkF013157>