diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2006-11-17 01:18:44 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2006-11-17 01:18:44 +0000 |
| commit | f8374320671c6a39b6d2935b5b3e21b5824e4407 (patch) | |
| tree | e8f1280d7479efefe71879ca2d9e78fbe327b405 /mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c | |
| parent | 088b4fa7df37b5bea6880adfa83fcc36d9e7dc6a (diff) | |
Diffstat (limited to 'mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c')
| -rw-r--r-- | mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c b/mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c deleted file mode 100644 index bdf3f6d75899..000000000000 --- a/mail/dovecot-devel/files/patch-src_lib_ioloop-notify-kqueue.c +++ /dev/null @@ -1,14 +0,0 @@ ---- src/lib/ioloop-notify-kqueue.c 16 Aug 2006 17:58:03 -0000 1.3.2.2 -+++ src/lib/ioloop-notify-kqueue.c 26 Aug 2006 13:55:01 -0000 1.3.2.3 -@@ -111,7 +111,10 @@ - io->callback = callback; - io->context = context; - -- EV_SET(&ev, fd, EVFILT_VNODE, EV_ADD, -+ /* EV_CLEAR flag is needed because the EVFILT_VNODE filter reports -+ event state transitions and not the current state. With this flag, -+ the same event is only returned once. */ -+ EV_SET(&ev, fd, EVFILT_VNODE, EV_ADD | EV_CLEAR, - NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_REVOKE, 0, io); - if (kevent(ctx->kq, &ev, 1, NULL, 0, NULL) < 0) { - i_error("kevent(%d, %s) for notify failed: %m", fd, path); |
