X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/bca3eed65c50f585248ae3a1cc8bb6a74e4e8bb8..7cfc9e17caf89a9b009e8fa2c65351255687706e:/selfforum-cgi/shared/Posting/Cache.pm?ds=inline 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 ####################################################################