X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/bca3eed65c50f585248ae3a1cc8bb6a74e4e8bb8..a09cfae84e4dfd3259087303097ce83f98c14aea:/selfforum-cgi/shared/Posting/Cache.pm diff --git a/selfforum-cgi/shared/Posting/Cache.pm b/selfforum-cgi/shared/Posting/Cache.pm index b940f35..5e27d0b 100644 --- a/selfforum-cgi/shared/Posting/Cache.pm +++ b/selfforum-cgi/shared/Posting/Cache.pm @@ -25,7 +25,10 @@ use Lock; # sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'} -my $O_BINARY = eval "O_BINARY"; +my $O_BINARY = eval q{ + local $SIG{__DIE__}; + O_BINARY; +}; $O_BINARY = 0 if ($@); ### sub new ####################################################################