6 weeks agoperldelta for ab4e48c10a / #123135 maint-5.20
Father Chrysostomos [Fri, 7 Nov 2014 04:12:33 +0000]
perldelta for ab4e48c10a / #123135
(cherry picked from commit 53795ef8027c9585205bd1d0a78eca362ec8a453)

6 weeks ago[perl #123135] Tests for utf8 $^N within match
Father Chrysostomos [Thu, 6 Nov 2014 04:29:46 +0000]
[perl #123135] Tests for utf8 $^N within match

(cherry-picked from 9c6c921b)

6 weeks agoManually revert "Rationalise RX_MATCH_UTF8_set()"
Father Chrysostomos [Thu, 6 Nov 2014 04:28:28 +0000]
Manually revert "Rationalise RX_MATCH_UTF8_set()"

Commit 0254aed965 says in its message, among other things:

    Now that the RXf_MATCH_UTF8 flag on a regex is just used to indicate
    whether the captures on a successful match are utf8, only set
    this flag at the end of a successful match, rather than at the start of
    the match.

But if we only set the utf8 flag at the end of the match, then $^N
accessed within the match will have the flag wrongly set.
(cherry picked from commit ab4e48c10a3551d7cfb88a2e29d82e0b499712e1)

8 weeks agoperldelta for the prev. commit
Father Chrysostomos [Thu, 23 Oct 2014 23:30:32 +0000]
perldelta for the prev. commit

based on the entry in bb8c7e2708.

8 weeks agoAIX doesn't set the length in getsockopt.
Jarkko Hietaniemi [Tue, 23 Sep 2014 12:17:47 +0000]
AIX doesn't set the length in getsockopt.

[perl #120835] and [rt #91183] and [rt #85570]

Seen errors in blead smoke in AIX 6.1:

cpan/IO-Socket-IP/t/18fdopen .................................. Argument
"\0\0\0^A\0\0\0r\0\0\0\0\0\0\0\0?M-^U\0\0M-^E^[^???\0^N\0..." isn't
numeric in numeric eq (==) at ../../lib/IO/Socket/IP.pm line 748.

cpan/IO-Socket-IP/t/31nonblocking-connect-internet ............ Argument
"\0\0\0\0\0\0\0\0?\0\n^B1?\0\0\0^B\0^BM-\rf?^H?\0^N\0^B?|..." isn't
numeric in scalar assignment at ../../lib/IO/Socket/IP.pm line 707.
(cherry picked from commit ee2276e59a3c027cb89c721d866c9db4ba683a7b)

3 months agoDoug Bell is now a Perl 5 author.
James E Keenan [Fri, 19 Sep 2014 03:08:55 +0000]
Doug Bell is now a Perl 5 author.

(cherry picked from commit 77d4f3e3169844a5ec8eca10503e66edae15d74e)

3 months agosig() should be kill()
Doug Bell [Sun, 31 Aug 2014 08:02:56 +0000]
sig() should be kill()

There is no sig() function, and the block of text has similar language
to a previous block which uses kill().

For: RT #122662
(cherry picked from commit 9589aa831c3533d85bf7042e049cbe02095df9d3)

3 months agoCreate new perldelta for 5.20.2
Steve Hay [Sun, 14 Sep 2014 13:49:52 +0000]
Create new perldelta for 5.20.2

3 months agoperldelta - Finalize acknowledgements v5.20.1
Steve Hay [Sun, 14 Sep 2014 11:44:09 +0000]
perldelta - Finalize acknowledgements

3 months agoPerl 5.20.1 today
Steve Hay [Sun, 14 Sep 2014 11:30:17 +0000]
Perl 5.20.1 today

(cherry picked from commit b751404f15c4361b6daf9c62a4a821f642bb6869)

3 months agoPerl 5.20.1 today
Steve Hay [Sun, 14 Sep 2014 11:32:39 +0000]
Perl 5.20.1 today

(cherry picked from commit 096a768b1f2a71de66bba2cd586532bc7da49b12)

3 months agoAdd epigraph for 5.20.1-RC2
Steve Hay [Sun, 7 Sep 2014 17:32:29 +0000]
Add epigraph for 5.20.1-RC2

(cherry picked from commit d1da2d574bc16ae8003d2c8b558ad288d64e0d5d)

3 months agoPorting/makemeta update
Steve Hay [Sun, 7 Sep 2014 17:25:25 +0000]
Porting/makemeta update

3 months agoDisarm the patchlevel.h change
Steve Hay [Sun, 7 Sep 2014 17:25:12 +0000]
Disarm the patchlevel.h change

3 months agoPorting/makemeta update v5.20.1-RC2
Steve Hay [Sun, 7 Sep 2014 16:34:13 +0000]
Porting/makemeta update

3 months agoBump version to RC2
Steve Hay [Sun, 7 Sep 2014 16:25:00 +0000]
Bump version to RC2

3 months ago5.20.1-RC2 today
Steve Hay [Sun, 7 Sep 2014 16:21:33 +0000]
5.20.1-RC2 today

(cherry picked from commit 2f2cb2442a9510a2ca843089a5ac006c75faa4f0)

3 months agoperldelta - Update acknowledgements
Steve Hay [Sun, 7 Sep 2014 16:19:56 +0000]
perldelta - Update acknowledgements

3 months agoCorrect 5.20 regression: '"X" !~ /[x]/i'
Karl Williamson [Sat, 30 Aug 2014 20:08:58 +0000]
Correct 5.20 regression: '"X" !~ /[x]/i'

This problem occurs only when the pattern is UTF-8, contains a single ASCII
lowercase letter.  It does not match its uppercase counterpart.

For RT #122655

[Note from committer: This is a manual back-port of b6e093f25d
by James E Keenan <jkeen@verizon.net>.]

3 months agonitpicks
SHIRAKATA Kentaro [Thu, 4 Sep 2014 04:56:55 +0000]

3 months agoAdd release date of 5.20.1-RC1
Steve Hay [Mon, 25 Aug 2014 20:26:29 +0000]
Add release date of 5.20.1-RC1

(cherry picked from commit 162e65e89f210e8ffbd4b523e286f3339cb07c7d)

3 months agoAdd epigraph for 5.20.1-RC1
Steve Hay [Mon, 25 Aug 2014 19:35:15 +0000]
Add epigraph for 5.20.1-RC1

(cherry picked from commit e1ded6adc0dc6f48cbbdae3c5aa65058af8580dd)

3 months agoEpigraph for 5.21.3
Peter Martini [Thu, 21 Aug 2014 05:39:04 +0000]
Epigraph for 5.21.3

(cherry picked from commit 46a97ad77cd8b57de2b0ec11fe6248552fc7aa4f)

3 months agoEpigraph for 5.21.2
Abigail [Sun, 20 Jul 2014 14:36:36 +0000]
Epigraph for 5.21.2

(cherry picked from commit 66f3ab9ef25574940c3bf19e111886105f52d116)

3 months agoFix typo... nothing to see here
Matthew Horsfall (alh) [Fri, 20 Jun 2014 18:59:01 +0000]
Fix typo... nothing to see here

(cherry picked from commit c5aea1955a29bc7e8ef53eb3dd271fdacff597f3)

3 months agoAdd Epipgraph for 5.21.1
Matthew Horsfall (alh) [Fri, 20 Jun 2014 17:03:30 +0000]
Add Epipgraph for 5.21.1

(cherry picked from commit e1bdea9ec27b23189e3456964a31e57132ab8cda)

3 months agoepigraphs: add the v5.20.0-RC1 epigraph
Ricardo Signes [Tue, 17 Jun 2014 21:11:29 +0000]
epigraphs: add the v5.20.0-RC1 epigraph

(cherry picked from commit f17f1150d314e25aa30040c666f2a8fadbb298c1)

3 months agoAdd epigraph for Perl 5.21.0.
James E Keenan [Tue, 27 May 2014 18:46:39 +0000]
Add epigraph for Perl 5.21.0.

(cherry picked from commit 84d7a06cd8fcbca3f64facfc9e02feaaeed0deb9)

3 months agoadd the 5.20.0 release epigraph
Ricardo Signes [Tue, 27 May 2014 11:43:09 +0000]
add the 5.20.0 release epigraph

(cherry picked from commit 7684c8f0e22a8866fd1448586cdf1fdcb2c9bbc8)

3 months agoPorting/makemeta update
Steve Hay [Mon, 25 Aug 2014 19:18:21 +0000]
Porting/makemeta update

3 months agoDisarm the patchlevel.h change
Steve Hay [Mon, 25 Aug 2014 18:52:40 +0000]
Disarm the patchlevel.h change

3 months agoPorting/makemeta update v5.20.1-RC1
Steve Hay [Mon, 25 Aug 2014 02:16:05 +0000]
Porting/makemeta update

3 months agoBump version to RC1
Steve Hay [Mon, 25 Aug 2014 02:15:02 +0000]
Bump version to RC1

3 months agoperldelta - Last-minute fixes
Steve Hay [Mon, 25 Aug 2014 02:08:10 +0000]
perldelta - Last-minute fixes

3 months agoperldelta - Fill in acknowledgements
Steve Hay [Mon, 25 Aug 2014 02:04:47 +0000]
perldelta - Fill in acknowledgements

3 months agoRevert cherry-pick of 5c851aa119 - the bump for the as-yet unreleased 5.21.4
Steve Hay [Mon, 25 Aug 2014 01:17:40 +0000]
Revert cherry-pick of 5c851aa119 - the bump for the as-yet unreleased 5.21.4

This was only cherry-picked to ease merging the 5.20.1 update into blead
and then cherry-picking it back into maint. It shouldn't be here for the
maint release, though, because 5.21.4 hasn't happened yet.

3 months agoUpdate Module-CoreList for 5.20.1
Steve Hay [Mon, 25 Aug 2014 01:13:31 +0000]
Update Module-CoreList for 5.20.1

(Maint-specific parts that could not be committed to blead and cherry-picked
from there.)

3 months agoUpdate Module-CoreList for 5.20.1
Steve Hay [Mon, 25 Aug 2014 01:10:42 +0000]
Update Module-CoreList for 5.20.1

(Excluding %upstream and %bug_tracker portions, which involve modules that
are no longer in blead (e.g. Module-Build) and therefore are not suitable
for committing to blead and then cherry-picking to maint; they will be
committed directly to maint instead.)

(cherry picked from commit 1c6aa017a409609fa72ff9fd264ab682537bf528)

3 months agoReset Module-CoreList $VERSION to 5.020001, as per e1b8fd4fe5 (lost by d5f415e514)
Steve Hay [Mon, 25 Aug 2014 00:54:45 +0000]
Reset Module-CoreList $VERSION to 5.020001, as per e1b8fd4fe5 (lost by d5f415e514)

3 months agoModule::CoreList version number bump
Peter Martini [Thu, 21 Aug 2014 11:23:39 +0000]
Module::CoreList version number bump

(cherry picked from commit 5c851aa119b52322e162f3105f7395628dc16737)

3 months agoUpdate Module::CoreList for 5.21.3
Peter Martini [Wed, 20 Aug 2014 08:21:14 +0000]
Update Module::CoreList for 5.21.3

(cherry picked from commit 46e588907ff561f0b5ebb923f1a81423645845e7)

3 months agoUpped version numbers for ModuleList
Abigail [Sun, 20 Jul 2014 15:25:04 +0000]
Upped version numbers for ModuleList

(cherry picked from commit 633c51bcc9849e67652e4949bd0a125a1a9d0eca)

3 months agoUpdate Module::CoreList for 5.21.2
Abigail [Sun, 20 Jul 2014 01:05:59 +0000]
Update Module::CoreList for 5.21.2

(cherry picked from commit 6488e103c9fabe91662d9508930e2eb26e2f718b)

3 months agoModule::CoreList::TieHashDelta stop massive recursion
Daniel Dragan [Wed, 28 May 2014 12:17:25 +0000]
Module::CoreList::TieHashDelta stop massive recursion

On machines with very limited memory, EXISTS calling EXISTS caused a very
high number of C stack frames, magic stack swaps, and Perl call stack
frames leading to memory exhaustion. Turn the recursion into a loop. See
[perl #121974].

(cherry picked from commit 42484eedeb4abcee1d893010daa67c1a42ec6424)

3 months agoUpdate Module::CoreList for 5.21.2
Matthew Horsfall (alh) [Mon, 25 Aug 2014 00:29:01 +0000]
Update Module::CoreList for 5.21.2

(cherry picked from commit 2901561d6eabdbb1b7d6c7cbf667bbb08778387f)

(pod/perldelta.pod part skipped)

3 months agoUpdate Module::CoreList for 5.21.1
Matthew Horsfall (alh) [Mon, 25 Aug 2014 00:26:58 +0000]
Update Module::CoreList for 5.21.1

(cherry picked from commit 04c0d50048e9a1fc76442f5faa4850b9ba85140c)

(pod/perldelta.pod part skipped)

3 months agoBring all lines in CoreList.pod under 80 cols
kafka [Tue, 13 May 2014 20:26:41 +0000]
Bring all lines in CoreList.pod under 80 cols

(cherry picked from commit 92c6a5ec9f11d991a91d37e304ca77f7a73aa1f9)

3 months agoAdded core-only version check to Module-CoreList
Chris 'BinGOs' Williams [Sat, 31 May 2014 11:12:47 +0000]
Added core-only version check to Module-CoreList

This should ensure that the versions of Module-CoreList modules
always match the version of perl.

Have to special-case skip for v5.21.1, because rjbs

(cherry picked from commit 4915b61c095597462aef8cf7437320c10954bb6d)

3 months agoupdate Module::CoreList for 5.21.1
Ricardo Signes [Tue, 27 May 2014 14:42:12 +0000]
update Module::CoreList for 5.21.1

Blunder made in the release of 5.21.0:  Module::CoreList was set to version
5.21.1 instead of 5.21.0.  I've at least temporarily given this commit a
dev version.  Worst case, we do that in 5.21.1 and re-sync in 5.21.2.

(cherry picked from commit 5a534470e5a4dc1ea608889b941dcbd482f34184)

3 months agoupdate corelist for 5.21.0
Ricardo Signes [Tue, 27 May 2014 13:04:02 +0000]
update corelist for 5.21.0

(cherry picked from commit 4f2cd4f7a279d0ae5eca7a33f848723a7504eaa8)

3 months agomatch Module::CoreList version to perl version
Ricardo Signes [Tue, 27 May 2014 12:59:29 +0000]
match Module::CoreList version to perl version

(cherry picked from commit 5dcd9147e968bfec99b1906ad64ed0b49c4b44a0)

3 months agoAssimilate Module-CoreList part of 2ea3abd479
Steve Hay [Mon, 25 Aug 2014 00:21:18 +0000]
Assimilate Module-CoreList part of 2ea3abd479

3 months agoadd 5.21.0 to corelist, bump version
Ricardo Signes [Mon, 25 Aug 2014 00:18:32 +0000]
add 5.21.0 to corelist, bump version

(cherry picked from commit 75325e51eae379f247bdee76b5c5432b527e4d53)

3 months agoAdd new pumpkin keeper victim following release of 5.21.3
Steve Hay [Sun, 24 Aug 2014 23:23:27 +0000]
Add new pumpkin keeper victim following release of 5.21.3

(cherry picked from commit 976bd5a0c33a09da472a157706dec80f6a87cb0f)

3 months agoAdd new release to perlhist
Peter Martini [Wed, 20 Aug 2014 08:23:26 +0000]
Add new release to perlhist

(cherry picked from commit 36719686e209d3a2120ac01da5207598078e07a7)

3 months agoFinalize perldelta except for acknowledgements
Steve Hay [Sun, 24 Aug 2014 22:43:11 +0000]
Finalize perldelta except for acknowledgements

3 months agoperldelta for 692c22c646
Steve Hay [Sun, 24 Aug 2014 21:24:39 +0000]
perldelta for 692c22c646

3 months agoperldelta: Add entry for sync_locale()
Karl Williamson [Fri, 15 Aug 2014 15:05:28 +0000]
perldelta: Add entry for sync_locale()

(cherry picked from commit d8bcb4d6a785b98e8fa0eeaf863b9b4a64fcad35)

3 months agoperlapi: Add docs for sync_locale()
Karl Williamson [Sat, 23 Aug 2014 04:37:26 +0000]
perlapi: Add docs for sync_locale()

3 months agoperlxs: Add text about dealing with locales, etc
Karl Williamson [Sun, 24 Aug 2014 21:11:05 +0000]
perlxs: Add text about dealing with locales, etc

This pod has been totally silent about monkey wrenches that could be
thrown by XS code doing things that can affect perl.  Add a few
cautions, including some detailed information about one area where we
have been bitten: locales.

(cherry picked from commit 8a384d3a99d847516ae513b3b71f778d16251471)

3 months agoAdd sync_locale() as a macro
Karl Williamson [Thu, 21 Aug 2014 19:31:58 +0000]
Add sync_locale() as a macro

This function in 5.21 is being backported to maint-5.20 as a macro so
that it doesn't present binary compatibility issues, but can be used in
5.20 without having to wait to 5.22.  See

3 months agoperlfunc: Update -B, -T descriptions
Karl Williamson [Thu, 21 Aug 2014 17:49:15 +0000]
perlfunc: Update -B, -T descriptions

These descriptions were way out-of_date.

(cherry picked from commit 65cc07c91673df6e03529e62d23f29b50f6e4716)

3 months agoUpdate version.pm's checksum after the previous commit's $VERSION bump
Steve Hay [Fri, 22 Aug 2014 07:17:46 +0000]
Update version.pm's checksum after the previous commit's $VERSION bump

3 months agoUpdate core to CPAN release 0.9909
John Peacock [Fri, 15 Aug 2014 19:04:04 +0000]
Update core to CPAN release 0.9909

Includes f57000b PATCH: [perl #121930] Bleadperl breaks MDOOTSON/Wx

(Edited by committer: Pull in $VERSION bumps, which I completely forgot
to do in commit 804a816133(!), but skip the change to vutil.c, which
has already been cherry-picked in commit 3e43966ef8.)

3 months agoperldelta: Update with latest changes, stealing text from e917e94e4f
Steve Hay [Thu, 21 Aug 2014 23:55:37 +0000]
perldelta: Update with latest changes, stealing text from e917e94e4f

3 months agoMaint-5.20 is now using version-0.9909
Steve Hay [Thu, 21 Aug 2014 23:52:55 +0000]
Maint-5.20 is now using version-0.9909

The cherry-pick of f57000bc39 has brought maint-5.20 exactly into sync with

3 months agoPATCH: [perl #121930] Bleadperl breaks MDOOTSON/Wx
Karl Williamson [Thu, 21 Aug 2014 23:44:37 +0000]
PATCH: [perl #121930] Bleadperl breaks MDOOTSON/Wx

The root cause of this issue is that XS code or the libraries it calls
is changing the locale behind Perl's back so that the decimal point
character is not a dot.  Version number parsing relies on it being a

This patch fixes the problem by retrieving the current locale just
before version number parsing, and updating Perl's records if the locale
has changed away from what is expected.  Given accurate records, the
pre-existing call to the STORE_NUMERIC_LOCAL_SET_STANDARD macro will
do what it's supposed to do, and change the locale so that the dot is
the radix character for the version number parsing.

After the parsing is done, the pre-existing call to the
RESTORE_NUMERIC_LOCAL macro will restore properly, but see below

This patch should be suitable for both 5.20.1 and 5.21 (though the SHA-1
value in the porting/customize.dat will have to be adjusted because the
files aren't otherwise identical).  But there is a fundamental
difference between the releases.  In 5.20.X, Perl does not attempt to
keep the radix character a dot at almost all times (though it
initializes things so it is a dot, overriding any environmental settings
to the contrary).  This leads to known non-regression bugs in 5.20
because very little XS code can cope with a non-dot.  To fix this, Perl
has changed the macros in 5.21 so that the result after the
RESTORE_NUMERIC_LOCAL is that the current locale will have a dot.  This
will fix those long-standing bugs where XS code expecting a dot fails
should it be mashed up with modules that change it to something else.
But this will break the relatively few modules that want it the other
way.  So it has been done early in 5.21 to give things a chance to
settle down.

The extra {} braces around the code that calls the macros is because
STORE_NUMERIC_LOCAL_SET_STANDARD declares a variable, and so must be
within the declarations area of a block for C89 compilers.  (I myself
would not write a macro that does this without indicating so in its

(cherry picked from commit f57000bc399f9b433bfb06a4302f4e773f7f50bb)

3 months agomagic.t: android: bypass two $0 tests and add one
Alexandre (Midnite) Jousset [Wed, 20 Aug 2014 19:24:21 +0000]
magic.t: android: bypass two $0 tests and add one

"ps" on Android has different syntaxes depending on the tool used.
It can be toolbox or busybox. Bypass the "ps" tests and enable
the /proc/$$/cmdline one.

(cherry picked from commit fca083c47fa8011629d991516dc59e068cbf6234)

3 months agoAndroid hints: Always append /system/lib and /vendor/lib in libpth
Brian Fraser [Thu, 21 Aug 2014 23:21:36 +0000]
Android hints: Always append /system/lib and /vendor/lib in libpth

These are the canonical directories for libraries on Android.
This is only mildly important for native builds, since
whatever toolchain was installed will likely provide
their own /lib, but is quite important for cross builds.

(cherry picked from commit 42b5146c146a72ef7462ac4ca82888f5ab3cbcfe)

3 months agoWhen cross-compiling, copy cpan/Module-Metadata/
Brian Fraser [Tue, 29 Jul 2014 18:30:44 +0000]
When cross-compiling, copy cpan/Module-Metadata/

cpan/Module-Metadata/t/encoding.t needs some files in the
distribution to pass.

(cherry picked from commit 4ef422df91dd7930bf44a43b30a58819dd2ba9a2)

3 months agospelling: till -> until
Karen Etheridge [Wed, 20 Aug 2014 00:21:09 +0000]
spelling: till -> until

(cherry picked from commit ad81d09f91f86467273aeb1e8bc31ea2a0537f36)

3 months agodocument what version \K was added in
Karen Etheridge [Wed, 20 Aug 2014 00:20:01 +0000]
document what version \K was added in

(cherry picked from commit 3d9df1a7d63b856fd9420ec9fffddf41a521c255)

3 months agoperldelta: Update with latest changes, stealing text from 6e97d65d93 and 26dd5fd691
Steve Hay [Thu, 21 Aug 2014 12:49:14 +0000]
perldelta: Update with latest changes, stealing text from 6e97d65d93 and 26dd5fd691

3 months agoRemove compiler warning spam on dos-djgpp
Chris 'BinGOs' Williams [Wed, 13 Aug 2014 21:39:19 +0000]
Remove compiler warning spam on dos-djgpp

(cherry picked from commit 1d8d63dcc3ec46dd8a437dab18cca3fb42880079)

4 months agoUse %I64d instead of %lld for MinGW
Jan Dubois [Tue, 22 Jul 2014 23:50:24 +0000]
Use %I64d instead of %lld for MinGW

For older versions of MSVCRT.dll %lld is still using only 32 bits, breaking
32-bit builds defining USE_64_BIT_INT. %I64d is still supported on all newer
MSVCRT.dll releases, so there is really no reason to use %lld with MinGW at

Fixes https://rt.perl.org/Ticket/Display.html?id=120851

(cherry picked from commit 6e75769d300856d7c215fc22d503cce13b734a0f)

4 months agolocale.c: Use PERL_UNUSED_RESULT
Karl Williamson [Wed, 13 Aug 2014 22:02:00 +0000]

The previous way to suppress messages wasn't working for all gcc
versions.  Spotted by Jarkko Hietaniemi.

(cherry picked from commit 856b881c8af7c4319ce0cf631dae3495067185a2)

4 months agot/run/locale.t: Improve skip message
Karl Williamson [Mon, 11 Aug 2014 16:20:43 +0000]
t/run/locale.t: Improve skip message

Better wording uggested by H.Merijn Brand

(cherry picked from commit 2ebcba0a9f172787c2c75bb3480e865c6809c1f0)

4 months agoFix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV
Andy Dougherty [Mon, 4 Aug 2014 14:38:48 +0000]
Fix hint typo: No leading underscore in PERL_USE_SAFE_PUTENV

hints/solaris_2.sh generates a config.over script intended to add
PERL_USE_SAFE_PUTENV to ccflags, if it is not already present.  An extra
leading underscore in the check meant that the test always failed and
PERL_USE_SAFE_PUTENV always got added.

(cherry picked from commit dd25c352db6f2a0adb8324232f6ccfd456d603e9)

4 months agoSun c99 needs -Xa for many system interfaces.
Jarkko Hietaniemi [Tue, 5 Aug 2014 15:47:51 +0000]
Sun c99 needs -Xa for many system interfaces.

(cherry picked from commit 0b6032931d47da84e83a642fede2c6ebb0bcedeb)

4 months agoSun c99 doesn't like bare -O.
Jarkko Hietaniemi [Tue, 5 Aug 2014 14:49:31 +0000]
Sun c99 doesn't like bare -O.

(cherry picked from commit a5a0b9b91da0e2ae65a3eaaed49632081d8eb2de)

4 months agoSun c99 ccversion.
Jarkko Hietaniemi [Tue, 5 Aug 2014 14:42:41 +0000]
Sun c99 ccversion.

(cherry picked from commit 8f6660ae44158df9b0d94fc5d1c7deb9c85ea1ad)

4 months agoNewer Sun C compilers are not 'SUNwspro', but 'solstudio'.
Jarkko Hietaniemi [Tue, 5 Aug 2014 13:49:01 +0000]
Newer Sun C compilers are not 'SUNwspro', but 'solstudio'.

(cherry picked from commit 78ab3d1a1e24336ae295c6766f0aa90bff964c53)

4 months agoBring perldelta up-to-date
Steve Hay [Tue, 12 Aug 2014 07:50:15 +0000]
Bring perldelta up-to-date

4 months agoExtUtils::CBuilder: On Android, link to both -lperl and $Config{perllibs}
Brian Fraser [Sat, 9 Aug 2014 10:43:01 +0000]
ExtUtils::CBuilder: On Android, link to both -lperl and $Config{perllibs}

This is done because quite a bit of CPAN assumes that
if libperl.so links to something, then you'll get those
functions for free, but that is not the case on

(cherry picked from commit 9f9de66faac78f8dab171d8636dbaa778db5ea35)

4 months agoDocumentation typo fix
Rafael Garcia-Suarez [Wed, 6 Aug 2014 20:15:24 +0000]
Documentation typo fix

(cherry picked from commit 287e9fa667dea09a6b41b11e1be4ccc73927e200)

4 months agot/run/locale.t: Skip environment test on Win32
Karl Williamson [Mon, 4 Aug 2014 18:57:43 +0000]
t/run/locale.t: Skip environment test on Win32

This test is to make sure that without environment overrides, that the
decimal point character is a dot.  However in Windows machines, the
default locale can be set via administration regardless of environment
overrides, so this test is invalid on that platform.

Spotted by Steve Hay.

(cherry picked from commit e1df407107c5f394da157461e336562c7a7d6a59)

4 months ago[perl #121404] tied hashes are different
Tony Cook [Tue, 5 Aug 2014 05:18:25 +0000]
[perl #121404] tied hashes are different

(cherry picked from commit 883f220b1a9552b53f705c439a73a5c235feaedc)

4 months agoregcomp.c: Don't read outside array bound
Karl Williamson [Fri, 1 Aug 2014 17:19:06 +0000]
regcomp.c: Don't read outside array bound

This code is only in DEBUGGING builds had an off-by-one error
that would read beyond the end of the array.  This commit also removes
a redundant test

(cherry picked from commit 33e493d3ba71689dfaec10efd9847548790cc922)

4 months agoSkip ext/GDBM_File/t/fatal.t in Darwin, too flaky.
Jarkko Hietaniemi [Mon, 28 Jul 2014 19:52:56 +0000]
Skip ext/GDBM_File/t/fatal.t in Darwin, too flaky.

(random crashes at destruction time)

See https://rt.perl.org/Public/Bug/Display.html?id=117967
and jhi ran into this in OS 10.9.4 + blead + gdbm 1.11
(gdbm via macports, but shouldn't matter much: flaky is flaky).

(cherry picked from commit cfc6b1ed3a0eabcc03845bd71d4357d9c62155b6)

4 months agoRevert part of b844a53a to fix ./perl -Ilib t/io/fs.t
Jarkko Hietaniemi [Mon, 28 Jul 2014 23:30:13 +0000]
Revert part of b844a53a to fix ./perl -Ilib t/io/fs.t

The temps are created in t, but $ENV{PWD} points to root.

The change was made for Android support, but is now obsoleted
by newer code for Android, just below.

(cherry picked from commit a5a49cbf4d6eb36d453c1c5eb58984d66bb4b45e)

4 months agoCorrect double mention of winpid_to_pid.
James E Keenan [Wed, 30 Jul 2014 11:45:40 +0000]
Correct double mention of winpid_to_pid.

As reported by graham at wdlabs dot com.

For: RT #122430
(cherry picked from commit f15c31c178d6fa50bc256d9c7a373eab5648f939)

4 months agoUpdate Config::Perl::V to version 0.22
H.Merijn Brand [Sat, 2 Aug 2014 11:09:16 +0000]
Update Config::Perl::V to version 0.22

(cherry picked from commit 60df6830c0429ffd1f40e4d01237803f337499a5)

4 months agoTest file had been renamed. remove old cruft
H.Merijn Brand [Fri, 1 Aug 2014 11:49:11 +0000]
Test file had been renamed. remove old cruft

(cherry picked from commit 2af655b5cf66b7a6963303751abfaa0aa53b7828)

4 months agoSync Config::Perl::V to version 0.21
H.Merijn Brand [Fri, 1 Aug 2014 11:14:09 +0000]
Sync Config::Perl::V to version 0.21

 * Add tests for each major distribution since 5.6.2
 * Better detect build times
 * Sync with 5.20.1

(cherry picked from commit b4ade0121f513ffbfbd57484ccf779f28bcfb95b)

4 months agoPATCH: [perl #122460] Regression with (?{})(?=...) and pos
Karl Williamson [Thu, 7 Aug 2014 16:45:21 +0000]
PATCH: [perl #122460] Regression with (?{})(?=...) and pos

The commit that really broke this was
a0dd42312a1f26356d2fdf49656e45b77c2cefb5.  The blamed commit fixed some
typos that kept the earlier bad commit from having an effect.

Zero-length assertions, such as (?=...) obviously can match an empty
string.  The bad commit wrongly removed a setting of a flag to that
effect.  I didn't realize the implications at the time, thinking that
the newly-corrected AND logical operations would correctly set things
up, and that the previous code had been a workaround for the buggy AND.
The problem is that there is an overriding context such that whatever
the AND result, since this is in a 0-length assertion, the result will
match the empty string.  Thus it now differs from the pre-bad-commit
code which set to match the empty string only sometimes.  I'm pretty
sure it should be 'always'.  If I'm wrong, it doesn't mean a bug, but
only that an optimisation that could take place won't.

(cherry picked from commit 842a9d211f60b9643f4a6707f378be70fa2fbb9e)

4 months agoFix exec bit following 7d621c156b
Steve Hay [Thu, 31 Jul 2014 08:20:07 +0000]
Fix exec bit following 7d621c156b

(Resolving the conflict in that cherry-pick (working on Windows...)
apparently changed the perms)

4 months agoMake PERL_GLOBAL_STRUCT_PRIVATE visible in -V.
Jarkko Hietaniemi [Fri, 25 Jul 2014 00:20:56 +0000]

(cherry picked from commit 59dba841c4c022b197056ed7c78ea7d9e7fbb467)

4 months agoSimplify cppsym dash problem
H.Merijn Brand [Sat, 26 Jul 2014 19:43:54 +0000]
Simplify cppsym dash problem

(cherry picked from commit 47ef2f80a353917e46d5ef248320c351162a97b2)

4 months agoConfigure: Handle hyphens when searching cpp symbols
Brian Fraser [Fri, 25 Jul 2014 17:46:41 +0000]
Configure: Handle hyphens when searching cpp symbols

This is really just for Android, which in Configure is
known as linux-android; the hyphen is passes as-is to
the preprocessor, which handles it as a minus.

So don't do that.

(cherry picked from commit ecd78e215c9b4ab3f3ab71b30e76bbead372a84e)

4 months agoConfigure: Discard errors when testing for less -R
Brian Fraser [Fri, 25 Jul 2014 17:13:26 +0000]
Configure: Discard errors when testing for less -R

When we try replacing 'less' with 'less -R', it's possible
that less will output errors if the option is not supported;
this happens, for example, in busybox's less.

(cherry picked from commit a872f748481d44baa8bc0f6eb29659782c96ba7f)