about summary refs log tree commit homepage
path: root/lib/PublicInbox/DSKQXS.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-26 07:58:15 +0000
committerEric Wong <e@80x24.org>2019-06-26 07:58:15 +0000
commit7d7e5013e3d2e56c48735698e39890e8f67b6b56 (patch)
tree4ead243f0c08ce31bf8da9ada8bcda05ad63bc22 /lib/PublicInbox/DSKQXS.pm
parent84d8920b92686e975929aebe845b6d4ea0a9ef0d (diff)
downloadpublic-inbox-7d7e5013e3d2e56c48735698e39890e8f67b6b56.tar.gz
On Linux systems with epoll support, we don't want to be
clobbering defined subs in the t/ds-poll.t test; so use
OO ->method dispatch instead and require users to explicitly
import subs via EXPORT_OK.
Diffstat (limited to 'lib/PublicInbox/DSKQXS.pm')
-rw-r--r--lib/PublicInbox/DSKQXS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/DSKQXS.pm b/lib/PublicInbox/DSKQXS.pm
index 38e13446..364df3d6 100644
--- a/lib/PublicInbox/DSKQXS.pm
+++ b/lib/PublicInbox/DSKQXS.pm
@@ -17,7 +17,7 @@ use parent qw(IO::KQueue);
 use parent qw(Exporter);
 use IO::KQueue;
 use PublicInbox::Syscall qw(EPOLLONESHOT EPOLLIN EPOLLOUT EPOLL_CTL_DEL);
-our @EXPORT = qw(epoll_ctl epoll_wait);
+our @EXPORT_OK = qw(epoll_ctl epoll_wait);
 my $owner_pid = -1; # kqueue is close-on-fork (yes, fork, not exec)
 
 # map EPOLL* bits to kqueue EV_* flags for EV_SET