10 years agoadd a log file showing the status of of bleed -> maint merges, plus
David Mitchell [Wed, 25 Feb 2009 14:46:51 +0000 (14:46 +0000)] 
add a log file showing the status of of bleed -> maint merges, plus
a tool for processinbg that file

10 years ago${^CHILD_ERROR_NATIVE} isn't mentioned in perlrun.pod, but is in
Nicholas Clark [Tue, 4 Nov 2008 08:03:04 +0000 (08:03 +0000)] 
${^CHILD_ERROR_NATIVE} isn't mentioned in perlrun.pod, but is in

p4raw-id: //depot/perl@34714

(cherry picked from commit eaade56eadfc8023c1b8527ee5dbbb191a32d4d8)

10 years agoadd chunk of ext/threads/shared/t/utf8.t that was missed from 34102
David Mitchell [Tue, 24 Feb 2009 14:37:13 +0000 (14:37 +0000)] 
add chunk of ext/threads/shared/t/utf8.t that was missed from 34102
(perforce add-and-edit bug)

10 years agoTidy up error messages
Rafael Garcia-Suarez [Tue, 26 Feb 2008 10:19:15 +0000 (10:19 +0000)] 
Tidy up error messages

(cherry-picked from commit cb7b5e07a2547873dcf5502e7f9f8f589eae0bf0)
(actually most of this merge was skipped as the code has changed
considerably since this commit)

p4raw-id: //depot/perl@33374

10 years agomerge chunk of change #33514 that was missed when integrated
David Mitchell [Sun, 22 Feb 2009 01:23:47 +0000 (01:23 +0000)] 
merge chunk of change #33514 that was missed when integrated
into maint by change #33362 (perforce add-then-edit hatefulness)

10 years agoUpdate perl5101delta.pod with merges from 12th and 14th Feb 2009
David Mitchell [Sun, 15 Feb 2009 01:47:51 +0000 (01:47 +0000)] 
Update perl5101delta.pod with merges from 12th and 14th Feb 2009

10 years agosort MANIFEST
David Mitchell [Sun, 15 Feb 2009 01:41:14 +0000 (01:41 +0000)] 

10 years agoFix new test (just added by podlators upgrade) on Win32, at least
Steve Hay [Fri, 7 Nov 2008 08:49:25 +0000 (08:49 +0000)] 
Fix new test (just added by podlators upgrade) on Win32, at least

p4raw-id: //depot/perl@34759

(cherry picked from commit 2dab2cc13c97faef9e98675f369062fe31fb47d6)

10 years agoThank you for a thank you, not thank you for a bug report.
Nicholas Clark [Tue, 16 Dec 2008 13:57:38 +0000 (13:57 +0000)] 
Thank you for a thank you, not thank you for a bug report.

p4raw-id: //depot/perl@35120

(cherry picked from commit 4dbf56a0722142a15f005769a3a0f7cc57b2c544)

10 years agoIntegrate:
Nicholas Clark [Sun, 14 Dec 2008 23:39:28 +0000 (23:39 +0000)] 
[ 35085]
Mostly update Module::CoreList to 2.17, teaching it about 5.8.9.
It can't "know" the Perforce revision of the release until it's close
enough to guess.

[ 35092]
Hopefully today.

[ 35093]
Best estimiate patch number for 5.8.9 release.
p4raw-link: @35093 on //depot/maint-5.8/perl: ad35fe93b63785a1916b39863d33eef04eee941b
p4raw-link: @35092 on //depot/maint-5.8/perl: 4ff3fe7f1e4f605bec2b89920f2d8dfe789255b5
p4raw-link: @35085 on //depot/maint-5.8/perl: 951e5eb7a3e0c2d177c8864d5b44ead4eff50dd0

p4raw-id: //depot/perl@35096
p4raw-integrated: from //depot/maint-5.8/perl@35088 'copy in'
pod/perlhist.pod (@35047..) lib/Module/ (@35085..)

(cherry picked from commit 5b5f44f3a344ad0db95bde1f3ceadf6efd9b4c7b)

10 years agoIntegrate:
Nicholas Clark [Sat, 6 Dec 2008 22:52:18 +0000 (22:52 +0000)] 
[ 35047]
Hopefully today.
p4raw-link: @35047 on //depot/maint-5.8/perl: 53c51e650b0d9ad354c33d5b89a87f0986c0087b

p4raw-id: //depot/perl@35055
p4raw-integrated: from //depot/maint-5.8/perl@35050 'copy in'
pod/perlhist.pod (@34811..)

(cherry picked from commit 7a8d7d26666fbd913d4314f03d703d9d24721cbe)

10 years agoIntegrate:
Nicholas Clark [Wed, 12 Nov 2008 09:18:13 +0000 (09:18 +0000)] 
[ 34811]
Hopefully today.
p4raw-link: @34811 on //depot/maint-5.8/perl: fe4320b5dc40bba015edd810dd349568512306ff

p4raw-id: //depot/perl@34817
p4raw-integrated: from //depot/maint-5.8/perl@34815 'copy in'
pod/perlhist.pod (@33192..)

(cherry picked from commit f9cff2501ba6b9a4be6d0e050b7b28b7334ed0b8)

10 years agoUpgrade to Win32API-File 0.1101
Steve Hay [Fri, 12 Dec 2008 17:50:55 +0000 (17:50 +0000)] 
Upgrade to Win32API-File 0.1101

(Causes a couple of "prerequisite not found" build warnings, but all
works okay otherwise)

p4raw-id: //depot/perl@35079

(cherry picked from commit 3826db83dfffbbaee62e51e9a0f052b407c24562)

