ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Main.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Main.pm (file contents):
Revision 1.19 by root, Thu Jan 26 20:11:14 2012 UTC vs.
Revision 1.20 by root, Thu Apr 5 04:38:43 2012 UTC

45 45
46BEGIN { 46BEGIN {
47 $SIG{__DIE__} = sub { 47 $SIG{__DIE__} = sub {
48 return if $^S; # quick reject 48 return if $^S; # quick reject
49 49
50 # return if there are any eval contexts in the csall stack 50 # return if there are any eval contexts in the call stack
51 for my $i (0..999) { 51 for my $i (0..999) {
52 my ($sub, $is_require) = (caller $i)[3, 7] 52 my ($sub, $is_require) = (caller $i)[3, 7]
53 or last; 53 or last;
54 return if $sub eq "(eval)" && !$is_require; 54 return if $sub eq "(eval)" && !$is_require;
55 } 55 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines