Skip to content

Commit

Permalink
Storable: Analyze #304
Browse files Browse the repository at this point in the history
Add a better error message on one of the possible failure causes
when the system cannot catch the stackoverflow.
  • Loading branch information
rurban committed Jul 14, 2017
1 parent 37471f8 commit 3f655dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/Storable/stacksize
Expand Up @@ -173,7 +173,7 @@ if ($max_depth == $bad1-1
print "MAX_DEPTH_HASH = $n\n" unless QUIET;
my $max_depth_hash = $n;

open $f, ">", $fn or exit(1);
open $f, ">", $fn or die "$fn $!";
print $f "/* bisected with stacksize.pl */\n";
print $f "#define PST_STACK_MAX_DEPTH $max_depth\n";
print $f "#define PST_STACK_MAX_DEPTH_HASH $max_depth_hash\n";
Expand Down

0 comments on commit 3f655dc

Please sign in to comment.