This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In bisect-runner.pl, "patch" ext/IPC/SysV/SysV.xs to the current SHMLBA code.
authorNicholas Clark <nick@ccl4.org>
Fri, 7 Oct 2011 13:33:31 +0000 (15:33 +0200)
committerNicholas Clark <nick@ccl4.org>
Fri, 7 Oct 2011 13:33:31 +0000 (15:33 +0200)
commitc59e8fd6cb9af2505341139f9db1a5cc579b9c0f
tree368789f83d08ecd434921d875f57cb19414afe9d
parent0b423688408806ae74227c11283a840c9569d94a
In bisect-runner.pl, "patch" ext/IPC/SysV/SysV.xs to the current SHMLBA code.

For some historical revisions, it's not good enough simply taking out the
first #include <asm/page.h>, because other code changes in that area can
break the build. Instead, replace any old version of that #ifdef forest with
the current code. Additionally, do this editing unconditionally, even if the
target is "miniperl". Skipping it on target "miniperl" causes surprises if
one is trying to debug the build by getting bisect-runner.pl to build to
miniperl (or skip), and then using make lib/auto/IPC/SysV/SysV.so
as the test case.

This adds an edit_file() function. Move apply_patch() next to it, to group
related functions together.
Porting/bisect-runner.pl