From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 1C2F41F4D7 for ; Mon, 18 Apr 2022 09:50:05 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/4] lei: finish wiring up pure-Perl stuff for Linux Date: Mon, 18 Apr 2022 09:50:00 +0000 Message-Id: <20220418095004.466-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Some cleanups here, too; but this hopefully makes lei more accessible to users who don't have space/bandwidth to use Inline::C. I thought I sent these out weeks ago, but Real-Life, power outages and other lei problems got in the way, I guess :x Eric Wong (4): lei: clobber recvmsg buffer on errors syscall: more idiomatic cmsghdr space allocation lei: wire up pure Perl sendmsg/recvmsg for Linux users syscall: golf + more idiomatic buffer initialization lib/PublicInbox/IPC.pm | 4 ++++ lib/PublicInbox/LEI.pm | 4 ++++ lib/PublicInbox/LeiSelfSocket.pm | 1 + lib/PublicInbox/Syscall.pm | 13 ++++++------- lib/PublicInbox/TestCommon.pm | 16 ++++++++++++---- t/lei-daemon.t | 6 +++++- t/lei-externals.t | 1 + 7 files changed, 33 insertions(+), 12 deletions(-)