8 months agoVMS patch for duplicate env entries maint-5.20
Craig A. Berry [Sat, 13 Feb 2016 14:12:01 +0000]
VMS patch for duplicate env entries

8 months agoremove duplicate environment variables from environ
Tony Cook [Wed, 27 Jan 2016 00:52:15 +0000]
remove duplicate environment variables from environ

If we see duplicate environment variables while iterating over

a) make sure we use the same value in %ENV that getenv() returns.

Previously on a duplicate, %ENV would have the last entry for the name
from environ[], but a typical getenv() would return the first entry.

Rather than assuming all getenv() implementations return the first entry
explicitly call getenv() to ensure they agree.

b) remove duplicate entries from environ

Previously if there was a duplicate definition for a name in environ[]
setting that name in %ENV could result in an unsafe value being passed
to a child process, so ensure environ[] has no duplicates.

9 months agoperldelta: two CVE notices
Ricardo Signes [Mon, 11 Jan 2016 14:22:10 +0000]
perldelta: two CVE notices

9 months agoavoid invalid memory access in MapPath[AW]
Tony Cook [Wed, 23 Dec 2015 03:58:26 +0000]
avoid invalid memory access in MapPath[AW]

This issue was assigned CVE-2015-8608. [perl #126755]

9 months agobump PathTools versions for taint fix
Ricardo Signes [Mon, 28 Dec 2015 15:20:37 +0000]
bump PathTools versions for taint fix

9 months agoensure File::Spec::canonpath() preserves taint
Tony Cook [Mon, 14 Dec 2015 23:56:54 +0000]
ensure File::Spec::canonpath() preserves taint

Previously the unix specific XS implementation of canonpath() would
return an untainted path when supplied a tainted path.

For the empty string case, newSVpvs() already sets taint as needed on
its result.

This issue was assigned CVE-2015-8607.  [perl #126862]

13 months agoCreate new perldelta for 5.20.4
Steve Hay [Sat, 12 Sep 2015 19:34:51 +0000]
Create new perldelta for 5.20.4

13 months agoFinalize perldelta v5.20.3
Steve Hay [Sat, 12 Sep 2015 17:50:32 +0000]
Finalize perldelta

13 months ago5.20.3 today
Steve Hay [Sat, 12 Sep 2015 17:40:54 +0000]
5.20.3 today

(cherry picked from commit 6c1eaae88de7275e370af4f093763986e62b2852)

13 months agoModule::CoreList: Fill in date for 5.20.3 release
Steve Hay [Sat, 12 Sep 2015 17:47:38 +0000]
Module::CoreList: Fill in date for 5.20.3 release

(cherry picked from commit b55fc902c338825fa489f34f9fb89dfd8a0b98a0)

13 months agoRemove a perldelta entry that isn't relevant for 5.20
Steve Hay [Fri, 11 Sep 2015 07:14:25 +0000]
Remove a perldelta entry that isn't relevant for 5.20

The change in question (0b45ede/71622e4) is in 5.20.3, but its effect is
less significant here than in 5.21 and isn't worth mentioning.

Thanks to SHIRAKATA Kentaro for the spot.

13 months agoAdd epigraph for 5.20.3-RC2
Steve Hay [Sat, 29 Aug 2015 22:36:29 +0000]
Add epigraph for 5.20.3-RC2

(cherry picked from commit 9d05662d9cd5722c93b2da7de7a50cccf9a6b9f2)

13 months agoDisarm patchlevel.h
Steve Hay [Sat, 29 Aug 2015 22:13:08 +0000]
Disarm patchlevel.h

13 months agoBump version to RC2 v5.20.3-RC2
Steve Hay [Sat, 29 Aug 2015 21:09:02 +0000]
Bump version to RC2

13 months agoPerl 5.20.3-RC2 today
Steve Hay [Sat, 29 Aug 2015 21:05:44 +0000]
Perl 5.20.3-RC2 today

(cherry picked from commit 9a72b8586bb4d76b58fac6715258e2b0b19eb2b9)

13 months agoperldelta - Update Acknowledgements
Steve Hay [Sat, 29 Aug 2015 21:04:04 +0000]
perldelta - Update Acknowledgements

13 months agoperldelta - Add links and other minor edits
Steve Hay [Sat, 29 Aug 2015 20:42:02 +0000]
perldelta - Add links and other minor edits

13 months agoperldelta for e47d32dcd and d27f4b91 / #123712
Father Chrysostomos [Sat, 29 Aug 2015 20:35:18 +0000]
perldelta for e47d32dcd and d27f4b91 / #123712

(cherry picked from commit 041a5927b12568eeb11917de097ce01c15eeb9e0)

13 months ago[perl #123893] Fix hang with "@{"
Father Chrysostomos [Fri, 28 Aug 2015 19:53:11 +0000]
[perl #123893] Fix hang with "@{"

Commit v5.21.8-320-ge47d32d stopped code interpolated into quote-like
operators from reading more lines of input, by making lex_next_chunk
ignore the open filehandle and return false.  That causes this block
under case 0 in yylex to loop:

    if (!lex_next_chunk(fake_eof)) {
s = PL_bufptr;
TOKEN(';'); /* not infinite loop because rsfp is NULL now */

(rsfp is not null there.)  This commit makes it check for quote-like
operators above, in the same place where it checks whether the file is
open, to avoid falling through to this code that can loop.

This changes the syntax errors for a couple of cases recently added
to t/op/lex.t, though I think the error output is now more consis-
tent overall.

(cherry picked from commit 0f9d53bbcafba2b30e50a1ad22c7759be170e14a)

13 months ago[perl #123712] Don’t check sub_inwhat
Father Chrysostomos [Thu, 20 Aug 2015 08:03:17 +0000]
[perl #123712] Don’t check sub_inwhat

PL_sublex_info.sub_inwhat (in the parser struct) is a temporary spot
to store the value of PL_lex_inwhat (also in the parser struct)
when a sub-lexing scope (for a quote-like operator) is entered.
PL_lex_inwhat is localised, and the value is copied from its temporary
spot (sub_inwhat) into PL_lex_inwhat.

The PL_sublex_info.sub_inwhat was not localised, but instead the value
was set to 0 when a sub-lexing scope was exited.  This value was being
used, in a couple of places, to determine whether we were inside a
quote-like operator.  But because the value is not localised, it can
be wrong when it is set to 0, if we have nested lexing scopes.

So this ends up crashing for the same reason described in e47d32dcd5:

echo -n '/$a[m||/<<a' | ./miniperl

perl-5.005_02-1816-g09bef84 added the first use of
PL_sublex_info.sub_inwhat to determine whether we are in a quote-like
operator.  (Later it got shifted around.)  I copied that in e47d32dcd5
(earlier today), because I assumed the logic was correct.  Other parts
of the code use PL_lex_inwhat, which is already localised, as I said,
and does not suffer this problem.

If we do not check PL_sublex_info.sub_inwhat to see if we are in
a quote-like construct, then we don’t need to clear it on lexing
scope exit.

(cherry picked from commit d27f4b916ce5819f564bdd4a135137c457156333)

13 months ago[perl #123712] Fix /$a[/ parsing
Father Chrysostomos [Thu, 20 Aug 2015 07:44:58 +0000]
[perl #123712] Fix /$a[/ parsing

The parser used to read more lines of input when parsing code interpo-
lated into quote-like operators, under some circumstance.  This would
result in code like this working, even though it should be a syn-
tax error:

/s}Just another Perl hacker,

"${;s/.*/Just an";
other Perl hacker,
/s} die or return;

While this was harmless, other cases, like /$a[/<<a with no trailing
newline, would cause unexpected internal state that did not meet the
reasonable assumptions made by S_scan_heredoc, resulting in a crash.

The simplest fix is to modify the function that reads more input,
namely, lex_next_chunk, and prevent it from reading more lines of
input from inside a quote-like operator.  (The alternative would be to
modify all the calls to lex_next_chunk, and make them conditional.)
That breaks here-doc parsing for things like s//<<EOF/, but the
LEX_NO_TERM flag to lex_next_chunk is used only by the here-doc
parser, so lex_next_chunk can make an exception if it is set.

(cherry picked from commit e47d32dcd59a578274f445fac79e977d83055c8c)

13 months agoperldelta: Fix typo
Karl Williamson [Mon, 24 Aug 2015 20:07:32 +0000]
perldelta: Fix typo

Spotted by Lukas Mai

(cherry picked from commit 6a475a49baf3f05fd8608db42c00aabd13729c7b)

13 months agoPATCH: [perl 125825] {n}+ possessive quantifier broken
Karl Williamson [Thu, 27 Aug 2015 20:07:43 +0000]
PATCH: [perl 125825] {n}+ possessive quantifier broken

I was unaware of this construct when I wrote the commit that broke it,
and there were no tests for it.  Now there are.

(cherry picked from commit 9a7bb2f73a8a1b561890191974201d576371e7f9)

14 months agouse ~1 instead of ^ for parent commit
Ricardo Signes [Thu, 21 May 2015 14:00:38 +0000]
use ~1 instead of ^ for parent commit

^ caused problems under CMD.EXE; fix suggested by Nicholas Clark

(cherry picked from commit 17714d93ad51f622b105942fa06a7188a2126973)

14 months agoAdd missing URL for 5.23.2 release announcement
Steve Hay [Sat, 22 Aug 2015 22:38:32 +0000]
Add missing URL for 5.23.2 release announcement

(cherry picked from commit 4442630f9d575dd61a1ec4fc6b3dccd6756e9697)

14 months agoAdd epigraph for 5.20.3-RC1
Steve Hay [Sat, 22 Aug 2015 23:05:47 +0000]
Add epigraph for 5.20.3-RC1

(cherry picked from commit 1c94dd5345a075cb2cd6c423fa985d6dd98bf196)

14 months agoFix TBD so podcheck.t is happy
Matthew Horsfall [Thu, 20 Aug 2015 15:50:51 +0000]
Fix TBD so podcheck.t is happy

(cherry picked from commit 68ad2faabfe37b655b47957ef53acff6d8bde216)

14 months agoAdd epigraph for v5.23.2.
Matthew Horsfall [Thu, 20 Aug 2015 15:42:39 +0000]
Add epigraph for v5.23.2.

(cherry picked from commit 6687d2054de4c9c1fcef330f1c8ac1c9e6e9883b)

14 months agoUpdate epigraphs for 5.23.0/5.23.1
Matthew Horsfall [Mon, 20 Jul 2015 19:47:55 +0000]
Update epigraphs for 5.23.0/5.23.1

(cherry picked from commit 904c4cac2b93435ab1ae1b204e376b99fc770895)

14 months agoepigraphs: the v5.22.0 epigraph
Ricardo Signes [Mon, 1 Jun 2015 19:25:09 +0000]
epigraphs: the v5.22.0 epigraph

(cherry picked from commit 4e3e12f89258dc3beac58ac290b46017f159cc68)

14 months agoupdate epigraphs for v5.22.0 RCs
Ricardo Signes [Fri, 29 May 2015 14:13:08 +0000]
update epigraphs for v5.22.0 RCs

(cherry picked from commit 82b39489084a56af421660103282eb797f22bb00)

14 months agoAdd 5.21.11 epigraph
Steve Hay [Mon, 20 Apr 2015 22:37:09 +0000]
Add 5.21.11 epigraph

(cherry picked from commit 9ba8eca3c1f08bcb6ca61da981378cd9e07a2d16)

14 months agoAdd 5.21.10 epigraph
Steve Hay [Fri, 20 Mar 2015 19:14:11 +0000]
Add 5.21.10 epigraph

(cherry picked from commit c8d2be4def20798522e639f59f5c9ffb5b10a07e)

14 months agoadded link to announcement
Sawyer X [Sat, 22 Aug 2015 22:56:19 +0000]
added link to announcement

(manually cherry picked from commit 0516fbdf70f66445a01d3f2b81ab6a88986b084d)

14 months agoadd my epigraph
Sawyer X [Sat, 22 Aug 2015 22:51:56 +0000]
add my epigraph

(manually cherry picked from commit 94fa4f561e7b29a261e04e9a7bd57728ce8c37d2)

14 months agoUpdate Porting/epigraphs.pod for Perl 5.20.2
Steve Hay [Sat, 22 Aug 2015 22:50:14 +0000]
Update Porting/epigraphs.pod for Perl 5.20.2

(cherry picked from commit 61c850155faec0ea90996b28b895db054500d92d)

14 months agoDisarm patchlevel.h
Steve Hay [Sat, 22 Aug 2015 22:27:39 +0000]
Disarm patchlevel.h

14 months agoBump version to RC1 v5.20.3-RC1
Steve Hay [Sat, 22 Aug 2015 20:34:18 +0000]
Bump version to RC1

14 months agoPerl 5.20.3-RC1 today
Steve Hay [Sat, 22 Aug 2015 20:27:24 +0000]
Perl 5.20.3-RC1 today

(cherry picked from commit 5b5ceca34e06fac72032a14aa226ccb3f811d615)

14 months agoFinalize perldelta
Steve Hay [Sat, 22 Aug 2015 20:24:55 +0000]
Finalize perldelta

14 months agoModule::CoreList - Remove 5.23.3 stubs
Steve Hay [Sat, 22 Aug 2015 20:20:29 +0000]
Module::CoreList - Remove 5.23.3 stubs

As promised in 2b70db9cb1, this removes the stubs for the as-yet unreleased

14 months agoUpdate Module-CoreList for 5.20.3-RC1
Steve Hay [Sat, 22 Aug 2015 20:16:59 +0000]
Update Module-CoreList for 5.20.3-RC1

(I missed this in 2b70db9cb1.)

14 months agoadd new release to perlhist
Matthew Horsfall [Thu, 20 Aug 2015 14:25:06 +0000]
add new release to perlhist

(cherry picked from commit c63cfb18199c0f9d7a87bd77521ab087a116d4fe)

14 months agoAdd new release to perlhist
Matthew Horsfall [Mon, 20 Jul 2015 18:56:52 +0000]
Add new release to perlhist

(cherry picked from commit c1883b8b014bf0c1dad3d50b6052ef68120c7247)

14 months agoperlhist: v5.23.0 will be today
Ricardo Signes [Sat, 20 Jun 2015 18:51:41 +0000]
perlhist: v5.23.0 will be today

(cherry picked from commit 69427f15ab5ac28f844341978315de0da82dc75a)

14 months agoupdate perlhist for RC2
Ricardo Signes [Fri, 21 Aug 2015 22:56:46 +0000]
update perlhist for RC2

(manually cherry picked from commit 612a06fa463fb0eb4533e07c8f5179ca7d1d26f3)

14 months agoperlhist: expected perl v5.22.0 release dates
Ricardo Signes [Tue, 19 May 2015 00:38:48 +0000]
perlhist: expected perl v5.22.0 release dates

(cherry picked from commit 8307b1f66420a49e1f6fb4b744626f4a4d87decf)

14 months agoperlhist: add the release data for 5.22
Ricardo Signes [Tue, 12 May 2015 01:44:42 +0000]
perlhist: add the release data for 5.22

Some of this may change, but nothing significantly.

(cherry picked from commit a35a81f56020e8370e9f720efc4b3168b45ea7f5)

14 months ago5.21.11 today
Steve Hay [Mon, 20 Apr 2015 19:40:07 +0000]
5.21.11 today

(cherry picked from commit 79ce1a76a68648f6b503f9be5f59f10e15c2996d)

14 months agoAdd 5.21.10 to perlhist
Steve Hay [Fri, 20 Mar 2015 16:16:07 +0000]
Add 5.21.10 to perlhist

(cherry picked from commit 3f093f9714c81e9442d5e04e641cfc9ade1c7a5c)

14 months agoadd new release to perlhist
Sawyer X [Sat, 21 Feb 2015 04:03:37 +0000]
add new release to perlhist

(cherry picked from commit 9200eb3463082f416cc7f441ae6ec39829d1e46a)

14 months agoperldelta - Add note about new test script
Steve Hay [Fri, 21 Aug 2015 21:54:18 +0000]
perldelta - Add note about new test script

14 months agoperldelta - Correct Module::CoreList version change
Steve Hay [Fri, 21 Aug 2015 21:50:45 +0000]
perldelta - Correct Module::CoreList version change

14 months agoperldelta - Restore Incompatible Changes section
Steve Hay [Fri, 21 Aug 2015 21:46:11 +0000]
perldelta - Restore Incompatible Changes section

14 months agoperldelta for d2fcb1d677
Matthew Horsfall [Fri, 21 Aug 2015 16:21:10 +0000]
perldelta for d2fcb1d677

(manually cherry picked from commit 80e86009a1ba918b82ab94a400855d0168801db3)

14 months ago[perl #125541] Fix crash with %::=(); J->${\"::"}
Father Chrysostomos [Mon, 20 Jul 2015 18:23:49 +0000]
[perl #125541] Fix crash with %::=(); J->${\"::"}

gv_stashpvn does not expect gv_fetchpv to return something that is
not a GV.  If someone has blown away the stash with %::=(), then the
$::{"main::"} entry no longer exists, but gv_fetchpv expects it to be
there.  This patch just makes this case fail somewhat gracefully
instead of crashing:

$  ./miniperl -e '%::=(); J->${\"::"}'
Can't locate object method "" via package "" (perhaps you forgot to load ""?) at -e line 1.

If someone does %::=(), nothing more reasonable should be expected.
At least it does not crash now.

(cherry picked from commit d2fcb1d6773910aef058d59681ff6ae649f68352)

14 months agoRequire civility; aspire to kindness.
Craig A. Berry [Thu, 6 Aug 2015 11:32:44 +0000]
Require civility; aspire to kindness.

Suggestion that we "aspire to kindness" from the ever-kind Tim Bunce.

Signed-off-by: Ricardo Signes <rjbs@cpan.org>
(cherry picked from commit 8764ee632ebcddc73e4e8d0f1cf1a48ac82ec87c)

14 months agoUpdate supported versions in perlpolicy.pod
Matthew Horsfall (alh) [Thu, 26 Mar 2015 20:55:11 +0000]
Update supported versions in perlpolicy.pod

(cherry picked from commit 965d3000a316a5ed367c2ce65d040e1125d5e31d)

14 months agoperldelta - Copy-editing
Steve Hay [Fri, 21 Aug 2015 08:00:29 +0000]
perldelta - Copy-editing

14 months agoperldelta - Remove boilerplate sections except for Acknowledgements
Steve Hay [Fri, 21 Aug 2015 07:22:39 +0000]
perldelta - Remove boilerplate sections except for Acknowledgements

14 months agoUpdate Module-CoreList for 5.20.3 to keep t/porting/corelist.t happy
Steve Hay [Thu, 20 Aug 2015 21:00:40 +0000]
Update Module-CoreList for 5.20.3 to keep t/porting/corelist.t happy

$VERSIONs are tentatively set for release of RC1 on Saturday 22 August.

(Module::CoreList currently also contains stubs for 5.23.3 for easier
syncing with blead. These will be removed before the release of 5.20.3.)

14 months agoBump version to 5.20.3, just ahead of its impending release
Steve Hay [Thu, 20 Aug 2015 20:57:26 +0000]
Bump version to 5.20.3, just ahead of its impending release

14 months agoBump the perl version in Module-CoreList for 5.23.3.
Matthew Horsfall [Thu, 20 Aug 2015 20:54:58 +0000]
Bump the perl version in Module-CoreList for 5.23.3.

(manually cherry picked from commit c0bc77316022ed60ccaa366ddcbc91002acbf40e)

14 months agoUpdate Module::CoreList for 5.23.2
Matthew Horsfall [Thu, 20 Aug 2015 14:06:04 +0000]
Update Module::CoreList for 5.23.2

(cherry picked from commit 7d12bc6afe4ef9745e8a30809af693cf6aaafe94)

14 months agoRevert accidental mode change caused by conflict resolution of previous cherry pick
Steve Hay [Wed, 19 Aug 2015 13:20:06 +0000]
Revert accidental mode change caused by conflict resolution of previous cherry pick

14 months agoUpdates to Module::CoreList per RMG.
Matthew Horsfall [Wed, 19 Aug 2015 13:17:49 +0000]
Updates to Module::CoreList per RMG.

(cherry picked from commit 003900e275f0c45375d4d02ffb0ac0fcd2eacfa2)

14 months agoAdd Module::CoreList stubs for v5.23.2
Matthew Horsfall [Mon, 20 Jul 2015 20:18:32 +0000]
Add Module::CoreList stubs for v5.23.2

(cherry picked from commit 923c264ef19ba3c5a3351e7ae6c73b8bde122801)

14 months agoUpdate Module::CoreList for 5.23.1
Matthew Horsfall [Mon, 20 Jul 2015 18:21:09 +0000]
Update Module::CoreList for 5.23.1

(cherry picked from commit 8656412da8e4f5fd0e75563115e66dc105a29bb3)

14 months agoModule::CoreList->find_version(): refactor for testability.
James E Keenan [Wed, 8 Jul 2015 00:14:58 +0000]
Module::CoreList->find_version(): refactor for testability.

In order to address weaknesses in the documentation of find_version() in
CoreList.pod, we first had to address its lack of unit tests.  It was
previously only exercised inside the 'corelist' utility.  Refactored
function a bit to expose all its branches for testing.  Then added tests
for the function with and without arguments.  Corrected documentation
for find_version() in CoreList.pod.

Documentation subsequently clarified per feedback from Steve Parker.

For: RT # 125563 (1st of 2 problems cited in that ticket).
(cherry picked from commit ba4fc2b447d5c04e1ada54027c446d03452dcb25)

14 months agoClarify that deprecated_in() returns a perl version.
James E Keenan [Tue, 7 Jul 2015 22:59:40 +0000]
Clarify that deprecated_in() returns a perl version.

I.e., a string like 5.010001.  This makes documentation of deprecated_in()
consistent with that of other Module::CoreList functions.

For: RT # 125563 (2nd of two problems raised)
(cherry picked from commit 7f279091ed7e7241570d4e4abce94248caeb8869)

14 months agocorelist: update for v5.23.1
Ricardo Signes [Sat, 20 Jun 2015 20:34:32 +0000]
corelist: update for v5.23.1

(cherry picked from commit b9e156a2f67931c57816e6104aa7bbd916df4ac9)

14 months agoCoreList: update corelist for release of v5.23.0
Ricardo Signes [Wed, 19 Aug 2015 13:15:08 +0000]
CoreList: update corelist for release of v5.23.0

(cherry picked from commit bffade09c83382056b92325e7d71c4926761d613)

14 months agoUpdate M-CL Changes to reflect v5.22.0 release
Chris 'BinGOs' Williams [Mon, 1 Jun 2015 18:33:29 +0000]
Update M-CL Changes to reflect v5.22.0 release

(cherry picked from commit 1ca987e43d1a647d21dcc85688ff1dd9e478d5ee)

14 months ago[PATCH] add changelog entries that were in perl52111delta for this release
Karen Etheridge [Mon, 1 Jun 2015 18:32:32 +0000]
[PATCH] add changelog entries that were in perl52111delta for this release

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
(cherry picked from commit acf7ab33363c847327ff3d389716c4e4c6234da1)

14 months agocorelist: add stubs for v5.23.0
Ricardo Signes [Mon, 1 Jun 2015 18:28:47 +0000]
corelist: add stubs for v5.23.0

(cherry picked from commit 19aba07308a6d7f9feb9fd2f9ea4cb504e2bbd7c)

14 months agofill in tentative release date for v5.22.0
Ricardo Signes [Tue, 19 May 2015 12:09:49 +0000]
fill in tentative release date for v5.22.0

(cherry picked from commit 5b0ac1aab5af3d6c45330ecef0f6c63bd0f43c44)

14 months agocorelist: regenerate the v5.22.0 corelist delta
Ricardo Signes [Tue, 19 May 2015 00:41:35 +0000]
corelist: regenerate the v5.22.0 corelist delta

(cherry picked from commit 38da2237eba18b80fb53f656ed0741131eae32a3)

14 months agobump version of overload in corelist
Ricardo Signes [Fri, 8 May 2015 23:11:49 +0000]
bump version of overload in corelist

(cherry picked from commit 04dc37df4ea598d19f4bab78ca2e09e10c3913b7)

14 months agocorelist for v5.22.0
Ricardo Signes [Wed, 6 May 2015 02:55:42 +0000]
corelist for v5.22.0

(cherry picked from commit bff00388f2dd2eb97cc67045e63380a6c56e22d1)

14 months agocorrect the deprecation data in Module::CoreList
Aristotle Pagaltzis [Fri, 24 Apr 2015 03:04:56 +0000]
correct the deprecation data in Module::CoreList

(cherry picked from commit be59b6aaf8e201fef17a0706e99f6a47556ed1ac)

14 months agoCoreList: eliminate trailing spaces from some versions
Ricardo Signes [Thu, 23 Apr 2015 11:50:53 +0000]
CoreList: eliminate trailing spaces from some versions

reported by perlancar, [perl #124364]

(cherry picked from commit b7c1f088bbb124804cdec44fb11a94109473efed)

14 months agoPrepare Module::CoreList for 5.21.12 (although it's unlikely to happen)
Steve Hay [Wed, 19 Aug 2015 13:11:32 +0000]
Prepare Module::CoreList for 5.21.12 (although it's unlikely to happen)

(cherry picked from commit 6bb5549bc58a4c62b1ee57c2c8a2fa06f7367965)

14 months agoUpdate Module::CoreList for 5.21.11
Steve Hay [Mon, 20 Apr 2015 19:31:25 +0000]
Update Module::CoreList for 5.21.11

(cherry picked from commit 6432c40a7dadf4b8482241ba4160a9fb3a352d2e)

14 months agocorelist: use || not // to run on older perls
Ricardo Signes [Thu, 16 Apr 2015 20:38:01 +0000]
corelist: use || not // to run on older perls

(cherry picked from commit 1e2bda49b56584d987d09abed7850a558584efa4)

14 months agocorelist: bump test count
Ricardo Signes [Wed, 15 Apr 2015 16:41:10 +0000]
corelist: bump test count

(cherry picked from commit 792e46564870a460524a90be0cffedd5dcc9e032)

14 months agocope with versions that do not match x.yyyzzz in corelist
Ricardo Signes [Wed, 15 Apr 2015 16:40:36 +0000]
cope with versions that do not match x.yyyzzz in corelist

Without this, we might be asked about 5.020 but be unable to climb
the delta tree because there is no delta entry for 5.020, only for

This is a poor solution for now, because (for example) some versions
are not stored in x.yyyzzz format.  One is eveni n x.yyyzz!  We
should store things in a normalized format, and normalize arguments
on input.

For now, this will do.

(cherry picked from commit 4e70aa16a2f45d85bf4bef335d98c6a13e544bcb)

14 months agofix fencepost error in Module::CoreList is_core
Ricardo Signes [Wed, 15 Apr 2015 16:24:10 +0000]
fix fencepost error in Module::CoreList is_core

(cherry picked from commit cf549c1a873e982a94bf0869209b000ad6a1bd7a)

14 months agoPrepare Module::CoreList for 5.21.11 (if that happens)
Steve Hay [Wed, 19 Aug 2015 13:08:53 +0000]
Prepare Module::CoreList for 5.21.11 (if that happens)

(cherry picked from commit 539023973b95d208601bd10848496eae785dcacc)

14 months agoUpdate Module-CoreList for 5.21.10
Steve Hay [Wed, 19 Aug 2015 13:03:53 +0000]
Update Module-CoreList for 5.21.10

(cherry picked from commit 77dc754dfe5442ecd8d2a898da7a2934f1586698)

14 months agoModule::CoreList: Fix to work on EBCDIC platforms
Karl Williamson [Mon, 1 Dec 2014 06:17:07 +0000]
Module::CoreList: Fix to work on EBCDIC platforms

This creates a sort help that make a '?' always sort after the digits,
which it naturally does on ASCII platforms, but not EBCDIC

(cherry picked from commit 02b4438c0b5715a80520b510dc85b983b605ee2a)

14 months agoOne $VERSION bump missed by 2f553ae1e1
Steve Hay [Wed, 19 Aug 2015 13:01:01 +0000]
One $VERSION bump missed by 2f553ae1e1

(cherry picked from commit 731623ab9836b248099b9e1d42872547270dd8ea)

14 months agotweak version number of Module::CoreList
Sawyer X [Wed, 19 Aug 2015 13:00:02 +0000]
tweak version number of Module::CoreList

(cherry picked from commit 2f553ae1e126e9a08281bcc6d4e6b8ea2afe83a3)

14 months agoadd some dummy entries to Module::CoreList for 5.21.10
Sawyer X [Sat, 21 Feb 2015 06:54:55 +0000]
add some dummy entries to Module::CoreList for 5.21.10

(cherry picked from commit ff4e8df287d7dce3d0a1d4e7156f0abf63c70972)

14 months agoModule::CoreList updates
Sawyer X [Wed, 19 Aug 2015 12:56:50 +0000]
Module::CoreList updates

(manually cherry picked from commit 0939a951332cf6bf55e46953e8d4d5d3313f6a20)

14 months agoUpdate Module::CoreList for 5.21.9
Sawyer X [Sat, 21 Feb 2015 02:03:13 +0000]
Update Module::CoreList for 5.21.9

(cherry picked from commit c02a372258fd426a1e7d69c32b49b27404831120)

14 months agoRevert "Module::CoreList - Remove 5.21.9 stubs"
Steve Hay [Wed, 19 Aug 2015 12:54:25 +0000]
Revert "Module::CoreList - Remove 5.21.9 stubs"

This reverts commit 5767d82a7d7c1c398c653b0d996f58e7d2e49c8a.

14 months agoAdd Lajos Veres to Perl AUTHORS.
Lajos Veres [Wed, 19 Aug 2015 12:51:06 +0000]
Add Lajos Veres to Perl AUTHORS.

(manually cherry picked from commit df99f62f8260e7dbf4d2b00921876ae4cd282136)

14 months agoCorrections to spelling and grammatical errors.
Lajos Veres [Wed, 19 Aug 2015 12:46:50 +0000]
Corrections to spelling and grammatical errors.

(manually cherry picked from commit a9ccbcd7e3e4416b46c5c8cd5e61e7930776a83e)

14 months agoRT #124156: death during unwinding causes crash
David Mitchell [Wed, 19 Aug 2015 07:24:11 +0000]
RT #124156: death during unwinding causes crash

v5.19.3-139-g2537512 changed POPSUB and POPFORMAT so that they also
unwind the relevant portion of the scope stack. This (sensible) change
means that during exception handling, contexts and savestack frames are
popped in lock-step, rather than all the contexts being popped followed by
all the savestack contents.

However, LEAVE_SCOPE() is now called by POPSUB/FORMAT, which can trigger
destructors, tied method calls etc, which themselves may croak. The new
unwinding will see the old sub context still on the context stack and call
POPSUB on it again, leading to double frees etc.

At this late stage in code freeze, the least invasive change is to
use an unused bit in cx->blk_u16 to indicate that POPSUB has already
been called on this context frame.

Sometime later, this whole area of code really needs a thorough overhaul.
The main issue is that if cxstack_ix-- is done too early, then calling
destructors etc can overwrite the current context frame while we're still
using using it; if cxstack_ix-- is done too late, then that stack frame
can end up getting unwound twice.

(cherry picked from commit 1956db7ee60460e5b4a25c19fda4999666c8cbd1)

14 months agoperldelta for bae8cfc69
Father Chrysostomos [Sun, 16 Nov 2014 22:43:01 +0000]
perldelta for bae8cfc69

(cherry picked from commit e5fbfbc138e9c40911618be99d66f85eb2a366a3)