From: Nicholas Clark Date: Wed, 7 Dec 2011 17:42:00 +0000 (+0100) Subject: bisect-runner.pl now builds 42 more 5.005_5x releases. X-Git-Tag: accepted/trunk/20130322.191538~1832 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb35dd48acdf927bd054fc5a239f7e4f8bfdb7fd;p=platform%2Fupstream%2Fperl.git bisect-runner.pl now builds 42 more 5.005_5x releases. Commit 455ece5e082708b1, which added the SSNEW() macro, was buggy and needs a fix from commit 3c8a44569607336e in order to avoid strange seemingly unrelated SEGVs. --- diff --git a/Porting/bisect-runner.pl b/Porting/bisect-runner.pl index af37f77..7b2bc34 100755 --- a/Porting/bisect-runner.pl +++ b/Porting/bisect-runner.pl @@ -2559,6 +2559,16 @@ index d60c8dc..867dee4 100644 EOPATCH } + if ($major == 5 + && extract_from_file('mg.c', qr/If we're still on top of the stack, pop us off/) + && extract_from_file('mg.c', qr/PL_savestack_ix -= 2/)) { + # Fix up commit 455ece5e082708b1: + # SSNEW() API for allocating memory on the savestack + # Message-Id: + # Subject: [PATCH 5.005_51] (was: why SAVEDESTRUCTOR()...) + apply_commit('3c8a44569607336e', 'mg.c'); + } + if ($major < 6 && $^O eq 'netbsd' && !extract_from_file('unixish.h', qr/defined\(NSIG\).*defined\(__NetBSD__\)/)) {