View | Details | Raw Unified | Return to bug 231475 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-src-ev_kqueue.c (+11 lines)
Line 0 Link Here
1
--- src/ev_kqueue.c.orig	2018-09-19 12:15:26.884239000 +0000
2
+++ src/ev_kqueue.c	2018-09-19 12:15:41.959024000 +0000
3
@@ -43,7 +43,7 @@
4
 	if (!(fdtab[fd].thread_mask & tid_bit) || !(en & FD_EV_POLLED_RW)) {
5
 		if (!(fdtab[fd].polled_mask & tid_bit)) {
6
 			/* fd was not watched, it's still not */
7
-			return 0;
8
+			return changes;
9
 		}
10
 		/* fd totally removed from poll list */
11
 		EV_SET(&kev[changes++], fd, EVFILT_READ, EV_DELETE, 0, 0, NULL);

Return to bug 231475