Ticket #18491: patch-NextEvent.c-XPOLL_EXCEPT

File patch-NextEvent.c-XPOLL_EXCEPT, 379 bytes (added by yaseppochi (Stephen J. Turnbull), 16 years ago)
Line 
1--- src/NextEvent.c.orig        2006-07-12 03:05:55.000000000 +0900
2+++ src/NextEvent.c     2009-02-14 17:22:36.000000000 +0900
3@@ -259,7 +259,7 @@
4 
5 #define XPOLL_READ (POLLIN|POLLRDNORM|POLLPRI|POLLRDBAND)
6 #define XPOLL_WRITE (POLLOUT|POLLWRNORM|POLLWRBAND)
7-#define XPOLL_EXCEPT 0
8+#define XPOLL_EXCEPT (POLLNVAL)
9 
10     if (!ignoreEvents)
11        wf->fdlistlen = wf->num_dpys = app->count;