]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Posting/Cache.pm
now, if main file is master locked, fo_view.pl won't show any single message
[selfforum.git] / selfforum-cgi / shared / Posting / Cache.pm
index b940f35cb4a33de54bc23851f83aaac9d053ac8f..5e27d0b0e472e3039382294081a4b164bafbc39e 100644 (file)
@@ -25,7 +25,10 @@ use Lock;
 #
 sub VERSION {(q$Revision$ =~ /([\d.]+)\s*$/)[0] or '0.0'}
 
 #
 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 ####################################################################
 $O_BINARY = 0 if ($@);
 
 ### sub new ####################################################################

patrick-canterino.de