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-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 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 534DB1F4B4 for ; Sun, 27 Dec 2020 02:53:08 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] some yak shaving Date: Sun, 27 Dec 2020 02:53:02 +0000 Message-Id: <20201227025307.77703-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Some minor things to fix some small annoyances; I needed a break from other areas of the code. Eric Wong (5): git: qx: avoid extra "local" for scalar context case import: check for git->qx errors, clearer return values check defined return value for localized slurp errors ds: simplify EventLoop implementation ds: flatten + reuse @events, epoll_wait style fixes lib/PublicInbox/DS.pm | 49 ++++++++-------------------- lib/PublicInbox/DSKQXS.pm | 2 +- lib/PublicInbox/DSPoll.pm | 3 +- lib/PublicInbox/Gcf2.pm | 2 +- lib/PublicInbox/Git.pm | 6 ++-- lib/PublicInbox/Import.pm | 9 +++--- lib/PublicInbox/Inbox.pm | 9 ++---- lib/PublicInbox/Syscall.pm | 66 +++++++++++++++++++++----------------- script/public-inbox-edit | 3 +- script/public-inbox-init | 6 +--- script/public-inbox-learn | 3 +- script/public-inbox-purge | 2 +- t/ds-poll.t | 28 ++++++++-------- t/epoll.t | 8 ++--- t/git.t | 5 +++ 15 files changed, 92 insertions(+), 109 deletions(-)