]> Sergey Matveev's repositories - public-inbox.git/commit
spamcheck/spamc: pass GLOB handles instead of FD numbers
authorEric Wong <e@80x24.org>
Tue, 31 Dec 2019 22:34:16 +0000 (22:34 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Jan 2020 07:50:13 +0000 (07:50 +0000)
commit9004fa901b09d7c50be31e0f800474503ece3d5a
treefa66bbf5d4cf50b78f4b019b52812b868a2b2e53
parent57c2bb80e2f94dfcbf08532f72c7ed568ceef7be
spamcheck/spamc: pass GLOB handles instead of FD numbers

The spawn() interface improvements[1] propagate to popen_rd,
too, so we can avoid weird dances to keep the GLOB handle
references live and just pass the handle around.

[1] commit 267371b1273b518215939e817e53733584b68af7
    ("spawn: allow passing GLOB handles for redirects")
lib/PublicInbox/Spamcheck/Spamc.pm