10 years agoRevert "Test:More's note() not yet available in maint; fix test"
David Mitchell [Sat, 14 Feb 2009 23:42:30 +0000 (23:42 +0000)] 
Revert "Test:More's note() not yet available in maint; fix test"
This hack is no longer required now Test::Simple 0.86 has been merged

This reverts commit 6b5de51f216c2a030bbe520b9af40d1a45422a09.

10 years agoApply revision 1241 (and 1250) from the TAP::Harness SVN repo
Steve Hay [Fri, 12 Dec 2008 16:47:01 +0000 (16:47 +0000)] 
Apply revision 1241 (and 1250) from the TAP::Harness SVN repo

p4raw-id: //depot/perl@35076

(cherry picked from commit 58ff3f5e5779766d8f447ee3f0681a91d699f619)

10 years agoUpgrade to Test-Simple 0.86
Steve Hay [Fri, 12 Dec 2008 16:50:08 +0000 (16:50 +0000)] 
Upgrade to Test-Simple 0.86

Remove local changes 34491 (no longer required) and 34763 (fixed
properly by change 35076), but keep 34545 and 34762 for now (with
a VERSION bump in Test::Simple as a reminder)

p4raw-id: //depot/perl@35077

(cherry picked from commit 8f70d4fde17302052c934d2d804478a956372f9f)

10 years agoOops, change 34762 should have bumped the VERSION
Steve Hay [Fri, 7 Nov 2008 10:39:27 +0000 (10:39 +0000)] 
Oops, change 34762 should have bumped the VERSION

p4raw-id: //depot/perl@34764

(cherry picked from commit 296ff6bd3a36127bc8e501ec83a84204d61e25f3)

10 years agoTemporary (?) fix for ext/Test/Harness/t/compat/regression.t,
Steve Hay [Fri, 7 Nov 2008 10:37:51 +0000 (10:37 +0000)] 
Temporary (?) fix for ext/Test/Harness/t/compat/regression.t,
broken by Test-Simple upgrade (VERSION is already bumped by the
retention of 34491)

p4raw-id: //depot/perl@34763

(cherry picked from commit b5f955b7bee14cbb651a31c69ec1d2465df27275)

10 years agoFix test broken by Test-Simple upgrade (similar to change 33689)
Steve Hay [Fri, 7 Nov 2008 10:34:28 +0000 (10:34 +0000)] 
Fix test broken by Test-Simple upgrade (similar to change 33689)

p4raw-id: //depot/perl@34762

(cherry picked from commit eaa0815147e13cd4ab5b3d6ca8f26544a9f0c3b4)

10 years agoUpgrade to Test-Simple-0.85_01, keeping local changes 34491 and 34545
Steve Hay [Fri, 7 Nov 2008 10:32:32 +0000 (10:32 +0000)] 
Upgrade to Test-Simple-0.85_01, keeping local changes 34491 and 34545

p4raw-id: //depot/perl@34761

(cherry picked from commit 82d700dc3bcb588c96407260d728895940e2cf09)

10 years agoTest::Simple 0.81_02 has:
Nicholas Clark [Tue, 21 Oct 2008 06:49:53 +0000 (06:49 +0000)] 
Test::Simple 0.81_02 has:
  Features Changed
     - Now preserves the tests' exit code if it exits abnormally,
       rather than setting it to 255.

$! is non-zero with PERLIO=stdio in some cases, so die would have set
the exit code to $! (typically 9). Now that would show through, so
ensure $! *is* zero to make sure that the exit code is 255.

p4raw-id: //depot/perl@34545

(cherry picked from commit c76230386fc5e6fba9fdbeab473abbf4f4adcbe3)

10 years agoUpdate Changes, README and TODO from the Test-Simple 0.84 tarball.
Nicholas Clark [Tue, 21 Oct 2008 06:46:54 +0000 (06:46 +0000)] 
Update Changes, README and TODO from the Test-Simple 0.84 tarball.

p4raw-id: //depot/perl@34544

(cherry picked from commit 730397904bb9cd265e7df8807d1f18c924e223e6)

10 years agoSilence a warning in Test::Builder that was causing lib/constant.t
Steve Peters [Wed, 15 Oct 2008 19:07:38 +0000 (19:07 +0000)] 
Silence a warning in Test::Builder that was causing lib/constant.t
to fail.

p4raw-id: //depot/perl@34491

(cherry picked from commit 417991fcde447d83d1b0e1efc675badd930b3f46)

10 years agoOne final tweak for the Test-Simple-0.82 upgrade. Ugh.
Steve Peters [Wed, 15 Oct 2008 18:23:56 +0000 (18:23 +0000)] 
One final tweak for the Test-Simple-0.82 upgrade.  Ugh.

p4raw-id: //depot/perl@34490

(cherry picked from commit 50d1e3bd601d3c7762a4c20e263f40782db52148)

10 years ago*sigh* More files messed with for Test-Simple-0.82.
Steve Peters [Wed, 15 Oct 2008 14:32:01 +0000 (14:32 +0000)] 
*sigh* More files messed with for Test-Simple-0.82.

p4raw-id: //depot/perl@34488

(cherry picked from commit 87f9c3f59c3e56a72bcc46cf3cff7442b40b537c)

10 years agoMust remember to update MANIFEST, OK?
Steve Peters [Wed, 15 Oct 2008 13:38:59 +0000 (13:38 +0000)] 
Must remember to update MANIFEST, OK?

p4raw-id: //depot/perl@34485

(cherry picked from commit b47164137a61bbcfde6676be14440519ce1dfe32)

10 years agoSome additional files changes for Test-Simple-0.82
Steve Peters [Wed, 15 Oct 2008 13:20:02 +0000 (13:20 +0000)] 
Some additional files changes for Test-Simple-0.82

p4raw-id: //depot/perl@34484

(cherry picked from commit 717da8a4201bbbe7be187b87e3604a793556e80a)

