platform/upstream/perl.git
7 years agoImported Upstream version 5.26.0 54/136054/1 upstream/5.26.0
DongHun Kwak [Wed, 28 Jun 2017 01:52:29 +0000 (10:52 +0900)]
Imported Upstream version 5.26.0

Change-Id: I69890f16e4e1433b5afe15d817667d0f1e0ff99c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.12 53/136053/1
DongHun Kwak [Wed, 28 Jun 2017 01:52:11 +0000 (10:52 +0900)]
Imported Upstream version 5.25.12

Change-Id: Ib7dd566043733a478c87169b91198b48ef9af3b9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.11 52/136052/1
DongHun Kwak [Wed, 28 Jun 2017 01:51:55 +0000 (10:51 +0900)]
Imported Upstream version 5.25.11

Change-Id: Idfd2620b7e259fdea6952291316c57d30297c5f3
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.10 51/136051/1
DongHun Kwak [Wed, 28 Jun 2017 01:51:39 +0000 (10:51 +0900)]
Imported Upstream version 5.25.10

Change-Id: I07a263a82cdb7997cb862547ad3fcf510bfa9780
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.9 50/136050/1
DongHun Kwak [Wed, 28 Jun 2017 01:51:25 +0000 (10:51 +0900)]
Imported Upstream version 5.25.9

Change-Id: Id3d2d48a2c217990b8454e7bf68f00078c07c599
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.8 49/136049/1
DongHun Kwak [Wed, 28 Jun 2017 01:49:45 +0000 (10:49 +0900)]
Imported Upstream version 5.25.8

Change-Id: I2115cf31cbcc727b7b373f1842cd24eeb5a0737f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.7 48/136048/1
DongHun Kwak [Wed, 28 Jun 2017 01:49:30 +0000 (10:49 +0900)]
Imported Upstream version 5.25.7

Change-Id: I977ac77a2e947c7f67572011fb801b35341ed087
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.6 47/136047/1
DongHun Kwak [Wed, 28 Jun 2017 01:49:13 +0000 (10:49 +0900)]
Imported Upstream version 5.25.6

Change-Id: Ia399c5f3926f6d1fee6c79138b57111cf20edd0f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.5 46/136046/1
DongHun Kwak [Wed, 28 Jun 2017 01:48:55 +0000 (10:48 +0900)]
Imported Upstream version 5.25.5

Change-Id: If70c0ae2ac8467cbd9ebc119ac07947828003aff
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.4 45/136045/1
DongHun Kwak [Wed, 28 Jun 2017 01:48:38 +0000 (10:48 +0900)]
Imported Upstream version 5.25.4

Change-Id: Iab199a43afb52512a0fbc09a7afe6a5a8e0bbfaa
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.3 44/136044/1
DongHun Kwak [Wed, 28 Jun 2017 01:48:22 +0000 (10:48 +0900)]
Imported Upstream version 5.25.3

Change-Id: I9c8d6d15b5c0053b6bbda66517592e62b47f4ff2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.2 43/136043/1
DongHun Kwak [Wed, 28 Jun 2017 01:48:06 +0000 (10:48 +0900)]
Imported Upstream version 5.25.2

Change-Id: I29931c16ca50b0a49c9068949ac5183851cc74bb
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.1 42/136042/1
DongHun Kwak [Wed, 28 Jun 2017 01:47:50 +0000 (10:47 +0900)]
Imported Upstream version 5.25.1

Change-Id: Ic67f4609dfc7f04c86fa99540237588936c7c48c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.25.0 41/136041/1
DongHun Kwak [Wed, 28 Jun 2017 01:47:32 +0000 (10:47 +0900)]
Imported Upstream version 5.25.0

Change-Id: I5e89d02075ff534d55244bd70a30c24fab031c38
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.24.1 40/136040/1
DongHun Kwak [Wed, 28 Jun 2017 01:46:58 +0000 (10:46 +0900)]
Imported Upstream version 5.24.1

Change-Id: Id2f09c5fd8987aeea9b5f204e9e293c05103b6d6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.24.0 39/136039/1
DongHun Kwak [Wed, 28 Jun 2017 01:45:52 +0000 (10:45 +0900)]
Imported Upstream version 5.24.0

