]> Sergey Matveev's repositories - public-inbox.git/commit
pop3d: enable native fcntl locks on all *BSDs
authorEric Wong <e@80x24.org>
Thu, 11 Aug 2022 20:00:21 +0000 (20:00 +0000)
committerEric Wong <e@80x24.org>
Thu, 11 Aug 2022 21:57:51 +0000 (21:57 +0000)
commit9ebb883f1a84f7be76ded974b3e86adf36b327e4
tree41c3442199f251ea983017e66b5fba6376e70b13
parent132060cd24f640bb053406fcfa9a48d75589cac2
pop3d: enable native fcntl locks on all *BSDs

...as we've already done for the simpler case of mbox locking in lei.
I've just confirmed NetBSD and OpenBSD share the same "struct flock"
with FreeBSD, and assume DragonflyBSD is the same.  sizeof(pid_t) == 4
in all places I've checked, and it's unlikely we'll need 64-bit
pid_t any time soon...
lib/PublicInbox/POP3D.pm