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(-) -- unsubscribe: one-click, see List-Unsubscribe header archive: https://public-inbox.org/meta/