Change-Id: Ia5ddac9aeb1c072ec1cf25b8afd8792db08a64ab
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.9 38/136038/1
DongHun Kwak [Wed, 28 Jun 2017 01:45:27 +0000 (10:45 +0900)]
Imported Upstream version 5.23.9

Change-Id: Iad14f464459140e8afbdfe80684c571b0b80d5bd
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.8 37/136037/1
DongHun Kwak [Wed, 28 Jun 2017 01:45:11 +0000 (10:45 +0900)]
Imported Upstream version 5.23.8

Change-Id: Iba0a3f479c15ac6b622ee72397bc218745d62043
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.7 36/136036/1
DongHun Kwak [Wed, 28 Jun 2017 01:44:56 +0000 (10:44 +0900)]
Imported Upstream version 5.23.7

Change-Id: I8468a29d04db50c9756d435ed9faa10526bb2d63
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.6 35/136035/1
DongHun Kwak [Wed, 28 Jun 2017 01:44:00 +0000 (10:44 +0900)]
Imported Upstream version 5.23.6

Change-Id: Ie310320f920edd66f731e1c79cfb4ee2ac84cb41
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.5 34/136034/1
DongHun Kwak [Wed, 28 Jun 2017 01:43:43 +0000 (10:43 +0900)]
Imported Upstream version 5.23.5

Change-Id: Ibe2b50051744be9bd6db5ec98b85d47ea70abfe5
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.4 33/136033/1
DongHun Kwak [Wed, 28 Jun 2017 01:43:19 +0000 (10:43 +0900)]
Imported Upstream version 5.23.4

Change-Id: I57ae044ebb1c4967474d3c1fe8bec15e2b8db44d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.3 32/136032/1
DongHun Kwak [Wed, 28 Jun 2017 01:43:02 +0000 (10:43 +0900)]
Imported Upstream version 5.23.3

Change-Id: If10b1e7d385d8d065223d5850347d3f074fb51f3
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.2 31/136031/1
DongHun Kwak [Wed, 28 Jun 2017 01:42:48 +0000 (10:42 +0900)]
Imported Upstream version 5.23.2

Change-Id: I6aaf597b5cbd6c307c4b2541d97c36cc8df87f21
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.1 30/136030/1
DongHun Kwak [Wed, 28 Jun 2017 01:42:32 +0000 (10:42 +0900)]
Imported Upstream version 5.23.1

Change-Id: I2c648f2449241c035ec470cffc714825e2e7d0d9
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.23.0 29/136029/1
DongHun Kwak [Wed, 28 Jun 2017 01:42:13 +0000 (10:42 +0900)]
Imported Upstream version 5.23.0

Change-Id: I8a9bb43daa24232995e474fbdf78a6edbad9a8c7
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.22.3 28/136028/1
DongHun Kwak [Wed, 28 Jun 2017 01:41:54 +0000 (10:41 +0900)]
Imported Upstream version 5.22.3

Change-Id: I946e59dc5d1d77f8f673f70bcdaa71497c8d512f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.22.2 27/136027/1
DongHun Kwak [Wed, 28 Jun 2017 01:41:39 +0000 (10:41 +0900)]
Imported Upstream version 5.22.2

Change-Id: Ice69e63886eb044b5c2baa0817401e725c610370
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.22.1 26/136026/1
DongHun Kwak [Wed, 28 Jun 2017 01:41:22 +0000 (10:41 +0900)]
Imported Upstream version 5.22.1

Change-Id: I484a58e75fbe8e019dbde402eebeb953c947edc6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.22.0 25/136025/1
DongHun Kwak [Wed, 28 Jun 2017 01:41:08 +0000 (10:41 +0900)]
Imported Upstream version 5.22.0

Change-Id: I057a7bfd3abd9a23c83d7eea996e692ecc67b40f
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.11 24/136024/1
DongHun Kwak [Wed, 28 Jun 2017 01:40:42 +0000 (10:40 +0900)]
Imported Upstream version 5.21.11

Change-Id: I998e4f374f03c3584ba7bd2af3352bc7d90a5d97
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.10 23/136023/1
DongHun Kwak [Wed, 28 Jun 2017 01:40:06 +0000 (10:40 +0900)]
Imported Upstream version 5.21.10

