]> Sergey Matveev's repositories - public-inbox.git/commit
pop3: drop File::FcntlLock requirement for FreeBSD and Linux
authorEric Wong <e@80x24.org>
Thu, 21 Jul 2022 05:36:12 +0000 (05:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 21 Jul 2022 14:03:58 +0000 (14:03 +0000)
commitf0b735529e3083e222f3edd6644cd927ad35bb39
treecb37a5550cfdb9186840c6d4de566c2cb8072cbf
parent5f28e29a9cac8d0f61af4212895585ad930bc370
pop3: drop File::FcntlLock requirement for FreeBSD and Linux

I know Linux has a stable ABI for this, and FreeBSD seems to,
too (*BSDs don't have stable syscall numbers, though).
I suspect this is safe enough for all *BSDs.

This is stricter than the MboxLock one since we use exact byte
ranges with these locks.
lib/PublicInbox/POP3D.pm
t/pop3d.t