about summary refs log tree commit homepage
path: root/lib/PublicInbox/Spawn.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-04 03:49:31 +0000
committerEric Wong <e@80x24.org>2023-10-04 17:46:47 +0000
commitebdccd6666f97aba9285c0b337372cf13dbb3099 (patch)
treefc053abc83a94b3f8ea84440dfe3f588af70f702 /lib/PublicInbox/Spawn.pm
parent9320c6107dc995bab8f740795b2c1e619a120041 (diff)
downloadpublic-inbox-ebdccd6666f97aba9285c0b337372cf13dbb3099.tar.gz
It's a TOUTTOC bug to do stat or access checks, anyways,
so just use the file and let autodie::sysopen PublicInbox::Lock
take care of the rest.
Diffstat (limited to 'lib/PublicInbox/Spawn.pm')
-rw-r--r--lib/PublicInbox/Spawn.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm
index 0dffe064..bb2abe28 100644
--- a/lib/PublicInbox/Spawn.pm
+++ b/lib/PublicInbox/Spawn.pm
@@ -282,8 +282,6 @@ ALL_LIBC
                         $ENV{XDG_CACHE_HOME} //
                         ( ($ENV{HOME} // '/nonexistent').'/.cache' )
                 ).'/public-inbox/inline-c';
-        warn "$inline_dir exists, not writable\n" if -e $inline_dir && !-w _;
-        $all_libc = undef unless -d _ && -w _;
         if (defined $all_libc) {
                 local $ENV{PERL_INLINE_DIRECTORY} = $inline_dir;
                 use autodie;