This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get perl to build under STRESS_REALLOC once more
authorFather Chrysostomos <sprout@cpan.org>
Thu, 21 Nov 2013 04:38:27 +0000 (20:38 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 23 Nov 2013 05:20:37 +0000 (21:20 -0800)
commit0ff725582ada84044c87936ed5498addbfbb2a5a
tree9ba96cde5d6fbe9ceee26dc0532ba2b1d3e30148
parent311e7a86faead444a320777010bb5b5464fe5f32
Get perl to build under STRESS_REALLOC once more

It had been broken since v5.17.6-144-ga3444cc.

That commit added, inter alia, this comment to scope.h:

+ * Of course, doing the size check *after* pushing means we must always
+ * ensure there are SS_MAXPUSH free slots on the savestack

But STRESS_REALLOC makes the initial savestack size just 1, and
SS_MAXPUSH is 4.  So ‘./miniperl -e0’ failed an assertion.
perl.c