Change-Id: I744f9112f5d93ae53c571b67bc1eedef65606ab2
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.9 22/136022/1
DongHun Kwak [Wed, 28 Jun 2017 01:39:52 +0000 (10:39 +0900)]
Imported Upstream version 5.21.9

Change-Id: I2e9bff5bdfd49756279804671ff50b6de9ab5c24
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.8 21/136021/1
DongHun Kwak [Wed, 28 Jun 2017 01:36:25 +0000 (10:36 +0900)]
Imported Upstream version 5.21.8

Change-Id: Ia385ccb41250cd4957fc0d9398e4cf6220faf7e6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.7 20/136020/1
DongHun Kwak [Wed, 28 Jun 2017 01:36:09 +0000 (10:36 +0900)]
Imported Upstream version 5.21.7

Change-Id: I4fa5ddc91e77b07e6264f3e9324a9f10e856a001
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.6 19/136019/1
DongHun Kwak [Wed, 28 Jun 2017 01:35:52 +0000 (10:35 +0900)]
Imported Upstream version 5.21.6

Change-Id: If475da6149ca0be0d9f954bb0da3b4695647ef49
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.5 18/136018/1
DongHun Kwak [Wed, 28 Jun 2017 01:35:36 +0000 (10:35 +0900)]
Imported Upstream version 5.21.5

Change-Id: I3c347984b8cd4d476f773c5bbf83317b902e766a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.4 17/136017/1
DongHun Kwak [Wed, 28 Jun 2017 01:34:55 +0000 (10:34 +0900)]
Imported Upstream version 5.21.4

Change-Id: I98436d2d36304c790b3f9fe4aef9903374e37300
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.3 16/136016/1
DongHun Kwak [Wed, 28 Jun 2017 01:34:38 +0000 (10:34 +0900)]
Imported Upstream version 5.21.3

Change-Id: I8163ac965a23257bc7b82488cbb9f5f6590089ec
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.2 15/136015/1
DongHun Kwak [Wed, 28 Jun 2017 01:29:49 +0000 (10:29 +0900)]
Imported Upstream version 5.21.2

Change-Id: I3b35ae62c9a45a990669017d33f8839b076644b6
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.1 14/136014/1
DongHun Kwak [Wed, 28 Jun 2017 01:29:32 +0000 (10:29 +0900)]
Imported Upstream version 5.21.1

Change-Id: I3fcd41967e40b5ec543422d736ec57972d462464
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.21.0 13/136013/1
DongHun Kwak [Wed, 28 Jun 2017 01:29:11 +0000 (10:29 +0900)]
Imported Upstream version 5.21.0

Change-Id: Ie65b3441733239a8f37f59f154b3fe47b07742da
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.20.3 12/136012/1
DongHun Kwak [Wed, 28 Jun 2017 01:28:45 +0000 (10:28 +0900)]
Imported Upstream version 5.20.3

Change-Id: I6fa6898367b24309a61a48cc9b3028e34eba499e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.20.2 11/136011/1
DongHun Kwak [Wed, 28 Jun 2017 01:28:22 +0000 (10:28 +0900)]
Imported Upstream version 5.20.2

Change-Id: I7c76e059b29c2b82cb61c784e8f4e88eccebd569
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
7 years agoImported Upstream version 5.20.1 10/136010/1
DongHun Kwak [Wed, 28 Jun 2017 01:27:32 +0000 (10:27 +0900)]
Imported Upstream version 5.20.1

Change-Id: Ifcfb0af65c356f98e5fbd9ea99d486d4c70e2c7a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
10 years agoskip RC tags when checking versions diffs upstream/5.20.0 v5.20.0
Graham Knop [Sat, 21 Dec 2013 23:08:12 +0000 (18:08 -0500)]
skip RC tags when checking versions diffs

10 years agoupdate v5.20.0 release date in Module::CoreList
Ricardo Signes [Mon, 26 May 2014 13:19:45 +0000 (09:19 -0400)]
update v5.20.0 release date in Module::CoreList

10 years agoupdate v5.20.0 release date in perlhist
Ricardo Signes [Mon, 26 May 2014 13:19:33 +0000 (09:19 -0400)]
update v5.20.0 release date in perlhist

10 years agopatchlevel: we are a release candidate no more!
Ricardo Signes [Mon, 26 May 2014 12:45:08 +0000 (08:45 -0400)]
patchlevel: we are a release candidate no more!

