]> Sergey Matveev's repositories - public-inbox.git/commit
lei_xsearch: transfer 4 FDs internally, drop IO::FDPass
authorEric Wong <e@80x24.org>
Sun, 10 Jan 2021 12:15:18 +0000 (12:15 +0000)
committerEric Wong <e@80x24.org>
Tue, 12 Jan 2021 03:51:43 +0000 (03:51 +0000)
commit3019046b3ab9736922762df111d60ef7647e36a3
tree6cc7ec956a0c4e3b392367fa7bced25943dbc7b7
parent7b79c918a5ea79f6adc380ca917b0353475ab29c
lei_xsearch: transfer 4 FDs internally, drop IO::FDPass

It's easier to make the code more generic by transferring
all four FDs (std(in|out|err) + socket) instead of omitting
stdin.

We'll be reading from stdin on some imports, and possibly
outputting to stdout, so omitting stdin now would needlessly
complicate things.

The differences with IO::FDPass "1" code paths and the "4"
code paths used by Inline::C and Socket::MsgHdr are far too
much to support and test at the moment.
MANIFEST
lib/PublicInbox/CmdIPC1.pm [deleted file]
lib/PublicInbox/IPC.pm
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiQuery.pm
lib/PublicInbox/LeiXSearch.pm
lib/PublicInbox/Spawn.pm
script/lei
t/cmd_ipc.t
t/ipc.t
t/lei.t