]> Sergey Matveev's repositories - public-inbox.git/commit
lei: allow more mbox inode types
authorEric Wong <e@80x24.org>
Wed, 20 Jan 2021 05:04:43 +0000 (14:04 +0900)
committerEric Wong <e@80x24.org>
Thu, 21 Jan 2021 03:29:16 +0000 (03:29 +0000)
commit3dde6fa1268e2f86f10f26b7d427598e582aed2a
tree91594295d071ff279bcc4d18bc3fb3dc1e9d3334
parentb0b13249a538fc6f9a4c109d15d51170e3dd8bdd
lei: allow more mbox inode types

We may attempt to write an mbox to any terminal, block, or
character device, not just regular files and FIFOs/pipes.
The only thing that is known to not work is a directory.

Sockets may be possible with some OSes (e.g. Plan 9) or
filesystems.  This fixes t/lei.t on FreeBSD 11.x
lib/PublicInbox/LeiOverview.pm
lib/PublicInbox/LeiToMail.pm
t/lei.t