10 years agoObituary for Greg McCarroll.
Nicholas Clark [Sun, 25 May 2014 20:35:44 +0000 (22:35 +0200)]
Obituary for Greg McCarroll.

10 years agoRemove note of test failures on FAT that were fixed by perl #21442's fixes
Steve Hay [Sat, 24 May 2014 13:25:14 +0000 (14:25 +0100)]
Remove note of test failures on FAT that were fixed by perl #21442's fixes

The list of tests fixed doesn't exactly match the list in README.win32, but
all tests now pass when building/testing on FAT with the Windows OS on NTFS.

10 years agoUpdate PathTools version in Porting
Steffen Mueller [Fri, 23 May 2014 17:00:48 +0000 (19:00 +0200)]
Update PathTools version in Porting

10 years agoDocument known test failure in www.mingw.org builds of gcc-4.8.1 (at least)
Steve Hay [Fri, 23 May 2014 08:12:37 +0000 (09:12 +0100)]
Document known test failure in mingw.org builds of gcc-4.8.1 (at least)

This came up in perl #121643, but I forgot to add a note of this Known
Problem.

10 years agoNote that the minimum supported gcc (on Windows) is 3.4.5
Steve Hay [Thu, 22 May 2014 07:24:47 +0000 (08:24 +0100)]
Note that the minimum supported gcc (on Windows) is 3.4.5

Earlier versions (from www.mingw.org, at least) will build perl, but have
a linker bug that causes various tests to fail due to problems with
SDBM_File.dll. See perl #121936 for details.

10 years agoAdd notice for removal of find2perl, s2p and a2p
Leon Timmermans [Wed, 21 May 2014 13:16:02 +0000 (15:16 +0200)]
Add notice for removal of find2perl, s2p and a2p

10 years agoperldelta: Note patch fixed a bunch of tickets
Karl Williamson [Mon, 19 May 2014 21:07:16 +0000 (15:07 -0600)]
perldelta: Note patch fixed a bunch of tickets

Unbeknownst to the authors, several other tickets got fixed.

10 years agoperldelta: update known problems
Ricardo Signes [Mon, 19 May 2014 14:33:16 +0000 (10:33 -0400)]
perldelta: update known problems

10 years agoperlfunc: Should chdir("/") immed after chroot
Jarkko Hietaniemi [Thu, 24 Apr 2014 22:16:30 +0000 (18:16 -0400)]
perlfunc: Should chdir("/") immed after chroot

Inspired by Coverity perl5 CID 28931: Insecure chroot: (CHROOT)
chroot_call.

The Perl chroot() is a thin wrapper around the system call, so the
chdir("/") should not go there.  But adding a note about the chdir()
being a good idea to perlfunc/chroot.

The committer reworded the inserted text for grammar and readability,
and the commit message to conform to git standards, and is pushing the
commit with the concurrence of the author.

