]> Sergey Matveev's repositories - public-inbox.git/commit
lei: restore working directory in more places
authorEric Wong <e@80x24.org>
Fri, 28 May 2021 09:45:20 +0000 (09:45 +0000)
committerEric Wong <e@80x24.org>
Fri, 28 May 2021 18:28:05 +0000 (18:28 +0000)
commit74b5dc0569db5adb4cc931ce3c3b1b50507eb31d
tree517e3e6e920e73dcdd942e3df34bf958bc104d83
parent6778614fc11224b6b472a3830543c0f6635193f8
lei: restore working directory in more places

Every tick of the event loop can change the working directory,
so we need to restore it for every client if they operate
in different directories.

This would be easier if we had openat(2) and friends in Perl;
but Inline::C is practically required for lei, now.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiLcat.pm
lib/PublicInbox/LeiQuery.pm
lib/PublicInbox/LeiXSearch.pm