2020-10-27 12:07:45 +01:00
|
|
|
--- ./dist/Storable/stacksize.orig 2020-06-14 23:01:25.000000000 +0000
|
|
|
|
+++ ./dist/Storable/stacksize 2020-10-27 10:57:33.147900085 +0000
|
2019-11-19 15:17:02 +01:00
|
|
|
@@ -164,8 +164,8 @@ my $max_depth_hash = $n;
|
2020-10-27 12:07:45 +01:00
|
|
|
# be fairly aggressive in trimming this, smoke testing showed
|
2019-02-01 13:33:06 +01:00
|
|
|
# several apparently random failures here, eg. working in one
|
|
|
|
# configuration, but not in a very similar configuration.
|
|
|
|
-$max_depth = int(0.6 * $max_depth);
|
2019-11-19 15:17:02 +01:00
|
|
|
-$max_depth_hash = int(0.6 * $max_depth_hash);
|
2019-02-01 13:33:06 +01:00
|
|
|
+$max_depth = int(0.6 * $max_depth) & ~31;
|
2019-11-19 15:17:02 +01:00
|
|
|
+$max_depth_hash = int(0.6 * $max_depth_hash) & ~31;
|
2019-02-01 13:33:06 +01:00
|
|
|
|
|
|
|
my $stack_reserve = $^O eq "MSWin32" ? 32 : 16;
|
|
|
|
if ($] ge "5.016" && !($^O eq "cygwin" && $ptrsize == 8)) {
|