In perl.git, the branch tonyc/openbsd-dump has been created
<http://perl5.git.perl.org/perl.git/commitdiff/e9c7535ad0fcaf974df036b720de4ba061847838?hp=0000000000000000000000000000000000000000>
at e9c7535ad0fcaf974df036b720de4ba061847838 (commit)
- Log -----------------------------------------------------------------
commit e9c7535ad0fcaf974df036b720de4ba061847838
Author: Tony Cook <[email protected]>
Date: Tue Apr 21 13:50:58 2015 +1000
[perl #124357] make sure which_perl() can find ./perl on in op/dump.t
OpenBSD doesn't set $^X to an absolute path. and since op/dump.t
chdir()s to a temp directory, which_perl() produced "./perl" which
is useless in the new directory.
Instead manually set $^X to an absolute path so which_perl() can find
it after the chdir. This should be safe on the platforms we allow
op/dump.t to run on.
-----------------------------------------------------------------------
--
Perl5 Master Repository