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 9B4651F9FD for ; Fri, 19 Feb 2021 00:58:32 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] Maildir fixups Date: Fri, 19 Feb 2021 00:58:30 +0000 Message-Id: <20210219005832.4904-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Emergency only writes to "new", and LeiToMail only writes to "cur", but otherwise try to make them more similar. LeiToMail remains more performance critical since it's for bulk dumps; and Emergency is close to the original djb specification with hostname and PID in the filename. Eric Wong (2): lei_to_mail: Maildir: ensure link(2) succeeds emergency: modernize and reduce syscalls lib/PublicInbox/Emergency.pm | 59 +++++++++++++++--------------------- lib/PublicInbox/LeiToMail.pm | 3 +- 2 files changed, 26 insertions(+), 36 deletions(-)