From 885db166cdec5dd0befd46f94f36edb9e786169a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 1 Feb 2024 20:59:48 +0000 Subject: pop3d: support fcntl locks on OpenBSD i386 The packaged Perl on OpenBSD i386 supports 64-bit file offsets but not 64-bit integer support for 'q' and 'Q' with `pack'. Since servers aren't likely to require lock files larger than 2 GB (we'd need an inbox with >2 billion messages), we can workaround the Perl build limitation with explicit padding. File::FcntlLock isn't packaged for OpenBSD <= 7.4 (but should be in future releases), but I can test i386 OpenBSD on an extremely slow VM. Big endian support can be done, too, but I have no idea if there's 32-bit BE users around nowadays... --- MANIFEST | 1 + 1 file changed, 1 insertion(+) (limited to 'MANIFEST') diff --git a/MANIFEST b/MANIFEST index 2223cfb4..4c974338 100644 --- a/MANIFEST +++ b/MANIFEST @@ -575,6 +575,7 @@ t/plack-qp.eml t/plack.t t/pop3d-limit.t t/pop3d.t +t/pop3d_lock.t t/precheck.t t/psgi_attach.eml t/psgi_attach.t -- cgit v1.2.3-24-ge0c7