platform/upstream/perl.git
16 years agoRe: [perl #59134] Typo in File::stat man pag
Moritz Lenz [Sun, 21 Sep 2008 17:50:04 +0000 (19:50 +0200)]
Re: [perl #59134] Typo in File::stat man pag
Message-ID: <20080921154935.4916.qmail@lists.develooper.com>

p4raw-id: //depot/perl@34386

16 years agoFwd: CPAN Upload: S/SA/SAPER/constant-1.16.tar.gz
Sébastien Aperghis-Tramoni [Sun, 21 Sep 2008 16:13:36 +0000 (18:13 +0200)]
Fwd: CPAN Upload: S/SA/SAPER/constant-1.16.tar.gz
Message-Id: <5B1668F5-06FA-4104-9966-9727E880C533@free.fr>

p4raw-id: //depot/perl@34385

16 years agoImplement IO::Handle::say the same way as the builtin say().
Gisle Aas [Sat, 20 Sep 2008 18:13:37 +0000 (18:13 +0000)]
Implement IO::Handle::say the same way as the builtin say().
IO::Handle::say used to output $, before the newline.

p4raw-id: //depot/perl@34384

16 years agoAnother missing 'static' picked up by one of Merijn's smokers.
Nicholas Clark [Sat, 20 Sep 2008 16:21:00 +0000 (16:21 +0000)]
Another missing 'static' picked up by one of Merijn's smokers.

p4raw-id: //depot/perl@34383

16 years agoTwo missing 'static's, spotted by Merijn's smoker.
Nicholas Clark [Sat, 20 Sep 2008 11:38:46 +0000 (11:38 +0000)]
Two missing 'static's, spotted by Merijn's smoker.

p4raw-id: //depot/perl@34381

16 years agoKevin J. Woolley has taken over from Gozer.
Nicholas Clark [Fri, 19 Sep 2008 20:46:56 +0000 (20:46 +0000)]
Kevin J. Woolley has taken over from Gozer.

p4raw-id: //depot/perl@34380

16 years agoRE: [perl #58858] Building Perl 5.10.0 in AIX 5.3 using "-Duseshrplib" option --...
Jan Dubois [Mon, 15 Sep 2008 17:43:34 +0000 (10:43 -0700)]
RE: [perl #58858] Building Perl 5.10.0 in AIX 5.3 using "-Duseshrplib" option --> "ERROR: Undefined symbol: boot_DynaLoader"
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <043301c91795$3fe15df0$bfa419d0$@com>

p4raw-id: //depot/perl@34379

16 years agoRe: [PATCH] Revised: Improved documentation for flock() in perlfunc.pod
Paul Fenwick [Tue, 16 Sep 2008 20:32:39 +0000 (06:32 +1000)]
Re: [PATCH] Revised: Improved documentation for flock() in perlfunc.pod
Message-ID: <48CF8B47.30803@perltraining.com.au>

p4raw-id: //depot/perl@34378

16 years agoDon't reuse temp files in tests
Jerry D. Hedden [Tue, 16 Sep 2008 16:35:11 +0000 (12:35 -0400)]
Don't reuse temp files in tests
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510809161335j73312da3v90fa6ef0cb8ac7c@mail.gmail.com>
Date: Tue, 16 Sep 2008 16:35:11 -0400

p4raw-id: //depot/perl@34377

16 years ago"Upgrade" AutoSplit to 1.06.
Nicholas Clark [Tue, 16 Sep 2008 09:58:01 +0000 (09:58 +0000)]
"Upgrade" AutoSplit to 1.06.

p4raw-id: //depot/perl@34373

16 years agoSEGV in readline with $/ set to a reference, discovered by theorbtwo.
Nicholas Clark [Mon, 15 Sep 2008 22:53:27 +0000 (22:53 +0000)]
SEGV in readline with $/ set to a reference, discovered by theorbtwo.
The bug turns out to have been introduced in 2003, with change 18580.

p4raw-id: //depot/perl@34371

16 years agoBump $ExtUtils::Constant::Utils::VERSION.
Nicholas Clark [Mon, 15 Sep 2008 21:55:51 +0000 (21:55 +0000)]
Bump $ExtUtils::Constant::Utils::VERSION.

p4raw-id: //depot/perl@34370

16 years agoBump $O::VERSION, to reflect change 32626, a doc change that is the only
Nicholas Clark [Mon, 15 Sep 2008 19:28:39 +0000 (19:28 +0000)]
Bump $O::VERSION, to reflect change 32626, a doc change that is the only
change to O.pm since 2001.

p4raw-id: //depot/perl@34369

16 years agoBump VERSIONs in all non-dual-lived modules that have changed
Steve Hay [Mon, 15 Sep 2008 17:01:08 +0000 (17:01 +0000)]
Bump VERSIONs in all non-dual-lived modules that have changed
since 5.8.8, ready for merging into maint-5.8 prior to 5.8.9.
(Many (all?) of these should really have been changed prior to
5.10.0, but better late than never.)

Also modify cmpVERSION.pl to skip uninstalled test modules whose
VERSIONs don't really matter.

p4raw-id: //depot/perl@34365

16 years agoUpgrade to podlators 2.1.3
Nicholas Clark [Mon, 15 Sep 2008 10:56:23 +0000 (10:56 +0000)]
Upgrade to podlators 2.1.3

p4raw-id: //depot/perl@34364

16 years agoAdd probes for LOCALTIME_max and LOCALTIME_min (y2038 project)
H.Merijn Brand [Mon, 15 Sep 2008 08:22:14 +0000 (08:22 +0000)]
Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)

p4raw-id: //depot/perl@34363

16 years agoThe program spawned from process.t needs to set up @INC correctly, as
Nicholas Clark [Sun, 14 Sep 2008 21:27:42 +0000 (21:27 +0000)]
The program spawned from process.t needs to set up @INC correctly, as
process.t does not add an -I../lib for core.

p4raw-id: //depot/perl@34361

16 years agoUpgrade to Test::Harness 3.14
Nicholas Clark [Sat, 13 Sep 2008 15:25:35 +0000 (15:25 +0000)]
Upgrade to Test::Harness 3.14

p4raw-id: //depot/perl@34359

16 years agoRe: [5.8] Change 33727 (op.c) breaks constant folding in "elsif"
Vincent Pit [Sat, 13 Sep 2008 01:13:30 +0000 (03:13 +0200)]
Re: [5.8] Change 33727 (op.c) breaks constant folding in "elsif"
Message-ID: <48CAF79A.6000001@profvince.com>

p4raw-id: //depot/perl@34358

16 years agoIn S_mro_get_linear_isa_dfs(), add void casts to silence two warnings
Nicholas Clark [Fri, 12 Sep 2008 21:02:55 +0000 (21:02 +0000)]
In S_mro_get_linear_isa_dfs(), add void casts to silence two warnings
about "value computed is not used". Re-order the code to group
operations on the isa hash with each other. Add a SvREADONLY_on() on
the isa array if it is generated by Perl_get_isa_hash().

p4raw-id: //depot/perl@34357

16 years agoBuild the isa cache from any linear ISA, rather than forcing the use
Nicholas Clark [Fri, 12 Sep 2008 09:25:55 +0000 (09:25 +0000)]
Build the isa cache from any linear ISA, rather than forcing the use
of dfs. This avoids calling dfs on a C3 class (and all its parents),
which won't break anything, but is more work than is needed.

p4raw-id: //depot/perl@34356

16 years agoNeed to free the isa lookup hash before rebuilding it.
Nicholas Clark [Fri, 12 Sep 2008 08:52:50 +0000 (08:52 +0000)]
Need to free the isa lookup hash before rebuilding it.

p4raw-id: //depot/perl@34355

16 years agoCreate a direct lookup hash for ->isa() lookup, by retaining the
Nicholas Clark [Fri, 12 Sep 2008 00:19:51 +0000 (00:19 +0000)]
Create a direct lookup hash for ->isa() lookup, by retaining the
de-duping hash used by S_mro_get_linear_isa_dfs(). Provide a new
function Perl_get_isa_hash() to lazily retrieve this. (Which could
actually be static if S_isa_lookup() and Perl_sv_derived_from()
moved into mro.c.) Make S_isa_lookup() use this lookup hash in place
of a linear walk of the linear isa. This should turn isa lookups from
O(n) to O(1), which should make heavy users of ->isa() faster.
(eg PPI, and hence Perl Critic).

p4raw-id: //depot/perl@34354

16 years agoAbolish the warning "Can't locate package %"SVf" for the parents of %s"
Nicholas Clark [Thu, 11 Sep 2008 22:11:32 +0000 (22:11 +0000)]
Abolish the warning "Can't locate package %"SVf" for the parents of %s"
which doesn't tell you anything you won't discover soon enough when you
try to call a method. (Or haven't already been warned about when @ISA
was linearised)

p4raw-id: //depot/perl@34353

16 years agoAs stash can't be NULL, no need to check name_stash is not NULL before
Nicholas Clark [Thu, 11 Sep 2008 21:46:28 +0000 (21:46 +0000)]
As stash can't be NULL, no need to check name_stash is not NULL before
comparing the two, as a NULL == NULL comparison can't happen.

p4raw-id: //depot/perl@34352

16 years agoThe stash argument to S_isa_lookup() actually never is NULL.
Nicholas Clark [Thu, 11 Sep 2008 21:27:43 +0000 (21:27 +0000)]
The stash argument to S_isa_lookup() actually never is NULL.

p4raw-id: //depot/perl@34351

16 years agoUse 1 line of code in place of 6 in Perl_sv_derived_from().
Nicholas Clark [Thu, 11 Sep 2008 21:27:07 +0000 (21:27 +0000)]
Use 1 line of code in place of 6 in Perl_sv_derived_from().

p4raw-id: //depot/perl@34350

16 years agoS_isa_lookup() no longer recurses (as of Brandon's MRO changes), so we
Nicholas Clark [Thu, 11 Sep 2008 21:12:51 +0000 (21:12 +0000)]
S_isa_lookup() no longer recurses (as of Brandon's MRO changes), so we
don't need to pass in name_stash as a parameter.

p4raw-id: //depot/perl@34349

16 years agoSkip another file in the VERSION comparison program
Steve Hay [Thu, 11 Sep 2008 16:50:06 +0000 (16:50 +0000)]
Skip another file in the VERSION comparison program

p4raw-id: //depot/perl@34348

16 years agoRe: blead with -Dusemymalloc fails on t/comp/hints.t
Vincent Pit [Wed, 10 Sep 2008 22:59:14 +0000 (00:59 +0200)]
Re: blead with -Dusemymalloc fails on t/comp/hints.t
Message-ID: <48C83522.9010804@profvince.com>

p4raw-id: //depot/perl@34338

16 years agoWatchdog re-queue
Jerry D. Hedden [Tue, 9 Sep 2008 09:54:41 +0000 (05:54 -0400)]
Watchdog re-queue
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510809090654v2de48f1r37499d573f452cdb@mail.gmail.com>
Date: Tue, 9 Sep 2008 09:54:41 -0400

p4raw-id: //depot/perl@34337

16 years agoCorrect Audrey's name in traditional and simplified Chinese (with a lot
Nicholas Clark [Wed, 10 Sep 2008 15:53:22 +0000 (15:53 +0000)]
Correct Audrey's name in traditional and simplified Chinese (with a lot
of help from CL).

p4raw-id: //depot/perl@34334

16 years agoUpdate Changes.
Nicholas Clark [Wed, 10 Sep 2008 09:16:06 +0000 (09:16 +0000)]
Update Changes.

p4raw-id: //depot/perl@34330

16 years agoSuck in r1147 from TH3's svn:
Nicholas Clark [Tue, 9 Sep 2008 17:36:41 +0000 (17:36 +0000)]
Suck in r1147 from TH3's svn:
Make test work if HARNESS_TIMER=1. Thanks Petdance.

p4raw-id: //depot/perl@34329

16 years agoFix parallel testing temp filenames
Jerry D. Hedden [Tue, 9 Sep 2008 11:52:45 +0000 (07:52 -0400)]
Fix parallel testing temp filenames
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510809090852radb1044k43ff848c2d1e11fa@mail.gmail.com>
Date: Tue, 9 Sep 2008 11:52:45 -0400

p4raw-id: //depot/perl@34328

16 years agoUpdate AUTHORS
Steve Hay [Tue, 9 Sep 2008 14:26:18 +0000 (14:26 +0000)]
Update AUTHORS

p4raw-id: //depot/perl@34324

16 years agoRe: 'if not / unless' optimization change makes my pow test go POW!
Vincent Pit [Mon, 8 Sep 2008 22:10:34 +0000 (00:10 +0200)]
Re: 'if not / unless' optimization change makes my pow test go POW!
Message-ID: <48C586BA.4050603@profvince.com>
Date: Mon, 08 Sep 2008 22:10:34 +0200

p4raw-id: //depot/perl@34322

16 years agoCross-propagate changes between make_ext and make_ext_cross.
Nicholas Clark [Mon, 8 Sep 2008 20:16:02 +0000 (20:16 +0000)]
Cross-propagate changes between make_ext and make_ext_cross.
Hopefully we can heal the code fork soon.

p4raw-id: //depot/perl@34321

16 years agoUpgrade to CGI.pm 3.42
Nicholas Clark [Mon, 8 Sep 2008 19:13:28 +0000 (19:13 +0000)]
Upgrade to CGI.pm 3.42

p4raw-id: //depot/perl@34320

16 years agoRe-instate all the warnings checks that don't work on Win32, but with
Nicholas Clark [Mon, 8 Sep 2008 12:35:46 +0000 (12:35 +0000)]
Re-instate all the warnings checks that don't work on Win32, but with
a SKIP that triggers on Win32. (So that they get tested elsewhere)

p4raw-id: //depot/perl@34319

16 years agoUpdate gellyfish's e-mail.
Nicholas Clark [Mon, 8 Sep 2008 09:40:47 +0000 (09:40 +0000)]
Update gellyfish's e-mail.

p4raw-id: //depot/perl@34318

16 years ago- crosscompilation - step 1 of N+1
Vadim Konovalov [Mon, 8 Sep 2008 07:04:09 +0000 (11:04 +0400)]
- crosscompilation - step 1 of N+1
Message-ID: <48C49629.4000208@vkonovalov.ru>

p4raw-id: //depot/perl@34317

16 years agoMake sure the watchdog requeues itself when sleep() wakes up early
Craig A. Berry [Mon, 8 Sep 2008 02:41:04 +0000 (02:41 +0000)]
Make sure the watchdog requeues itself when sleep() wakes up early
(such as when an alarm fires).  Also, bail out with SIGTERM rather
than SIGKILL on VMS since the latter kills the shell from which
Perl was started.

p4raw-id: //depot/perl@34316

16 years agoMake sure temp file has an extension on VMS to work with the new
Craig A. Berry [Mon, 8 Sep 2008 02:30:50 +0000 (02:30 +0000)]
Make sure temp file has an extension on VMS to work with the new
temp file name generator in t/test.pl

p4raw-id: //depot/perl@34315

16 years ago$ENV{TEST_JOBS} vs $ENV{HARNESS_OPTIONS}
Bram [Tue, 12 Aug 2008 20:50:47 +0000 (22:50 +0200)]
$ENV{TEST_JOBS}  vs  $ENV{HARNESS_OPTIONS}
Message-ID: <20080812205047.05lrnmbqlccs08g8@horde.wizbit.be>

p4raw-id: //depot/perl@34314

16 years ago[perl #57016] debugger: o warn=0 die=0 ignored
Tye McQueen [Wed, 16 Jul 2008 13:02:27 +0000 (06:02 -0700)]
[perl #57016] debugger: o warn=0 die=0 ignored
From: "Tye McQueen" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-9960-1216238547-448.57016-75-0@perl.org>

p4raw-id: //depot/perl@34312

16 years ago[DOC PATCH] av.c - clearify that av_shift returns &PL_sv_undef if array is empty
Claes Jacobsson [Sat, 9 Aug 2008 11:22:18 +0000 (13:22 +0200)]
[DOC PATCH] av.c - clearify that av_shift returns &PL_sv_undef if array is empty
Message-Id: <0726E7A8-C29F-409C-81E6-B464EE6A3DDD@surfar.nu>

p4raw-id: //depot/perl@34311

16 years agoRe: unless(...) terser than if(!...)
Vincent Pit [Fri, 29 Aug 2008 22:47:28 +0000 (00:47 +0200)]
Re: unless(...) terser than if(!...)
Message-ID: <48B86060.4090905@profvince.com>

p4raw-id: //depot/perl@34310

16 years agoFix mismatched #if/#endif in Win64 configuration.
Jan Dubois [Sun, 7 Sep 2008 13:23:19 +0000 (06:23 -0700)]
Fix mismatched #if/#endif in Win64 configuration.
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <002c01c91127$9149a810$b3dcf830$@com>

p4raw-id: //depot/perl@34309

16 years agoSplit all the tests for ops that can return undef for defined args
Nicholas Clark [Sun, 7 Sep 2008 20:03:41 +0000 (20:03 +0000)]
Split all the tests for ops that can return undef for defined args
into separate tests to diagnose the cause of daily build smoke.

p4raw-id: //depot/perl@34308

16 years agoFix an inconsistency spotted by David Landgren. (Although this is not
Nicholas Clark [Sun, 7 Sep 2008 14:11:40 +0000 (14:11 +0000)]
Fix an inconsistency spotted by David Landgren. (Although this is not
his proffered patch)

p4raw-id: //depot/perl@34307

16 years agoTwo missed s/Autrijus/Audrey/g
Nicholas Clark [Sun, 7 Sep 2008 12:10:48 +0000 (12:10 +0000)]
Two missed s/Autrijus/Audrey/g

p4raw-id: //depot/perl@34306

16 years agoUpgrade to ExtUtils::CBuilder 0.24
Nicholas Clark [Sun, 7 Sep 2008 10:56:19 +0000 (10:56 +0000)]
Upgrade to ExtUtils::CBuilder 0.24
Local change 34219 remains.

p4raw-id: //depot/perl@34303

16 years agoUpgrade to CGI.pm 3.41
Nicholas Clark [Sun, 7 Sep 2008 08:46:13 +0000 (08:46 +0000)]
Upgrade to CGI.pm 3.41
Local change 34208, 34278 remain.

p4raw-id: //depot/perl@34302

16 years agobugfix, AutoLoader 0.67
Steffen Mueller [Fri, 5 Sep 2008 13:56:01 +0000 (15:56 +0200)]
bugfix, AutoLoader 0.67
Message-ID: <20080905115602.23307.qmail@lists.develooper.com>
Date: Fri, 05 Sep 2008 13:56:01 +0200

p4raw-id: //depot/perl@34282

16 years agoFix a couple of failing CGI.pm tests on Win32
Steve Hay [Fri, 5 Sep 2008 17:26:44 +0000 (17:26 +0000)]
Fix a couple of failing CGI.pm tests on Win32

(My temporary directory is C:\DOCUME~1\shay\LOCALS~1\Temp, so we need
to allow ~ characters.)

p4raw-id: //depot/perl@34278

16 years agoAdd missing "a" to binmode documentation in perlfunc.pod
Matt Kraai [Thu, 4 Sep 2008 21:16:54 +0000 (14:16 -0700)]
Add missing "a" to binmode documentation in perlfunc.pod
Message-ID: <20080905041654.GA4380@ftbfs.org>

p4raw-id: //depot/perl@34272

16 years agoRe: Change 34166: Small typo fix
Paul Johnson [Thu, 31 Jul 2008 18:45:10 +0000 (20:45 +0200)]
Re: Change 34166: Small typo fix
Message-ID: <20080731164510.GH15114@pjcj.net>
Date: Thu, 31 Jul 2008 18:45:10 +0200

p4raw-id: //depot/perl@34258

16 years agoReflect local modifications to dual life modules in changes 34219 and
Nicholas Clark [Wed, 3 Sep 2008 19:07:36 +0000 (19:07 +0000)]
Reflect local modifications to dual life modules in changes 34219 and
34238.

p4raw-id: //depot/perl@34252

16 years agoAdd the URL for annotated svn of S03.
Nicholas Clark [Tue, 2 Sep 2008 17:13:22 +0000 (17:13 +0000)]
Add the URL for annotated svn of S03.

p4raw-id: //depot/perl@34243

16 years agoTweaks and reflowing for the cc/linker split.
Nicholas Clark [Tue, 2 Sep 2008 15:27:08 +0000 (15:27 +0000)]
Tweaks and reflowing for the cc/linker split.

p4raw-id: //depot/perl@34242

16 years agoThe tasks needed to get smart match fixing underway for 5.10.1
Nicholas Clark [Tue, 2 Sep 2008 15:18:57 +0000 (15:18 +0000)]
The tasks needed to get smart match fixing underway for 5.10.1

p4raw-id: //depot/perl@34241

16 years agoNote the task TODO of splitting the linker from the compiler.
Nicholas Clark [Tue, 2 Sep 2008 14:16:13 +0000 (14:16 +0000)]
Note the task TODO of splitting the linker from the compiler.

p4raw-id: //depot/perl@34240

16 years agoclear docs on exists wrt autovivification
Moritz Lenz [Tue, 26 Aug 2008 11:23:00 +0000 (11:23 +0000)]
clear docs on exists wrt autovivification
Date: August 26, 2008 11:23

p4raw-id: //depot/perl@34239

16 years agoFix typo.
Abhijit Menon-Sen [Mon, 1 Sep 2008 12:59:06 +0000 (12:59 +0000)]
Fix typo.

p4raw-id: //depot/perl@34238

16 years ago[PATCH] Perl TODO related to threads::shared done
Jerry D. Hedden [Wed, 27 Aug 2008 14:49:55 +0000 (10:49 -0400)]
[PATCH] Perl TODO related to threads::shared done
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510808271149n28fdd43dg2acd71355e959366@mail.gmail.com>
Date: Wed, 27 Aug 2008 14:49:55 -0400

Message-ID: <1ff86f510808280540i5aa077adk55a1e64336866458@mail.gmail.com>

Subject: [PATCH] perltodo.pod cleanup for nonxs installation
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Date: Thu, 28 Aug 2008 08:40:15 -0400
Message-ID: <1ff86f510808280540i5aa077adk55a1e64336866458@mail.gmail.com>

p4raw-id: //depot/perl@34237

16 years agoArchitecture-Independent Non-XS extenstions
Jerry D. Hedden [Thu, 28 Aug 2008 08:30:38 +0000 (04:30 -0400)]
Architecture-Independent Non-XS extenstions
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510808280530ue0e3140q7e4ce71d5f395cc9@mail.gmail.com>
Date: Thu, 28 Aug 2008 08:30:38 -0400

p4raw-id: //depot/perl@34236

16 years agoSilence warnings when -destdir isn't set.
Nicholas Clark [Sat, 30 Aug 2008 14:32:36 +0000 (14:32 +0000)]
Silence warnings when -destdir isn't set.

p4raw-id: //depot/perl@34235

16 years agoFix #30660: Repeated spaces on shebang line stops option parsing
Nicholas Clark [Thu, 28 Aug 2008 13:11:44 +0000 (13:11 +0000)]
Fix #30660: Repeated spaces on shebang line stops option parsing
From a patch and test sent by Renée Bäcker in
<48B271A3.80808@smart-websolutions.de>

p4raw-id: //depot/perl@34234

16 years agoNo, third time not lucky. Remove the extraneous leading - sign.
Nicholas Clark [Tue, 26 Aug 2008 14:31:07 +0000 (14:31 +0000)]
No, third time not lucky. Remove the extraneous leading - sign.

p4raw-id: //depot/perl@34233

16 years agoAnd then change 34231 removed the other t/lib/Dev/Null.pm from the
Nicholas Clark [Tue, 26 Aug 2008 14:28:14 +0000 (14:28 +0000)]
And then change 34231 removed the other t/lib/Dev/Null.pm from the
MANIFEST, when it too needs to stay. Third time lucky?

p4raw-id: //depot/perl@34232

16 years agoKhaaaaan! Change 34230 wasn't right. The tests all passed because I
Nicholas Clark [Tue, 26 Aug 2008 14:12:49 +0000 (14:12 +0000)]
Khaaaaan! Change 34230 wasn't right. The tests all passed because I
had a(nother) copy of Dev::Null in the "right" place. So make that
right place official.

p4raw-id: //depot/perl@34231

16 years agoAnd then add the Dev::Null from Test-Simple-0.80
Nicholas Clark [Tue, 26 Aug 2008 13:49:24 +0000 (13:49 +0000)]
And then add the Dev::Null from Test-Simple-0.80

p4raw-id: //depot/perl@34230

16 years agoMove all of Test::Harness's test modules into ext/Test/Harness/t/lib
Nicholas Clark [Tue, 26 Aug 2008 13:29:49 +0000 (13:29 +0000)]
Move all of Test::Harness's test modules into ext/Test/Harness/t/lib

p4raw-id: //depot/perl@34229

16 years agoFix new test added by #34198, which failed on Win32
Steve Hay [Tue, 26 Aug 2008 13:29:08 +0000 (13:29 +0000)]
Fix new test added by #34198, which failed on Win32

p4raw-id: //depot/perl@34228

16 years agoMove t/lib/{data,sample-tests,source_tests,subclass_tests} into
Nicholas Clark [Tue, 26 Aug 2008 10:51:53 +0000 (10:51 +0000)]
Move t/lib/{data,sample-tests,source_tests,subclass_tests} into
ext/Test/Harness/t/{data,sample-tests,source_tests,subclass_tests}
(The same path as in the Test-Harness distribution.)

p4raw-id: //depot/perl@34227

16 years agoAdd cygperl*.dll to packlist
Jerry D. Hedden [Mon, 25 Aug 2008 10:47:24 +0000 (06:47 -0400)]
Add cygperl*.dll to packlist
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510808250747s1e0c42demb2d4ac8dc5d33925@mail.gmail.com>

p4raw-id: //depot/perl@34226

16 years agoSafer environ iteration
Milosz Tanski [Tue, 5 Aug 2008 18:33:02 +0000 (14:33 -0400)]
Safer environ iteration
From: "Milosz Tanski" <mtanski@gridapp.com>
Message-ID: <C0A5E31718FC064A91E9FD7BE2F081B1018A21D7@exchange.gridapp.com>

p4raw-id: //depot/perl@34225

16 years agoUnintented interpolation of $/ in regex (was: Re: [perl
Bram [Thu, 24 Jul 2008 18:14:27 +0000 (20:14 +0200)]
Unintented interpolation of $/ in regex (was: Re: [perl
Message-ID: <20080724181427.aiml4sdvr40k4coc@horde.wizbit.be>

Note that the Subject: has a typo - it should be $\

This adds a new warning.
I moved the tests from the original patch to t/lib/warnings/toke.

p4raw-id: //depot/perl@34224

16 years agoRe: [perl #58218] backwards logic in perluniintro (5.10.0)
Dr.Ruud [Sat, 23 Aug 2008 10:07:45 +0000 (12:07 +0200)]
Re: [perl #58218] backwards logic in perluniintro (5.10.0)
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Message-ID: <20080823081032.32162.qmail@lists.develooper.com>

p4raw-id: //depot/perl@34223

16 years agoPatch by Tod Hagan to document the 2nd argument of reval() in Safe.pm
Rafael Garcia-Suarez [Sun, 24 Aug 2008 14:13:52 +0000 (14:13 +0000)]
Patch by Tod Hagan to document the 2nd argument of reval() in Safe.pm

p4raw-id: //depot/perl@34222

16 years ago[perl #57646] Weird non-equivalence between $::{'a'} = sub {} and *::a = sub {}
Bram [Wed, 6 Aug 2008 01:24:22 +0000 (18:24 -0700)]
[perl #57646] Weird non-equivalence between $::{'a'} = sub {} and *::a = sub {}
From: "Bram via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-29759-1218011060-645.57646-15-0@perl.org>

p4raw-id: //depot/perl@34221

16 years agoDon't add freed SVF_BREAK scalars to the freed list.
Dave Mitchell [Sun, 24 Aug 2008 12:16:28 +0000 (12:16 +0000)]
Don't add freed SVF_BREAK scalars to the freed list.
This may still be referenced, so don't reuse.

p4raw-id: //depot/perl@34220

16 years agoRe: Fix 34200 on Cygwin
Reini Urban [Sun, 24 Aug 2008 10:47:23 +0000 (12:47 +0200)]
Re: Fix 34200 on Cygwin
Message-ID: <48B1201B.3080705@x-ray.at>

p4raw-id: //depot/perl@34219

16 years agoCygwin build harmonization, remove cygwin/Makefile.SHs
Reini Urban [Mon, 28 Jul 2008 12:55:40 +0000 (14:55 +0200)]
Cygwin build harmonization, remove cygwin/Makefile.SHs
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60807280355g129511d9v61c9763c3fd12a27@mail.gmail.com>

p4raw-id: //depot/perl@34218

16 years agoNo, I didn't mean to commit the version *with* the abort(). It was
Nicholas Clark [Fri, 22 Aug 2008 14:49:49 +0000 (14:49 +0000)]
No, I didn't mean to commit the version *with* the abort(). It was
meant to be removed once I'd proved it by running the tests without
aborting. Oops. use more 'coffee';

p4raw-id: //depot/perl@34217

16 years agoNote that we have no test coverage for this particular warning.
Nicholas Clark [Fri, 22 Aug 2008 09:13:30 +0000 (09:13 +0000)]
Note that we have no test coverage for this particular warning.

p4raw-id: //depot/perl@34216

16 years agoIn S_mro_get_linear_isa_dfs(), save copying by making a shared hash
Nicholas Clark [Fri, 22 Aug 2008 07:00:17 +0000 (07:00 +0000)]
In S_mro_get_linear_isa_dfs(), save copying by making a shared hash
key scalar from the key of the hash entry we've just creating.
(Currently the hash is disposed of afterwards, but soon it won't, so
having both point to the same string buffer will also save memory.)

p4raw-id: //depot/perl@34215

16 years agoIn S_mro_get_linear_isa_dfs(), hv_exists_ent() followed by an optional
Nicholas Clark [Fri, 22 Aug 2008 06:10:31 +0000 (06:10 +0000)]
In S_mro_get_linear_isa_dfs(), hv_exists_ent() followed by an optional
hv_store_ent() can be replaced with an lvalue fetch.

p4raw-id: //depot/perl@34214

16 years agoChange 33807 to fix bug #52740 wasn't quite right, as it ended up with
Nicholas Clark [Thu, 21 Aug 2008 21:47:14 +0000 (21:47 +0000)]
Change 33807 to fix bug #52740 wasn't quite right, as it ended up with
unitialised reads (and sometimes even SEGVs).

p4raw-id: //depot/perl@34213

16 years agoIf I want to build Devel::NYTProf under the core tree, then the
Nicholas Clark [Thu, 21 Aug 2008 10:11:07 +0000 (10:11 +0000)]
If I want to build Devel::NYTProf under the core tree, then the
Makefile needs to know to build List::Util first.

p4raw-id: //depot/perl@34212

16 years agobetter document how the weakref backrefs array is refcounted
Dave Mitchell [Thu, 21 Aug 2008 00:02:57 +0000 (00:02 +0000)]
better document how the weakref backrefs array is refcounted

p4raw-id: //depot/perl@34211

16 years agoAssert that backreferences array is not freed rather than handling it
Dave Mitchell [Wed, 20 Aug 2008 23:43:01 +0000 (23:43 +0000)]
Assert that backreferences array is not freed rather than handling it

In several places where the weakrefs backreferences array is used
or freed, the code checks whether the array has already been freed
and if so skips. Since the array already being freed is a bad bug,
lets instead assert that this never happens, based on the
assumptions that (a) such premature freeing bugs are likely ironed
out by now, (b) if they aren't then we want to know about them and
fix them rather than silently skip.

p4raw-id: //depot/perl@34210

16 years ago[perl #56908] DBI memory leak in 5.10.0 due to change 26530
Dave Mitchell [Wed, 20 Aug 2008 23:15:36 +0000 (23:15 +0000)]
[perl #56908] DBI memory leak in 5.10.0 due to change 26530

A weakref to a HV would leak, because the xhv_backreferences
array is created with a refcount of 2 (to avoid premature freeing
during global destruction), but the RC was only decremented once
when the parent HV was freed.
Also, when thread cloned, the new array was being created with a
RC of 1, rather than 2, which coincidentally worked due to the
first bug.

p4raw-id: //depot/perl@34209

16 years agoRe: Re: [perl #30524] [PATCH] CGI.pm has poor list of temp directories on Windows
Renee Baecker [Wed, 20 Aug 2008 11:26:02 +0000 (13:26 +0200)]
Re: Re: [perl #30524] [PATCH] CGI.pm has poor list of temp directories on Windows
Message-Id: <20080820092602.A87A612001D@rserv16.sitepush.net>

p4raw-id: //depot/perl@34208

16 years agoChange 34206 forgot to update Maintainers.pl to reflect the
Nicholas Clark [Tue, 19 Aug 2008 19:16:43 +0000 (19:16 +0000)]
Change 34206 forgot to update Maintainers.pl to reflect the
files.

p4raw-id: //depot/perl@34207

16 years agoMove the modules, tests, prove and Changes file from lib/ to
Nicholas Clark [Tue, 19 Aug 2008 18:09:00 +0000 (18:09 +0000)]
Move the modules, tests, prove and Changes file from lib/ to
ext/Test/Harness. Not everything is there yet, but it makes it way
easier to swap the directory out and replace it with a trunk svn
checkout.

p4raw-id: //depot/perl@34206

16 years agoRe: Change 34184: Convert all unimaginative (ie race condition) temporary file names to
Bram [Tue, 12 Aug 2008 19:05:00 +0000 (21:05 +0200)]
Re: Change 34184: Convert all unimaginative (ie race condition) temporary file names to
Message-ID: <20080812190500.3ns5yf7ibocgo0w0@horde.wizbit.be>

(Change 34184 missed one Comp.try in the MSWin32 case, which caused this
test to fail on Win32)

p4raw-id: //depot/perl@34205

16 years agoSkip the Perl debugger test if the harness itself is already running
Nicholas Clark [Sun, 17 Aug 2008 16:53:04 +0000 (16:53 +0000)]
Skip the Perl debugger test if the harness itself is already running
under some kind of debugger (such as a profiler) to avoid confusing
things. (such as trashing the profiler output file from the harness.)

p4raw-id: //depot/perl@34204

16 years agoVMS-specific follow-up to tempfile name changes in 34182, plus
Craig A. Berry [Wed, 13 Aug 2008 03:10:16 +0000 (03:10 +0000)]
VMS-specific follow-up to tempfile name changes in 34182, plus
a TODO in dup.t that's long since to-done.

p4raw-id: //depot/perl@34203