| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(cherry picked from commit fd33b5d6d4aa2db94b2ae3f5276ba28f77400937)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(This was missed when cherry-picking base.pm changes from blead since it's
currently not listed in blead's customized.dat!)
|
|
|
|
| |
(cherry picked from commit 5e196316f76f6f3ce68647b65f6a2609b286674b)
|
|
|
|
|
|
|
| |
The new version is based on one written by Chris Travers, polished
up a bit by yours truly.
(cherry picked from commit 458470f62360040dcd4b5a55c8ba07503e1af5fc)
|
|
|
|
|
|
|
|
|
| |
As Zefram pointed out in
<https://rt.perl.org/Ticket/Display.html?id=128769#txn-1414015>,
having inconsistent behaviour is going to cause more problems
than solves.
(cherry picked from commit 362f3f748cb84934a072fadbfb8b51090e2f9afe)
|
|
|
|
|
|
| |
Sorry for the smoke.
(cherry picked from commit ec7784b4e79ac75599f2c7705b9389e05d47d1d1)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Localise @INC only if necessary.
- Don't mention '.' in the @INC list in the error message, since it
was not in the @INC that was searched (this is accomplished by local-
ising @INC in the same scope as the error).
- If a file exists that would have been loaded had '.' not been
ignored, mention it and suggest 'use lib'.
- Use the same number of closing as opening parentheses in the
error message.
(cherry picked from commit bca552795994a553e07b38a6f82a233533919926)
|
|
|
|
| |
PERL_CORE=1
|
|
|
|
| |
(cherry picked from commit 2c25177bbcb0217f887201e4237280b5033145b6)
|
|
|
|
| |
(cherry picked from commit 9648eab63b366c001d38f6de565f005cf6cea10a)
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 00804485030b1ffb4625e716a31c73532f41f32e)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
I didn't update base.pm since that seems more likely to be loading
modules *expected* to be in the current directory. Opinions
welcome.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
I tried to follow the numbering convention of the module,
bumping every module if the versions are synchronized, bumping
just the primary module if not.
This change is specific to maint-5.24 and shouldn't be applied
to maint-5.22.
|
|
|
|
|
|
|
| |
While currently Encode and Storable are know to attempt to load modules
not included in the core, updates to other modules may lead to those
also attempting to load new modules, so be safe and remove . for those
as well.
|
|
|
|
| |
(manually cherry picked from commit 42a3cde12f0f45ddd039878a6424efba18e480c8)
|
|
|
|
| |
(manually cherry picked from commit c338e234d57f13141c5e04b6361ed8cc9e14b42a)
|
|
|
|
| |
(cherry picked from commit 4d3fd69973bfa6d2632d40f12b52aaeb6c3f4d03)
|
|
|
|
| |
(cherry picked from commit c137098022dcef5e7ea32608e5299276efea6457)
|
| |
|
|
|
|
| |
(manually cherry picked from commit 8da8adf3c3d9a4b3a0b4fde347690723a404a523)
|
|
|
|
| |
(manually cherry picked from commit ae635bbffa4769051671b9832a7472b9d977c198)
|
|
|
|
| |
(cherry picked from commit 5993d6620f29d22b0a72701f4f0fdacff3d25460)
|
|
|
|
|
|
|
|
|
|
| |
Commit 08e3451d made XSLoader confirm that the file path it got
from (caller)[2] was in @INC if it looked like a relative path.
Not taking drive letters into account, it made that @INC search
mandatory on Windows and some other systems. It still worked, but
was slightly slower.
(cherry picked from commit a651dcdf6a9151150dcf0fb6b18849d3e39b0811)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[rt.cpan.org #115808]
The logic in XSLoader for determining the library goes like this:
my $c = () = split(/::/,$caller,-1);
$modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename
my $file = "$modlibname/auto/$modpname/$modfname.bundle";
(That last line varies by platform.)
$caller is the calling package. $modlibname is the calling file. It
removes as many path segments from $modlibname as there are segments
in $caller. So if you have Foo/Bar/XS.pm calling XSLoader from the
Foo::Bar package, the $modlibname will end up containing the path in
@INC where XS.pm was found, followed by "/Foo". Usually the fallback
to Dynaloader::bootstrap_inherit, which does an @INC search, makes
things Just Work.
But if our hypothetical Foo/Bar/XS.pm actually calls
XSLoader::load from inside a string eval, then path ends up being
"(eval 1)/auto/Foo/Bar/Bar.bundle".
So if someone creates a directory named ‘(eval 1)’ with a naughty
binary file in it, it will be loaded if a script using Foo::Bar is run
in the parent directory.
This commit makes XSLoader fall back to Dynaloader’s @INC search if
the calling file has a relative path that is not found in @INC.
(cherry picked from commit 08e3451d7b3b714ad63a27f1b9c2a23ee75d15ee)
|
|
|
|
|
| |
The previous stable version was 5.22.0, not 5.23.0. Thanks to ether for
the spot.
|
|
|
|
| |
(cherry picked from commit 3a6ace9d060d0113acf0d931ae5d1f0fe0b46260)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit d9fc04eebe29b8cf5f6f6bf31373b202eafa44d6.
As discussed in
http://www.nntp.perl.org/group/perl.perl5.porters/2016/05/msg236423.html,
the current perl6-shebang code has rather sharp edge-cases. Hence a revert
until we come up with a better solution seems wise.
(cherry picked from commit f691e4455dd520eff11e7f070a9b034b0fa5ca1c)
|
|
|
|
| |
(cherry picked from commit d5ea055af7777dae01aafd5eab0b2d9233acdb9c)
|
| |
|