Re: EV_SET() trouble

2017-05-31 Thread Ted Unangst
Kamil Rytarowski wrote: > I committed the following patch [1] to NetBSD, it's a valid issue for > OpenBSD as well [2]: > > It works on FreeBSD and MacOSX, however it broke on NetBSD. > > Culrpit line: >EV_SET(_events[i++], fd.first, EVFILT_READ, EV_ADD, 0, 0, 0); thanks for pointing this

EV_SET() trouble

2017-05-31 Thread Kamil Rytarowski
I committed the following patch [1] to NetBSD, it's a valid issue for OpenBSD as well [2]: Convert EV_SET from macro to static __inline function LLDB introduced support for kevent(2) and it contains the following function: Status MainLoop::RunImpl::Poll() {