]> Sergey Matveev's repositories - public-inbox.git/commit
dir_idle: require Perl 5.22+ for kqueue
authorEric Wong <e@yhbt.net>
Sat, 8 Aug 2020 04:59:49 +0000 (04:59 +0000)
committerEric Wong <e@yhbt.net>
Sat, 8 Aug 2020 10:47:17 +0000 (10:47 +0000)
commit5458d831698f79c58adf955dc11753d3b560374d
tree15f6b12a120a3070080e6103c3fcc9afff4e3e7e
parent683e5fbbfef867ff04b376b3d5230976004a6c7a
dir_idle: require Perl 5.22+ for kqueue

IO::KQueue requires us to use fileno(DIRHANDLE) for setting up
kqueue watches.  This use of fileno() is only supported since
Perl 5.22, so BSD users on older Perl will have to fall back to
old polling.

This affects users of -watch, currently; but will affect other
read-only Xapian users soon.
lib/PublicInbox/DirIdle.pm