Closed ghost closed 7 years ago
Note: the FFI::Platform::IS_NETBSD
code is not yet in ffi
, I've requested a pullup: https://github.com/ffi/ffi/pull/350
Let me know when ffi gets a release out with FFI::Platform::IS_NETBSD
, I'll merge the pull request and get a new release out at that time 😄
ffi-1.9.5 is out.
NetBSD uses different sizes of the members
filter
,flags
of the structurekevent
. It also uses different numbering of theEVFILT_
flags.I've compared the
event.h
header files of FreeBSD, NetBSD and OpenBSD and changed the fileslib/rb-kqueue/native.rb
andlib/rb-kqueue/native/flags.rb
to match what I've found there regarding thekevent
structure and theEVFILT_
flags.c.f.