diff options
Diffstat (limited to 'lib/PublicInbox/Spawn.pm')
-rw-r--r-- | lib/PublicInbox/Spawn.pm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm index 61e95433..cd94ba96 100644 --- a/lib/PublicInbox/Spawn.pm +++ b/lib/PublicInbox/Spawn.pm @@ -315,17 +315,6 @@ unless ($set_nodatacow) { *nodatacow_fd = \&PublicInbox::NDC_PP::nodatacow_fd; *nodatacow_dir = \&PublicInbox::NDC_PP::nodatacow_dir; } -unless (__PACKAGE__->can('recv_3fds')) { - eval { # try the XS IO::FDPass package - require IO::FDPass; - no warnings 'once'; - *recv_3fds = sub { map { IO::FDPass::recv($_[0]) } (0..2) }; - *send_3fds = sub ($$$$) { - my $sockfd = shift; - IO::FDPass::send($sockfd, shift) for (0..2); - }; - }; -} undef $set_nodatacow; undef $vfork_spawn; |