]> Sergey Matveev's repositories - public-inbox.git/commit
lei: less error-prone FD mapping
authorEric Wong <e@80x24.org>
Fri, 29 Jan 2021 07:42:57 +0000 (12:42 +0500)
committerEric Wong <e@80x24.org>
Sat, 30 Jan 2021 01:08:19 +0000 (01:08 +0000)
commit401803a9e717ba05c8a73f9bf60d1175b316bb77
treea8c41470d994cddd362dc45071c5df836ee48fe2
parent89c34c8ea543ade16e5a68bf1c2b83bf885c46ea
lei: less error-prone FD mapping

Keeping track of non-standard FDs gets tricky, so make it easier
by relying on st_dev/st_ino mapping in the transmitted objects.

We'll keep using numbers for the standard FDs since we need to
be able to easily redirect them in the producer (main daemon)
process for (gzip|bzip2|xz) if writing to a compressed mbox.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiOverview.pm
lib/PublicInbox/LeiToMail.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/Spawn.pm