]> Sergey Matveev's repositories - public-inbox.git/commit
lei: use open() perlop for -C (chdir)
authorEric Wong <e@80x24.org>
Tue, 22 Jun 2021 10:04:36 +0000 (10:04 +0000)
committerEric Wong <e@80x24.org>
Tue, 22 Jun 2021 18:54:28 +0000 (18:54 +0000)
commita5be5d6f2db0b56dcc1d6034071458d75006670c
treebb615d4d0d987a2d6e998bd30c10a8f2f14334df
parent8e112fe221a74c2689c0a43576ed766deb0397e4
lei: use open() perlop for -C (chdir)

This is for consistency with the open() at initial accept, in
case we hit a code path which expects Perl directory handles
rather than "file handles".  Both work with the chdir() perlop
(fchdir(2), in our case).
lib/PublicInbox/LEI.pm