10 years agoUpgrade to Test-Simple-0.82.
Steve Peters [Wed, 15 Oct 2008 13:11:04 +0000 (13:11 +0000)] 
Upgrade to Test-Simple-0.82.

p4raw-id: //depot/perl@34483

(cherry picked from commit ccbd73a450bd33362373a3a066beffb348f528a7)

10 years agoUpdate Win32 canned configs
Steve Hay [Fri, 12 Dec 2008 16:04:51 +0000 (16:04 +0000)] 
Update Win32 canned configs

Updates the config.* and config_H.* files w.r.t. 34456, 34756/34777,
34950 and 34994.

Also adds missing variables (d_ndbm, extern_C and rm_try) and removes a
redundant variable (Mcc) to/from the config.* files for completeness.

p4raw-id: //depot/perl@35075

(cherry picked from commit 955d1b3d5f9691a4c189625e767bda15f421d85b)

10 years agoSubject: Re: [PATCH] Update Archive::Extract to 0.28
Steve Hay [Fri, 19 Dec 2008 15:13:01 +0000 (15:13 +0000)] 
Subject: Re: [PATCH] Update Archive::Extract to 0.28
From: "Jos I. Boumans" <>
Date: Tue, 16 Dec 2008 17:41:03 +0100
Message-Id: <>

(Bump version to 0.30, which incorporates a local change that blead already has.)

(cherry picked from commit 14e848788c0b7d2f7f1f5656aecaafdbb8b9a857)

10 years agoFix test failures caused by Archive-Extract upgrade
Steve Hay [Mon, 15 Dec 2008 15:39:12 +0000 (15:39 +0000)] 
Fix test failures caused by Archive-Extract upgrade

p4raw-id: //depot/perl@35106

(cherry picked from commit 29c6b3372eec21075f7025af5e62bc2f94a45970)

10 years agoUpdate Archive::Extract to 0.28
Jos I. Boumans [Sat, 13 Dec 2008 17:36:13 +0000 (18:36 +0100)] 
Update Archive::Extract to 0.28
From: "Jos I. Boumans" <>
Message-Id: <>

p4raw-id: //depot/perl@35105

(cherry picked from commit 83285295780b6718141d6f5bf054a2e6da464e39)

10 years agoUpdate Archive::Tar to 1.42
Jos I. Boumans [Sat, 13 Dec 2008 18:08:13 +0000 (19:08 +0100)] 
Update Archive::Tar to 1.42
From: "Jos I. Boumans" <>
Message-Id: <>

p4raw-id: //depot/perl@35099

(cherry picked from commit 2610e7a4309c5895eb0ce025e439914ec3b3f6c3)

10 years agoUpdate Archive::Tar to 1.40
Jos I. Boumans [Mon, 13 Oct 2008 15:40:22 +0000 (17:40 +0200)] 
Update Archive::Tar to 1.40
From: "Jos I. Boumans" <>
Message-Id: <>

...minus the Pod tests that we've been regularly removing.

p4raw-id: //depot/perl@34486

(cherry picked from commit f56953582ae4af437649f099e3968dfe2c4718c9)

10 years agoFix Archive-Tar's 02_methods.t when IO::Compress::Bzip2 is absent
Steve Hay [Wed, 1 Oct 2008 16:55:42 +0000 (16:55 +0000)] 
Fix Archive-Tar's 02_methods.t when IO::Compress::Bzip2 is absent

p4raw-id: //depot/perl@34453

(cherry picked from commit 5ccadbde5117ca2083980e2ed7e909f56552e473)

10 years agoUpgrade to Archive-Tar-1.39_04
Steve Hay [Wed, 1 Oct 2008 16:53:57 +0000 (16:53 +0000)] 
Upgrade to Archive-Tar-1.39_04

Local change 32352 remains in 04_resolved_issues.t

p4raw-id: //depot/perl@34452

(cherry picked from commit 642eb38136f2ca16919538298be0521b16a2091e)

10 years agoTypo in pod/perlfunc.pod
Aaron Crane [Mon, 15 Dec 2008 11:13:17 +0000 (11:13 +0000)] 
Typo in pod/perlfunc.pod
Message-ID: <>

p4raw-id: //depot/perl@35101

(cherry picked from commit ca8d723e9504508322389fed1274da4bbaed2dfb)

10 years agoFix change 35082 by manually expanding do_open() to Perl_do_openn().
Nicholas Clark [Sun, 14 Dec 2008 09:26:00 +0000 (09:26 +0000)] 
Fix change 35082 by manually expanding do_open() to Perl_do_openn().

p4raw-id: //depot/perl@35088

(cherry picked from commit 7f8ee4bea33e6e23ac4302695a9b26db779fd38a)