10 years agoPATCH: [perl #121630]: perlpod clarification
Karl Williamson [Mon, 28 Apr 2014 20:10:37 +0000 (14:10 -0600)]
PATCH: [perl #121630]: perlpod clarification

10 years agopatchlevel: we are now v5.20.0-RC1
Ricardo Signes [Fri, 16 May 2014 21:58:23 +0000 (17:58 -0400)]
patchlevel: we are now v5.20.0-RC1

10 years agoupdate perlhist for v5.20.0
Ricardo Signes [Fri, 16 May 2014 21:57:44 +0000 (17:57 -0400)]
update perlhist for v5.20.0

10 years agoremove the perl519*delta documents
Ricardo Signes [Fri, 16 May 2014 21:17:49 +0000 (17:17 -0400)]
remove the perl519*delta documents

10 years agoperldelta: update modules sections for 5.20.0
Ricardo Signes [Fri, 16 May 2014 15:20:42 +0000 (11:20 -0400)]
perldelta: update modules sections for 5.20.0

10 years agoperldelta: generate acknowledgements for 5.20.0
Ricardo Signes [Fri, 16 May 2014 15:14:18 +0000 (11:14 -0400)]
perldelta: generate acknowledgements for 5.20.0

10 years agoupdate CoreList for 5.20.0
Ricardo Signes [Fri, 16 May 2014 15:11:22 +0000 (11:11 -0400)]
update CoreList for 5.20.0

10 years agoPOSIX.pod: Add clarification for strtod();
Karl Williamson [Thu, 15 May 2014 20:13:36 +0000 (14:13 -0600)]
POSIX.pod: Add clarification for strtod();

10 years agodocument the API signature change for Perl_regexec_flags()
Tony Cook [Thu, 15 May 2014 03:38:42 +0000 (13:38 +1000)]
document the API signature change for Perl_regexec_flags()

and its related plugin structure pointer

inspired by https://rt.perl.org/Ticket/Display.html?id=121868 which was
also broken by ea3daa5d5f60389b105c00d4f7d05b5c2f2155f2

10 years agoFix commit 90674eaa88
Steve Hay [Wed, 14 May 2014 19:59:30 +0000 (20:59 +0100)]
Fix commit 90674eaa88

Spotted by Daniel Dragan. We use GetEnvironmentStringsW() (deliberately so:
see commit 4f46e52b00), so we must use FreeEnvironmentStringsW() to match.

10 years agoAdd links for perl bug tickets in previous commit
Steve Hay [Wed, 14 May 2014 16:46:40 +0000 (17:46 +0100)]
Add links for perl bug tickets in previous commit

10 years agoperldelta for #121676
Daniel Dragan [Wed, 14 May 2014 08:09:39 +0000 (04:09 -0400)]
perldelta for #121676

10 years ago[perl #121676] Fix memory leak in backticks and system
Steve Hay [Tue, 13 May 2014 11:53:10 +0000 (12:53 +0100)]
[perl #121676] Fix memory leak in backticks and system

Introduced by perl #113536. It doesn't actually leak on Windows XP due to
differences in the implementation of GetEnvironmentStringsW() compared to
later OSes, but the missing FreeEnvironmentStrings() was technically wrong
anyway, and does now bite. Thanks for Daniel Dragan for finding this.

10 years agouse skip_all; test.pl plan does not support skip_all
Gisle Aas [Wed, 14 May 2014 02:40:53 +0000 (22:40 -0400)]
use skip_all; test.pl plan does not support skip_all

10 years agoFix broken Makefile on Solaris 10.
Gisle Aas [Sun, 4 May 2014 22:09:23 +0000 (16:09 -0600)]
Fix broken Makefile on Solaris 10.

This uses sed to avoid the problem of the sh not being modern enough.

The commiter moved the sed so it appears in just one place.

10 years agoclarify SvPV documentation
David Golden [Tue, 13 May 2014 18:13:09 +0000 (14:13 -0400)]
clarify SvPV documentation

10 years agoperldelta: trim an absurd amount of trailing whitespace
Ricardo Signes [Tue, 13 May 2014 14:43:15 +0000 (10:43 -0400)]
perldelta: trim an absurd amount of trailing whitespace

10 years agoperldelta: add obituary entry for Diana Rosa
Ricardo Signes [Tue, 13 May 2014 14:29:11 +0000 (10:29 -0400)]
perldelta: add obituary entry for Diana Rosa

10 years ago[perl #121854] use re 'taint' regression
David Mitchell [Tue, 13 May 2014 13:18:06 +0000 (14:18 +0100)]
[perl #121854] use re 'taint' regression

Commit v5.19.8-533-g63baef5 changed the handling of locale-dependent
regexes so that the pattern was considered tainted at compile-time, rather
than determining it each time at run-time whenever it executed a
locale-dependent node. Unfortunately due to the conflating of two flags,
RXf_TAINTED and RXf_TAINTED_SEEN, it had the side effect of permanently
marking a pattern as tainted once it had had a single tainted result.

E.g.

    use re qw(taint);
    use Scalar::Util qw(tainted);
    for ($^X, "abc") {
        /(.*)/ or die;
        print "not " unless tainted("$1"); print "tainted\n";
    };

which from 5.19.9 onwards output:

    tainted
    tainted

but with this commit (and with 5.19.8 and earlier), it now outputs:

    tainted
    not tainted

The RXf_TAINTED flag indicates that the pattern itself is tainted, e.g.

    $r = qr/$tainted_value/

while the RXf_TAINTED_SEEN flag means that the results of the last match
are tainted, e.g.

    use re 'tainted';
    $tainted =~ /(.*)/;
    # $1 is tainted

Pre 63baef5, the code used to look like:

    at run-time:

        turn off RXf_TAINTED_SEEN;
        while (nodes to execute) {
            switch(node) {
            case
                BOUNDL: /* and other locale-specific ops */
                    turn on RXf_TAINTED_SEEN;
                    ...;
            }
        }
        if (tainted || RXf_TAINTED)
            turn on RXf_TAINTED_SEEN;

63baef5 changed it to:

    at compile-time:

        if (pattern has locale ops)
            turn on RXf_TAINTED_SEEN;

    at run-time:

        while (nodes to execute) {
            ...
        }
        if (tainted || RXf_TAINTED)
            turn on RXf_TAINTED_SEEN;

This commit changes it to:

    at compile-time;

        if (pattern has locale ops)
            turn on RXf_TAINTED;

    at run-time:

        turn off RXf_TAINTED_SEEN;
        while (nodes to execute) {
            ...
        }
        if (tainted || RXf_TAINTED)
            turn on RXf_TAINTED_SEEN;

10 years agoCorrect v5.19.12-isms in Module-CoreList
Chris 'BinGOs' Williams [Tue, 13 May 2014 09:35:01 +0000 (10:35 +0100)]
Correct v5.19.12-isms in Module-CoreList

10 years agobump the version to 5.20.0-RC0 to start on the road to release!
Ricardo Signes [Tue, 13 May 2014 02:08:53 +0000 (22:08 -0400)]
bump the version to 5.20.0-RC0 to start on the road to release!

10 years agopatchlevel: call it RC0 until RC1
Ricardo Signes [Tue, 13 May 2014 01:46:24 +0000 (21:46 -0400)]
patchlevel: call it RC0 until RC1

10 years agothere are no longer any problems in perldelta for now
Ricardo Signes [Tue, 13 May 2014 01:43:16 +0000 (21:43 -0400)]
there are no longer any problems in perldelta for now

10 years agoreplace 5.19.12 (never happening) with 5.20.0 in corelist
Ricardo Signes [Tue, 13 May 2014 01:19:32 +0000 (21:19 -0400)]
replace 5.19.12 (never happening) with 5.20.0 in corelist

10 years agoresort win32/pod.mak to please pod_rules.t
Ricardo Signes [Tue, 13 May 2014 01:13:01 +0000 (21:13 -0400)]
resort win32/pod.mak to please pod_rules.t

10 years agoadd known modules from perl520delta
Ricardo Signes [Tue, 13 May 2014 01:08:45 +0000 (21:08 -0400)]
add known modules from perl520delta

10 years agoregenerate META.json
Ricardo Signes [Tue, 13 May 2014 01:03:16 +0000 (21:03 -0400)]
regenerate META.json

10 years agoperldelta: correct busted perldiag links
Ricardo Signes [Tue, 13 May 2014 01:00:11 +0000 (21:00 -0400)]
perldelta: correct busted perldiag links

10 years agobump version to 5.20.0, install 5.20 perldelta
Ricardo Signes [Tue, 13 May 2014 00:42:06 +0000 (20:42 -0400)]
bump version to 5.20.0, install 5.20 perldelta

10 years agoperlsub: Fix too-long verbatim line length
Karl Williamson [Mon, 12 May 2014 19:03:05 +0000 (13:03 -0600)]
perlsub: Fix too-long verbatim line length

This was introduced by commit d3f8a934ef964c0f488e9c692275435d8ea2e291
which reverted earlier fixes, including this pod problem.

10 years agoperlapi: Give more accurate value for needed free space
Karl Williamson [Mon, 12 May 2014 18:42:33 +0000 (12:42 -0600)]
perlapi: Give more accurate value for needed free space

When converting to UTF-8, one usually doesn't need 14 bytes available
space, which is what previously was claimed  It acutally depends on the
value being converted.  This change gives the precise value.

10 years agoensure qw//, q'' and '' report line on a missing terminator
Tony Cook [Tue, 6 May 2014 23:33:03 +0000 (09:33 +1000)]
ensure qw//, q'' and '' report line on a missing terminator

scan_str() only sets PL_multi_end on success, but the qw, q amd '' cases
were calling the COPLINE_SET_FROM_MULTI_END; macro before reporting
failure, overwriting the line used for reporting errors.

For the simplest case, as in the ticket and the tests, PL_multi_end is
zero, so the error is reported without a line number.

10 years agoRevert "[perl #79908] Stop sub inlining from breaking closures"
Ævar Arnfjörð Bjarmason [Wed, 7 May 2014 12:09:40 +0000 (12:09 +0000)]
Revert "[perl #79908] Stop sub inlining from breaking closures"

This reverts commit 137da2b05b4b7628115049f343163bdaf2c30dbb. See the
"How about having a recommended way to add constant subs dynamically?"
thread on perl5-porters, specifically while it sucks that we have this
bug, it's been documented to work this way since 5.003 in "Constant
Functions" in perlsub:

    If the result after optimization and constant folding is either a
    constant or a lexically-scoped scalar which has no other references,
    then it will be used in place of function calls made without C<&>

    -- http://perldoc.perl.org/perlsub.html#Constant-Functions

Since we've had this documented bug for a long time we should introduce
this fix in a deprecation cycle rather than silently slowing down code
that assumes it's going to be optimized by constant folding.

I didn't revert the tests it t/op/sub.t, but turned them into TODO tests
instead.

Conflicts:
t/op/sub.t

10 years agoperlsub: Improve the "Constant Functions" documentation
Ævar Arnfjörð Bjarmason [Sat, 10 May 2014 09:26:14 +0000 (09:26 +0000)]
perlsub: Improve the "Constant Functions" documentation

Ever since perl-5.003_95-19-g5431012 which incorporated this patch:

      Title:  "Improve and update documentation of constant subs"
       From:  Tom Phoenix <rootbeer@teleport.com>
     Msg-ID:  <Pine.GSO.3.96.970331122546.14185C-100000@kelly.teleport.com>
       Date:  Mon, 31 Mar 1997 13:05:54 -0800 (PST)
      Files:  pod/perlsub.pod

We've documented that "BEGIN { my $x = 1; *X = sub () { $x } }" creates
an inlined subroutine, we just weren't doing so very explicitly. Patch
the documentation so that we now have explicit examples for the behavior
mentioned in the first paragraph of the section.

This also adds an explicit mention of the behavior reported as a bug in
[RT #79908], shows the user that you can just use B::Deparse rather than
relying on a warning to see the effects of inlining, and replaces a
contrived way to avoid inlining with just adding a "return".

While writing these docs I found a bug in the warning behavior mentioned
here, which I filed as [RT #121841]

10 years agoMerge branch 'perldelta' into blead
Ricardo Signes [Mon, 12 May 2014 14:56:58 +0000 (10:56 -0400)]
Merge branch 'perldelta' into blead

10 years agoperldelta: mention the possible doom of EBCDIC
Ricardo Signes [Sun, 11 May 2014 02:58:21 +0000 (22:58 -0400)]
perldelta: mention the possible doom of EBCDIC

10 years agoperldelta: standardize on Americanized spellings
Ricardo Signes [Sun, 11 May 2014 02:56:56 +0000 (22:56 -0400)]
perldelta: standardize on Americanized spellings

one document, one standard

10 years agoperldelta: crosslink to 5.18.0 delta for padrange
Ricardo Signes [Sun, 11 May 2014 02:55:49 +0000 (22:55 -0400)]
perldelta: crosslink to 5.18.0 delta for padrange

10 years agoperldelta: nitpicks
SHIRAKATA Kentaro [Wed, 7 May 2014 20:23:06 +0000 (05:23 +0900)]
perldelta: nitpicks

10 years agoList::Gather now has a patch upstream
Tony Cook [Thu, 8 May 2014 01:30:51 +0000 (11:30 +1000)]
List::Gather now has a patch upstream

10 years agoperl5200delta: Correct which gcc versions we add -fwrapv for
Dagfinn Ilmari Mannsåker [Wed, 7 May 2014 23:17:09 +0000 (19:17 -0400)]
perl5200delta: Correct which gcc versions we add -fwrapv for

10 years agoperldelta: Data::Clone 0.004 works correctly on blead
Tom Hukins [Wed, 7 May 2014 23:15:54 +0000 (19:15 -0400)]
perldelta: Data::Clone 0.004 works correctly on blead