10 years agoRe: [perl #60904] Race condition with perl -i.bk
Chip Salzenberg [Mon, 1 Dec 2008 15:01:12 +0000 (07:01 -0800)] 
Re: [perl #60904] Race condition with perl -i.bk
Message-ID: <>

Use mode 0600 (minus umask) for creation of the new file with -i

p4raw-id: //depot/perl@35082

(cherry picked from commit 30fc4309ed1e3ccf7d2e8d9d3401a485e1991375)

10 years agoSilence compiler warning in perlio.c
Jerry D. Hedden [Tue, 9 Dec 2008 12:09:36 +0000 (07:09 -0500)] 
Silence compiler warning in perlio.c
From: "Jerry D. Hedden" <>
Message-ID: <>

p4raw-id: //depot/perl@35073

(cherry picked from commit 94ccb8071447cc02333d411ff69ed91cc131500a)

10 years agoRe: 5.8.9 RC2 (was Re: 5.8.9 RC1)
Rainer Tammer [Mon, 15 Dec 2008 08:34:19 +0000 (09:34 +0100)] 
Re: 5.8.9 RC2 (was Re: 5.8.9 RC1)
Message-ID: <>

p4raw-id: //depot/perl@35097

(cherry picked from commit c5252117ef781e5b19e029b3fa56e46f18bd573a)

10 years agoFix #61222 (debugger doesn't understand proxy constant subroutines, or
Nicholas Clark [Tue, 9 Dec 2008 20:59:34 +0000 (20:59 +0000)] 
Fix #61222 (debugger doesn't understand proxy constant subroutines, or
as it turns out, anything else not-a-glob in a symbol table).

p4raw-id: //depot/perl@35067

(cherry picked from commit 859c7a68a0300956052bfa69d6a737b51a1891b1)

10 years agoRe: [PATCH] standardize save/restore of errno & vaxc$errno
Chip Salzenberg [Fri, 5 Dec 2008 13:32:19 +0000 (05:32 -0800)] 
Re: [PATCH] standardize save/restore of errno & vaxc$errno
Message-ID: <>

p4raw-id: //depot/perl@35059

(cherry picked from commit f1618b100c0ec32f92c22129d95b09365ef17941)

10 years agostandardize save/restore of errno & vaxc$errno
Chip Salzenberg [Wed, 26 Nov 2008 23:01:41 +0000 (15:01 -0800)] 
standardize save/restore of errno & vaxc$errno
Message-ID: <>

p4raw-id: //depot/perl@35018

(cherry picked from commit 4ee3916907333148e2c880a1f5aeba348c349925)

10 years agoblead is canonical for threads
Jerry D. Hedden [Mon, 8 Dec 2008 08:45:13 +0000 (03:45 -0500)] 
blead is canonical for threads
From: "Jerry D. Hedden" <>
Message-ID: <>

p4raw-id: //depot/perl@35058

(cherry picked from commit 4b7873d4137f21313c553e93ca4669017b65191f)

10 years agoPATCH [perl #58430] Unicode::UCD::casefold() does not work as documented,
karl williamson [Wed, 3 Dec 2008 19:51:54 +0000 (12:51 -0700)] 
PATCH [perl #58430] Unicode::UCD::casefold() does not work as documented,
Message-ID: <>

And bump version to 0.27

p4raw-id: //depot/perl@35036

(cherry picked from commit a452d459f5ff77fd7605dd9d2f58e9d44bc227cf)

10 years agoUpdate perl5101delta.pod with the result of 27/Jan/2009 cherry-picking
David Mitchell [Wed, 28 Jan 2009 01:34:02 +0000 (01:34 +0000)] 
Update perl5101delta.pod with the result of 27/Jan/2009 cherry-picking

10 years ago[patch@34995] vms.c - Memory freed from wrong pool
John E. Malmberg [Wed, 3 Dec 2008 19:38:04 +0000 (13:38 -0600)] 
[patch@34995] vms.c - Memory freed from wrong pool
From: "John E. Malmberg" <>
Message-id: <>

Need PerlMem_free, not Safefree in trim_unixpath.

p4raw-id: //depot/perl@35010

(cherry picked from commit 827f156d0538416a3c0bae2e4b818b96c831d016)

10 years agoAIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX README.aix
Rainer Tammer [Thu, 4 Dec 2008 10:32:11 +0000 (11:32 +0100)] 
AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX README.aix
Message-ID: <>

[just the hints]

p4raw-id: //depot/perl@35006

(cherry picked from commit 68224244efd7abf4d1987743235ed5035fbf9be1)

10 years agoThe gcc attribute "deprecated" seems to have been available since gcc 3.1
Rafael Garcia-Suarez [Wed, 3 Dec 2008 16:29:09 +0000 (16:29 +0000)] 
The gcc attribute "deprecated" seems to have been available since gcc 3.1

So encode this knowledge in perl.h, so we don't rely on the version of
gcc used by Configure to get the macro definition right.

p4raw-id: //depot/perl@34995

(cherry picked from commit 6a3877213b55d5920eb5e5c6dcf5a318e5bccc83)

10 years agoConfigure detection of __attribute__((deprecated))
Rafael Garcia-Suarez [Wed, 3 Dec 2008 12:51:36 +0000 (13:51 +0100)] 
Configure detection of __attribute__((deprecated))
From: "Rafael Garcia-Suarez" <>
Message-ID: <>

p4raw-id: //depot/perl@34994

(cherry-picked from commit fcdf39cfa40f83fdbf75ada879210410f127eef1)

10 years agoCodify the current behaviour of evals which define subroutines before
Nicholas Clark [Tue, 2 Dec 2008 20:16:33 +0000 (20:16 +0000)] 
Codify the current behaviour of evals which define subroutines before
failing (due to syntax errors).

p4raw-id: //depot/perl@34984

(cherry picked from commit 99d3381e871dbd1d94b47516b4475d85b3935ac6)

10 years agoThe temporary SV created in Perl_save_helem_flags() to store the key
Nicholas Clark [Mon, 1 Dec 2008 22:17:55 +0000 (22:17 +0000)] 
The temporary SV created in Perl_save_helem_flags() to store the key
can be freed immediately after it is used, as it is unrelated to
anything else. This folds SvREFCNT_dec()s on two code paths into one.

p4raw-id: //depot/perl@34973

(cherry-picked from commit fd1b367e716f9d49ad7b9ab14ec9ffbc9065e0bc)

10 years agoAnd (hopefully) the actual change for 34951. Sigh.
Craig A. Berry [Fri, 28 Nov 2008 21:43:48 +0000 (21:43 +0000)] 
And (hopefully) the actual change for 34951.  Sigh.

p4raw-id: //depot/perl@34952

(cherry picked from commit 580410d244b57f3e9f5eaecba8c5bded5becd5d0)

10 years agocould we add usedevel to config.h?
H.Merijn Brand [Fri, 28 Nov 2008 07:52:03 +0000 (07:52 +0000)] 
could we add usedevel to config.h?
From: Nicholas Clark <>
Date: Thu, 27 Nov 2008 20:28:08 +0000
Message-ID: <>

Subject: Avoid duplicate vendorlib [PATCH]
From: Gisle Aas <>
Date: Wed, 12 Nov 2008 13:50:34 +0100
Message-Id: <>

p4raw-id: //depot/perl@34950

(cherry picked from commit 1be1b388c18674b89d106c333a2dd62d9b736e29)

10 years agorun regen
David Mitchell [Tue, 27 Jan 2009 19:30:53 +0000 (19:30 +0000)] 
run regen

10 years agoNote where there is a U8 of space.
Nicholas Clark [Tue, 18 Nov 2008 21:01:24 +0000 (21:01 +0000)] 
Note where there is a U8 of space.

p4raw-id: //depot/perl@34887

(cherry picked from commit 49947b44604f4ad78042983f22bb71affe999fb9)

10 years agoRemove the trailing NUL byte, and (hopefully) convert perforce to
Nicholas Clark [Tue, 18 Nov 2008 15:10:57 +0000 (15:10 +0000)] 
Remove the trailing NUL byte, and (hopefully) convert perforce to
thinking that it is text, not binary.

p4raw-id: //depot/perl@34883

(cherry picked from commit 6f479e052512b94a76fb842505b7bc960ade1ac4)

10 years agoImprove and restructure t/op/pat.t and split out some unicode related tests into...
Abigail [Tue, 18 Nov 2008 09:29:05 +0000 (10:29 +0100)] 
Improve and restructure t/op/pat.t and split out some unicode related tests into a new test file

Subject: t/op/pat.t
Message-ID: <20081118082905.GJ3172@almanda>

With tweaks: Seems the new harness is quite picky about # signs in test names,
and doesnt like SKIP and TODO to be used together.

p4raw-id: //depot/perl@34882

(cherry picked from commit 84281c3142b669e898404773f536776423f8c11b)

10 years agoMerge just the tests; the actual fix was already merged with #33132:
Nicholas Clark [Wed, 9 Jan 2008 23:26:14 +0000 (23:26 +0000)] 
Merge just the tests; the actual fix was already merged with #33132:

Fix the bug introduced by the bug fix of change 30755.
(Certain regexps could SEGV if cloned).

p4raw-id: //depot/perl@32932

(cherry picked from commit 66b1de870892b142348d95c3a6c21c7ff7269508)

10 years agorealign t/op/pat.t with bleed
David Mitchell [Tue, 27 Jan 2009 15:27:22 +0000 (15:27 +0000)] 
realign t/op/pat.t with bleed
(out-of-order cherry-picking meant that one chunk appeared in
a different part of the filei than bleed)

10 years agoUn-TODO (and un-SKIP) tests in t/op/pat_thr.t that now pass.
Nicholas Clark [Thu, 10 Jan 2008 22:37:20 +0000 (22:37 +0000)] 
Un-TODO (and un-SKIP) tests in t/op/pat_thr.t that now pass.
Some TODOs still remain. Bounties?

p4raw-id: //depot/perl@32940

(cherry picked from commit f9077f1bb4598030c3832aa34c2f29585b65cbf7)

10 years agoMerge just the tests from a2794585f298613c6353549c1058857370acfed3:
Nicholas Clark [Thu, 27 Dec 2007 21:41:03 +0000 (21:41 +0000)] 
Merge just the tests from a2794585f298613c6353549c1058857370acfed3:

scalars used in postponed subexpressions aren't first class regexps,
so don't upgrade them to ORANGE before attaching qr magic.
(And don't stop using qr magic once regexps become first class)

p4raw-id: //depot/perl@32748

10 years agovcroak()'s pattern is actually NULLOK.
Nicholas Clark [Sun, 10 Feb 2008 17:44:34 +0000 (17:44 +0000)] 
vcroak()'s pattern is actually NULLOK.

p4raw-id: //depot/perl@33272

(cherry picked from commit f3dc127a728cf3f7200c6a1a89ee625c7781d94c)

10 years ago[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Renee Baecker [Sun, 31 Aug 2008 11:35:45 +0000 (13:35 +0200)] 
[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Message-Id: <>

p4raw-id: //depot/perl@34867

(cherry picked from commit 324f9e447b92fcae02f7f5d22ef0a619f9b08d2e)

10 years agoUpdate perl5101delta.pod with the result of 29/Jan/2009 cherry-picking
David Mitchell [Tue, 27 Jan 2009 00:10:21 +0000 (00:10 +0000)] 
Update perl5101delta.pod with the result of 29/Jan/2009 cherry-picking

10 years agoUpgrade to Attribute::Handlers 0.81
Rafael Garcia-Suarez [Mon, 17 Nov 2008 08:30:52 +0000 (08:30 +0000)] 
Upgrade to Attribute::Handlers 0.81

p4raw-id: //depot/perl@34862

(cherry picked from commit e016bc2d267abd0d94b4a9c812dff40f050ee988)

10 years agoRe: [Fwd: CPAN Upload: S/SM/SMUELLER/Attribute-Handlers-0.80.tar.gz]
Steffen Mueller [Sat, 25 Oct 2008 12:04:35 +0000 (14:04 +0200)] 
Re: [Fwd: CPAN Upload: S/SM/SMUELLER/Attribute-Handlers-0.80.tar.gz]
Message-ID: <>
Date: Sat, 25 Oct 2008 12:04:35 +0200

p4raw-id: //depot/perl@34584

(cherry picked from commit 2a59936d33162ec2fece0829dd8d17e3256e8399)

10 years agoRe: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are...
Chip Salzenberg [Sun, 16 Nov 2008 23:14:30 +0000 (15:14 -0800)] 
Re: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are detainted
Message-ID: <>

p4raw-id: //depot/perl@34860

(cherry-picked from commit ec93b65fd8c6a7ae08d0f88100de0c755ed21a94)

10 years agoSync up with Digest-MD5-2.38 from CPAN
Gisle Aas [Sun, 16 Nov 2008 20:53:15 +0000 (20:53 +0000)] 
Sync up with Digest-MD5-2.38 from CPAN

p4raw-id: //depot/perl@34854

(cherry picked from commit 47a7661deb880b9c5c3ea4517c4908096fdff41f)

10 years agoMake B::walksymtable not recurse into packages that are actually main::, but have...
Florian Ragwitz [Thu, 13 Nov 2008 21:34:12 +0000 (22:34 +0100)] 
Make B::walksymtable not recurse into packages that are actually main::, but have a different name.
Message-Id: <>

p4raw-id: //depot/perl@34845

(cherry picked from commit 7834d9fbabb6939951d14409a25b6dc04d3bd15d)

10 years agoTidy up compiler warning spotted by Jerry Hedden.
Nicholas Clark [Mon, 7 Apr 2008 17:36:41 +0000 (17:36 +0000)] 
Tidy up compiler warning spotted by Jerry Hedden.

p4raw-id: //depot/perl@33658

(cherry picked from commit d5b8ed548f9015c1729a434d337defc04597fb54)

10 years agoupdate README to point to pod/perl5100delta.pod
David Mitchell [Mon, 26 Jan 2009 22:23:51 +0000 (22:23 +0000)] 
update README to point to pod/perl5100delta.pod

10 years agoAdd a dump to help tracing taint bugs, by Chip Salzenberg
Rafael Garcia-Suarez [Sat, 15 Nov 2008 10:15:22 +0000 (10:15 +0000)] 
Add a dump to help tracing taint bugs, by Chip Salzenberg

p4raw-id: //depot/perl@34837

(cherry picked from commit 59b714e260d430f6d20c1573b9cd0f5fe0955ad8)

10 years agoForgot to include lib/ in change #34833
Steve Peters [Fri, 14 Nov 2008 19:17:13 +0000 (19:17 +0000)] 
Forgot to include lib/ in change #34833
p4raw-link: @34833 on //depot/perl: 1ad62f649328dc563f7f21be3c384f5adf18af1d

p4raw-id: //depot/perl@34836

(cherry picked from commit 89d1f0ef1b6c19fa0e51e21c93cfffe86aeb375c)

10 years ago[perl #48489] patch to fix perl bug #7013
bharanee rathna [Tue, 11 Dec 2007 15:25:21 +0000 (07:25 -0800)] 
[perl #48489] patch to fix perl bug #7013
From: "bharanee rathna" (via RT) <>
Message-ID: <>

Just the pp_hot.c portion of this patch applied along with removing
the TODO from the test added in the previous change.

p4raw-id: //depot/perl@34833

(cherry picked from commit 1ad62f649328dc563f7f21be3c384f5adf18af1d)

10 years agoAdd TODO test for :lvalue under -d.
Florian Ragwitz [Fri, 14 Nov 2008 11:24:57 +0000 (12:24 +0100)] 
Add TODO test for :lvalue under -d.
Message-Id: <>

p4raw-id: //depot/perl@34832

(cherry picked from commit 6fd69bbe2bea498b179902913d94c1f09d136b0c)

10 years agoBump ExtUtils-Install to 1.52 (because of CPAN persnickityness)
Yves Orton [Wed, 12 Nov 2008 19:47:21 +0000 (19:47 +0000)] 
Bump ExtUtils-Install to 1.52 (because of CPAN persnickityness)

CPAN these days objects to "world writable" files in CPAN tar files,
which is what you'll get if you dev on a win32 box with "normal"
permissions and do a nmake dist.

And of course thats what I was doing with ExtUtils-Install,
and so CPAN rejected 1.51. Thus I changed permissions and rereleased
and this is the equivalent change to blead. /grrr

p4raw-id: //depot/perl@34828

(cherry picked from commit df25d2ffed6470ee4093c2b22655779430fd807b)

10 years agoUpdate ExtUtils-Install to 1.51
Yves Orton [Wed, 12 Nov 2008 19:23:38 +0000 (19:23 +0000)] 
Update ExtUtils-Install to 1.51

Also adds the Changes file from ExtUtils-Install as Changes_EU-Install

p4raw-id: //depot/perl@34827

(cherry picked from commit 1d37e71175b7474f19e8a91cbbaa7e0cc6450b56)

10 years agoBring ExtUtils::Install up to date with the latest on CPAN 1.50_04 and related test...
Yves Orton [Wed, 5 Nov 2008 22:47:58 +0000 (22:47 +0000)] 
Bring ExtUtils::Install up to date with the latest on CPAN 1.50_04 and related test changes

This involves changes to shared test files used by ExtUtils::MakeMaker and ExtUtils::Install, in particular updating the core/MakeMaker version of ExtUtils/t/basic.t so that it reflects the 1.50_03 version, and then splitting it in half into and, which are then evalled (together) by basic.t. ExtUtils::Install does somethign similar but only with

This also silences an odd warning from that comes up once in a while, which I believe is to do with a deeper core failure as it occurs in code utterly unrelated to these changes.

This patch needs to be pushed upstream to the ExtUtils::MakeMaker distribution on CPAN under Schwern's supervision.

In this way it will be possible to simply copy the t/ from core into ExtUtils::Install or into ExtUtils::MakeMaker or whatever.

Includes the following changes from ExtUtils::Install:


SVN revision 41.

Restructure tests to make it easier to maintain given it is distributed in various
ways in three different packages.


SVN revision 40.

Sigh, just after i released 1.50_02 I noticed that a test modified in it will fail
under VMS. So this is a fixup release for that alone.


SVN revision 39.

Synchronize with the changes that were made in blead perl
patch #33567. VMS changes by Craig Berry. See

This was marked in the pod as 1.51 but not actually version bumped.

So I've marked it as 1.50_02 as a test release prior to putting it out
as the real 1.51

This release also restores the missing installed.t which was accidentally
missed by the MANIFEST having a duplicate entry for install.t instead.
Probably something should have warned about this, but I haven't worked out

Includes changes from Activestate/ActivePerl:

- To make installation less chatty when not under verbose mode. See

- To install HTML documentation files under builds that set $Config{installhtmldir}
(and presumably also create HTML versions of the pod -- which is quite nice actually :-)

p4raw-id: //depot/perl@34742

(cherry picked from commit 4954abf77fcbac122d63699b1b3921b4d44d4570)

10 years agoFrom change #34775, reverting perlio.c change for now. Also,
Steve Peters [Sat, 8 Nov 2008 15:51:45 +0000 (15:51 +0000)] 
From change #34775, reverting perlio.c change for now.  Also,
setting the tests to TODO.
p4raw-link: @34775 on //depot/perl: 2556f95e0f4f5e8e95c9766374614ab52edefe3d

p4raw-id: //depot/perl@34778

(cherry picked from commit 2376d97dd5675c65de55efc384814387b6c9a63f)

10 years agoRe: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
Goro Fuji [Mon, 7 Jul 2008 08:04:52 +0000 (17:04 +0900)] 
Re: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
From: "Goro Fuji" <>
Message-ID: <>

p4raw-id: //depot/perl@34775

(cherry picked from commit 2556f95e0f4f5e8e95c9766374614ab52edefe3d)

10 years ago[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
Goro Fuji [Sun, 25 May 2008 23:10:42 +0000 (16:10 -0700)] 
[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
From: "Goro Fuji" (via RT) <>
Message-ID: <>

The second part of the patch.  The first part was in change #33978.
p4raw-link: @33978 on //depot/perl: 9d97e8b8cac47626e28c79994e7ab0d5c8589515

p4raw-id: //depot/perl@34774

(cherry picked from commit 5fae6dc1d23a9b59e9fc4a976e5c42f399ad3872)

10 years agoTest:More's note() not yet available in maint; fix test
David Mitchell [Mon, 26 Jan 2009 16:07:25 +0000 (16:07 +0000)] 
Test:More's note() not yet available in maint; fix test

10 years agodiagnostic leakage in ext/PerlIO/scalar/t/scalar_ungetc.t
Michael G. Schwern [Sat, 8 Nov 2008 23:22:54 +0000 (15:22 -0800)] 
diagnostic leakage in ext/PerlIO/scalar/t/scalar_ungetc.t
Message-ID: <>

Plus converting the whole file from DOS to UNIX format
and adding a newline at the end.

p4raw-id: //depot/perl@34782

(cherry picked from commit d85e265b2ae3a60df7d1fa65504e5ad351eac3c7)

10 years agoRe: [perl #57322] perlbug AutoReply: ungetc() to :scalar might cause problems
Goro Fuji [Sun, 27 Jul 2008 14:37:45 +0000 (23:37 +0900)] 
Re: [perl #57322] perlbug AutoReply: ungetc() to :scalar might cause problems
From: "Goro Fuji" <>
Message-ID: <>

p4raw-id: //depot/perl@34773

(cherry picked from commit 3ff3a8b6a30dcb820ca4496cf2621960aa48a0c5)

10 years agoAssigning to DEFSV leaks if PL_defgv's gp_sv isn't set.
David Mitchell [Mon, 26 Jan 2009 15:29:50 +0000 (15:29 +0000)] 
Assigning to DEFSV leaks if PL_defgv's gp_sv isn't set.
As Nicholas already noted in a FIXME, assigning to DEFSV should
use GvSV instead of GvSVn. This change ensures that, at least
under -DPERL_CORE, DEFSV cannot be assigned to and introduces
a DEFSV_set macro to allow setting DEFSV.
This fixes #53038: map leaks memory.

p4raw-id: //depot/perl@34776

(cherry picked from commit 414bf5ae0886eb91e2f6dbb35893ddb012852bef
excluding the chunks from


10 years agoA small refactoring based on a comment in an old RT ticket (RT
Steve Peters [Fri, 7 Nov 2008 17:23:05 +0000 (17:23 +0000)] 
A small refactoring based on a comment in an old RT ticket (RT

p4raw-id: //depot/perl@34768

(cherry picked from commit 463559e728b65f7b60e46efa081b43ff1b4b6fa4)

10 years ago[perl #18306] This problem seems to be fixed and a small patch for B::Xref
Renee Baecker [Wed, 9 Jul 2008 15:16:50 +0000 (17:16 +0200)] 
[perl #18306] This problem seems to be fixed and a small patch for B::Xref
Message-Id: <>

p4raw-id: //depot/perl@34772

(cherry picked from commit d0da4e620e51724f93a1b86ba0ffc9e38f50abed)

10 years agoNDBM prototype config vars for following 34756.
Craig A. Berry [Sat, 8 Nov 2008 00:13:43 +0000 (00:13 +0000)] 
NDBM prototype config vars for following 34756.

p4raw-id: //depot/perl@34771

(cherry picked from commit 36ba69bed1e95a0b9cecefedffd43bfd7548404d)

10 years agoRe: [PATCH: Configure/NDBM_File] Add prototype detection for NDBM header files
Marcus Holland-Moritz [Sat, 8 Nov 2008 09:45:22 +0000 (10:45 +0100)] 
Re: [PATCH: Configure/NDBM_File] Add prototype detection for NDBM header files
Message-ID: <20081108094522.5174608b@r2d2>

p4raw-id: //depot/perl@34777

(cherry picked from commit 622e1e49fb8292c5e8f08cf673d2c3e4ef81406b)

10 years agoNDBM just isn't meant to be used with C++. So this
Marcus Holland-Moritz [Thu, 6 Nov 2008 22:16:03 +0000 (22:16 +0000)] 
NDBM just isn't meant to be used with C++. So this
change makes the intro of NDBM_File.xs even uglier,
but hopefully it also makes tests pass now.

p4raw-id: //depot/perl@34757

(cherry picked from commit 3327bb648bca3705820d35dd728f98436ea9f8aa)

10 years agoAdd prototype detection for NDBM header files
Marcus Holland-Moritz [Mon, 3 Nov 2008 22:40:11 +0000 (23:40 +0100)] 
Add prototype detection for NDBM header files
Message-ID: <20081103224011.26c223b3@r2d2>

p4raw-id: //depot/perl@34756

(cherry picked from commit e74475c7f7d5be6b248e4c69480e5336325d067b)

10 years agoBack out this change from 5.10.x:
David Mitchell [Tue, 6 Jan 2009 00:01:39 +0000 (00:01 +0000)] 
Back out this change from 5.10.x:

    32851 / b9ad30b40cf004f5ea6fd7a945a950cf873aed7b

Make Perl_pregcomp() use SvUTF8() of the pattern, rather than the flag
bit in pmflags, to decide whether the pattern is UTF-8.

originally integrated by:

    33972 / fe939a582524b0864b81d1fc531b1dbe17ad879f

Tk triggered assertion failures by directly using the RXf_UTF8 flag.
Other modules might cheat too so lets not go there...

10 years agoAdd support for testing when under
Yves Orton [Sun, 9 Nov 2008 21:02:01 +0000 (21:02 +0000)] 
Add support for testing when under

as signalled by the environment variable REAL_POSIX_CC being true.

Otherwise test are as they used to be, or TODO'ed.

p4raw-id: //depot/perl@34785

(cherry picked from commit dba1316b19169da02963765f0dd334687dc9b661)

10 years agocreate new unicode props as defined in POSIX spec (optionally use them in the regex...
Yves Orton [Fri, 7 Nov 2008 20:20:21 +0000 (20:20 +0000)] 
create new unicode props as defined in POSIX spec (optionally use them in the regex engine)

Perlbug #60156 and #49302 (and probably others) resolve down to the problem
that the definition of \s and \w and \d and the POSIX charclasses are different
for unicode strings and for non-unicode strings. This broke the character class
logic in the regex engine. The easiest fix to make the character class logic sane
again is to define new properties which do match.

This change creates new property classes that can be used instead of the
traditional ones (it does not change the previously defined ones). If the
define in regcomp.h:

is changed to 0, then the new mappings will be used. This will fix a bunch
of bugs that are reported as TODO items in the new reg_posixcc.t test file.

p4raw-id: //depot/perl@34769

(cherry picked from commit da7fcca4b8d6fb4dc88e0305bf9830bf24912ebd)

10 years agoMake sure inversion sign is shown in all anyof classes that we show in regprop
Yves Orton [Fri, 7 Nov 2008 11:45:22 +0000 (11:45 +0000)] 
Make sure inversion sign is shown in all anyof classes that we show in regprop

And refactor the code that adds the extra braces into a macro, and make it support the colorization stuff.

p4raw-id: //depot/perl@34766

(cherry picked from commit 3339dfd8efc84c7c6b921a21d306e6133e406599)

10 years agoVarious changes to regex diagnostics and testing
Yves Orton [Thu, 6 Nov 2008 18:48:28 +0000 (18:48 +0000)] 
Various changes to regex diagnostics and testing

* Make ANYOF output from regprop easier to read by adding ][ in between the unicode representation and the "ascii" one

* Make it possible to make tests in re_tests todo.

* add a todo test for a complementary character class match that should fail (perl #60156)

* Also add a comment explaining a previous commit (relating to perl #60344)

p4raw-id: //depot/perl@34755

(cherry picked from commit 24d786f4d2806834028ce32abc1769da2e945f9b)

10 years agoReolve perlbug #59328: In re's, \N{U+...} doesn't match for ... > 256
karl williamson [Wed, 5 Nov 2008 18:42:16 +0000 (11:42 -0700)] 
Reolve perlbug #59328: In re's, \N{U+...} doesn't match for ... > 256

  Subject: PATCH [perl #59328] In re's, \N{U+...} doesn't match for ... > 256
  Message-ID: <>
  Date: Wed, 05 Nov 2008 18:42:16 -0700

p4raw-id: //depot/perl@34747

(cherry picked from commit a4893424bce3ee5da2b2e8e1c256b806c74bfb50)

10 years agoResolve perl #60344: Regex lookbehind failure after an (if)then|else in perl 5.10
Yves Orton [Thu, 6 Nov 2008 10:44:13 +0000 (10:44 +0000)] 
Resolve perl #60344: Regex lookbehind failure after an (if)then|else in perl 5.10

During the de-recursivization it looks like Dave M forgot to reset the 'logical'
flag after using it, which in turn causes UNLESSM/IFTHEN when used after a LOGICAL operator to
be incorrectly intrepreted. This change resets the logical flag after each time it is stored
in ST.logical.

p4raw-id: //depot/perl@34746

(cherry picked from commit aff3edb5cf5195431c87166ebfe06c4721c5c783)