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

p4raw-id: //depot/perl@34225

15 years agoUnintented interpolation of $/ in regex (was: Re: [perl
Bram [Thu, 24 Jul 2008 18:14:27 +0000]
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

15 years agoRe: [perl #58218] backwards logic in perluniintro (5.10.0)
Dr.Ruud [Sat, 23 Aug 2008 10:07:45 +0000]
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

15 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]
Patch by Tod Hagan to document the 2nd argument of reval() in Safe.pm

p4raw-id: //depot/perl@34222

15 years ago[perl #57646] Weird non-equivalence between $::{'a'} = sub {} and *::a = sub {}
Bram [Wed, 6 Aug 2008 01:24:22 +0000]
[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

15 years agoDon't add freed SVF_BREAK scalars to the freed list.
Dave Mitchell [Sun, 24 Aug 2008 12:16:28 +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

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

p4raw-id: //depot/perl@34219

15 years agoCygwin build harmonization, remove cygwin/Makefile.SHs
Reini Urban [Mon, 28 Jul 2008 12:55:40 +0000]
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

15 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]
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

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

p4raw-id: //depot/perl@34216

15 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]
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

15 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]
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

15 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]
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

15 years agoIf I want to build Devel::NYTProf under the core tree, then the
Nicholas Clark [Thu, 21 Aug 2008 10:11:07 +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

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

p4raw-id: //depot/perl@34211

15 years agoAssert that backreferences array is not freed rather than handling it
Dave Mitchell [Wed, 20 Aug 2008 23:43:01 +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

15 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]
[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

15 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]
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

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

p4raw-id: //depot/perl@34207

15 years agoMove the modules, tests, prove and Changes file from lib/ to
Nicholas Clark [Tue, 19 Aug 2008 18:09:00 +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

15 years agoRe: Change 34184: Convert all unimaginative (ie race condition) temporary file names to
Bram [Tue, 12 Aug 2008 19:05:00 +0000]
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

15 years agoSkip the Perl debugger test if the harness itself is already running
Nicholas Clark [Sun, 17 Aug 2008 16:53:04 +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

15 years agoVMS-specific follow-up to tempfile name changes in 34182, plus
Craig A. Berry [Wed, 13 Aug 2008 03:10:16 +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

15 years agoRE: [perl #35877] Strange regex failure?
Bram [Sun, 3 Aug 2008 16:35:29 +0000]
RE: [perl #35877] Strange regex failure?
Message-ID: <20080803163529.bd73ojeg2s4ow0w4@horde.wizbit.be>

(Adds tests for perl #35877, which was fixed by change 29441)

p4raw-id: //depot/perl@34202

15 years agoRegen of perlapi.pod after differences where pointed out by
Steve Peters [Mon, 11 Aug 2008 14:41:47 +0000]
Regen of perlapi.pod after differences where pointed out by
Vincent Pitt.

p4raw-id: //depot/perl@34201

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

p4raw-id: //depot/perl@34200

15 years ago[perl #52740] [PATCH-tests] crash when localizing a symtab entry
Bram [Sun, 10 Aug 2008 10:59:16 +0000]
[perl #52740] [PATCH-tests] crash when localizing a symtab entry
From: "Bram via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-29759-1218391153-38.52740-15-0@perl.org>

p4raw-id: //depot/perl@34198

15 years agoPurge C<n_a> thoughtcrime from the pods.
Nicholas Clark [Sun, 10 Aug 2008 21:54:00 +0000]
Purge C<n_a> thoughtcrime from the pods.

p4raw-id: //depot/perl@34197

15 years agoAvoid a potential testing race condition in lib/Dirhandle.ttest.
Bram [Sun, 10 Aug 2008 20:36:27 +0000]
Avoid a potential testing race condition in lib/Dirhandle.ttest.
Message-ID: <20080810203627.vj786wb688skc44w@horde.wizbit.be>
Date: Sun, 10 Aug 2008 20:36:27 +0200

p4raw-id: //depot/perl@34196

15 years agoRe: Change 34175: Avoid a potential testing race condition in Shell.pm's test.
Bram [Sun, 10 Aug 2008 20:29:07 +0000]
Re: Change 34175: Avoid a potential testing race condition in Shell.pm's test.
Message-ID: <20080810202907.0pfnzshsoco8owg4@horde.wizbit.be>
Date: Sun, 10 Aug 2008 20:29:07 +0200

p4raw-id: //depot/perl@34195

15 years agoUpgrade to CGI.pm-3.40
Steve Peters [Sun, 10 Aug 2008 17:11:24 +0000]
Upgrade to CGI.pm-3.40

p4raw-id: //depot/perl@34194

15 years agoUpgrade to ExtUtils-Manifest-1.54
Steve Peters [Sun, 10 Aug 2008 16:58:49 +0000]
Upgrade to ExtUtils-Manifest-1.54

p4raw-id: //depot/perl@34193

15 years agoUse App::Prove::State to store the timings for the tests, and if
Nicholas Clark [Sat, 9 Aug 2008 20:11:55 +0000]
Use App::Prove::State to store the timings for the tests, and if
timings are available, reorder the parallelisable tests to run the
slowest first. Timings for a second run are 18 seconds less for me:
Files=1553, Tests=209393, 459 wallclock secs (94.89 usr 13.16 sys + 638.19 cusr 58.59 csys = 804.83 CPU)
Files=1553, Tests=209393, 441 wallclock secs (82.83 usr 13.90 sys + 622.13 cusr 59.20 csys = 778.06 CPU)

p4raw-id: //depot/perl@34192

15 years agoDon't need to do the globbing before building the rules, as it makes
Nicholas Clark [Sat, 9 Aug 2008 13:16:03 +0000]
Don't need to do the globbing before building the rules, as it makes
the rules larger than necessary, and potentially slows things down.

p4raw-id: //depot/perl@34191

15 years agoDon't bother hashing the key, or performing any other preparatory work,
Nicholas Clark [Sat, 9 Aug 2008 10:04:55 +0000]
Don't bother hashing the key, or performing any other preparatory work,
if there isn't anything to find.

p4raw-id: //depot/perl@34190

15 years agoNote that I TODID most of parallel testing in the core.
Nicholas Clark [Fri, 8 Aug 2008 14:37:09 +0000]
Note that I TODID most of parallel testing in the core.

p4raw-id: //depot/perl@34189

15 years ago[perl #24198] Bad default-domainname extraction in Configure-Script may cause infinit...
Bram [Thu, 7 Aug 2008 06:00:47 +0000]
[perl #24198] Bad default-domainname extraction in Configure-Script may cause infinite loops in perl-tests
From: "Bram via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-29759-1218114045-1803.24198-15-0@perl.org>

p4raw-id: //depot/perl@34188

15 years agoEverything in t/ can now run in parallel.
Nicholas Clark [Fri, 8 Aug 2008 10:15:33 +0000]
Everything in t/ can now run in parallel.

p4raw-id: //depot/perl@34185

15 years agoConvert all unimaginative (ie race condition) temporary file names to
Nicholas Clark [Fri, 8 Aug 2008 09:59:45 +0000]
Convert all unimaginative (ie race condition) temporary file names to
use test.pl's tempfile().

p4raw-id: //depot/perl@34184

15 years agoUse test.pl, not Test.pm, in t/run/*.t
Nicholas Clark [Fri, 8 Aug 2008 09:24:39 +0000]
Use test.pl, not Test.pm, in t/run/*.t

p4raw-id: //depot/perl@34183

15 years agoConvert all unimaginative (ie race condition) temporary file names to
Nicholas Clark [Thu, 7 Aug 2008 15:21:57 +0000]
Convert all unimaginative (ie race condition) temporary file names to
use test.pl's tempfile().

p4raw-id: //depot/perl@34182

15 years agoLet rip with t/op/*.t in parallel too.
Nicholas Clark [Thu, 7 Aug 2008 10:36:32 +0000]
Let rip with t/op/*.t in parallel too.

p4raw-id: //depot/perl@34181

15 years agoUse test.pl's tempfile().
Nicholas Clark [Thu, 7 Aug 2008 10:12:44 +0000]
Use test.pl's tempfile().

p4raw-id: //depot/perl@34180

15 years agoFix bug in counting in tempfile().
Nicholas Clark [Thu, 7 Aug 2008 10:12:09 +0000]
Fix bug in counting in tempfile().
Also we need to note file names we give out, as some callers don't
create them before calling us a second time.
Add a regexp that matches the tempfile() names, for tests that want to
munge output.

p4raw-id: //depot/perl@34179

15 years agoA proper tempfile function that can be used multiple times.
Nicholas Clark [Thu, 7 Aug 2008 08:23:13 +0000]
A proper tempfile function that can be used multiple times.

p4raw-id: //depot/perl@34178

15 years agoAs rules can be glob patterns, leave them as glob patterns, and instead
Nicholas Clark [Thu, 7 Aug 2008 08:11:39 +0000]
As rules can be glob patterns, leave them as glob patterns, and instead
expand the globs when we walk the rules to create the full list of
tests. Tests run more quickly.

p4raw-id: //depot/perl@34177

15 years agoRun t/uni/*.t t/mro/*.t t/lib/*.t fully in parallel.
Nicholas Clark [Thu, 7 Aug 2008 07:45:31 +0000]
Run t/uni/*.t t/mro/*.t t/lib/*.t fully in parallel.

p4raw-id: //depot/perl@34176

15 years agoAvoid a potential testing race condition in Shell.pm's test.
Nicholas Clark [Wed, 6 Aug 2008 21:36:45 +0000]
Avoid a potential testing race condition in Shell.pm's test.

p4raw-id: //depot/perl@34175

15 years agoIf TEST_JOBS is set to something non-zero, use TAP::Harness to run the
Nicholas Clark [Wed, 6 Aug 2008 17:51:10 +0000]
If TEST_JOBS is set to something non-zero, use TAP::Harness to run the
tests in parallel. The tests aren't fully parallelisable yet to the
level we'd like, but one needs to start somewhere.

p4raw-id: //depot/perl@34174

15 years agoBetter temporary file name generation. (Avoid using ++, avoid file
Nicholas Clark [Wed, 6 Aug 2008 16:04:49 +0000]
Better temporary file name generation. (Avoid using ++, avoid file
names clashing between different scripts, which may now be executing
in parallel)

p4raw-id: //depot/perl@34173

15 years agoBring the joy of strict to t/harness.
Nicholas Clark [Wed, 6 Aug 2008 12:18:13 +0000]
Bring the joy of strict to t/harness.

p4raw-id: //depot/perl@34172

15 years agoTests for [perl #57564] and [perl #24524] Refcounting bug
Bram [Tue, 5 Aug 2008 19:58:00 +0000]
Tests for [perl #57564] and [perl #24524] Refcounting bug
Message-ID: <20080805195800.xq9k9kttwk0kwsk0@horde.wizbit.be>

p4raw-id: //depot/perl@34171

15 years agoTiny SelfLoader patch for better warnings
Steffen Mueller [Sat, 2 Aug 2008 17:38:39 +0000]
Tiny SelfLoader patch for better warnings
Message-ID: <20080802153839.9538.qmail@lists.develooper.com>
Date: Sat, 02 Aug 2008 17:38:39 +0200

p4raw-id: //depot/perl@34170

15 years agoUpgrade to Test::Harness 3.13
Nicholas Clark [Thu, 31 Jul 2008 21:27:36 +0000]
Upgrade to Test::Harness 3.13

p4raw-id: //depot/perl@34169

15 years agoAdd d_timegm to uconfig.sh to fix the generated uconfig.h.
Marcus Holland-Moritz [Thu, 31 Jul 2008 21:05:45 +0000]
Add d_timegm to uconfig.sh to fix the generated uconfig.h.

p4raw-id: //depot/perl@34168

16 years agoYou can't (and shouldn't) use CvDEPTH on a PVFM.
Nicholas Clark [Thu, 31 Jul 2008 10:03:33 +0000]
You can't (and shouldn't) use CvDEPTH on a PVFM.

p4raw-id: //depot/perl@34167

16 years agoSmall typo fix
Rafael Garcia-Suarez [Thu, 31 Jul 2008 08:27:40 +0000]
Small typo fix

p4raw-id: //depot/perl@34166

16 years agoVersion bump for Data::Dumper
Jerry D. Hedden [Wed, 30 Jul 2008 12:54:34 +0000]
Version bump for Data::Dumper
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807300954y5451ce9eq3181169e83bc3a10@mail.gmail.com>

p4raw-id: //depot/perl@34165

16 years agoupdate Exporter to version 5.63
Adriano Ferreira [Tue, 29 Jul 2008 17:37:12 +0000]
update Exporter to version 5.63
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Message-ID: <73ddeb6c0807291337k150d5172pd671a5df980b7faf@mail.gmail.com>

p4raw-id: //depot/perl@34164

16 years ago[perl #56766] [PATCH]
Vincent Pit [Thu, 10 Jul 2008 18:10:10 +0000]
[perl #56766] [PATCH]
Message-ID: <48763462.7020506@profvince.com>

p4raw-id: //depot/perl@34163

16 years agoMinor hints/linux.sh patch to allow setting -Doptimize
Andy Dougherty [Tue, 29 Jul 2008 12:00:52 +0000]
Minor hints/linux.sh patch to allow setting -Doptimize
Message-ID: <Pine.LNX.4.64.0807291159410.23060@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@34162

16 years agoNote the possibility of sharing arenas between types.
Nicholas Clark [Sun, 27 Jul 2008 09:58:13 +0000]
Note the possibility of sharing arenas between types.

p4raw-id: //depot/perl@34160

16 years agoConvert undef.t to use test.pl and strict.
Nicholas Clark [Sat, 26 Jul 2008 20:08:08 +0000]
Convert undef.t to use test.pl and strict.

p4raw-id: //depot/perl@34159

16 years agoConvert yadayada.t to test.pl and strict, and fix two diagnostic errors
Nicholas Clark [Sat, 26 Jul 2008 19:51:03 +0000]
Convert yadayada.t to test.pl and strict, and fix two diagnostic errors
found in the process.

p4raw-id: //depot/perl@34158

16 years agoConvert wantarray.t to use strict and test.pl
Nicholas Clark [Sat, 26 Jul 2008 19:46:41 +0000]
Convert wantarray.t to use strict and test.pl

p4raw-id: //depot/perl@34157

16 years agoUndo io_linenum.t part of #34148. It was io_multihomed.t that I meant
Steve Hay [Wed, 23 Jul 2008 16:36:28 +0000]
Undo io_linenum.t part of #34148. It was io_multihomed.t that I meant
(my mistake), and that is now covered by #34155.

p4raw-id: //depot/perl@34156

16 years agoAdd watchdog() call to ext/IO/t/io_multihomed.t
Jerry D. Hedden [Wed, 23 Jul 2008 12:20:55 +0000]
Add watchdog() call to ext/IO/t/io_multihomed.t
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807230920o6414d5abu393a5cd293c6fa4f@mail.gmail.com>

p4raw-id: //depot/perl@34155

16 years agowatchdog() fix for MSWin32
Jerry D. Hedden [Wed, 23 Jul 2008 12:19:36 +0000]
watchdog() fix for MSWin32
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807230919p355ea37ci3fde2c1f84df6d5f@mail.gmail.com>

Adds a needed diag message to the watchdog() function for MSWin32.

p4raw-id: //depot/perl@34154

16 years agoUpgrade to podlators 2.1.2
Steve Hay [Tue, 22 Jul 2008 08:21:12 +0000]
Upgrade to podlators 2.1.2

p4raw-id: //depot/perl@34153

16 years agoFix skips in test.pl
Jerry D. Hedden [Fri, 18 Jul 2008 09:09:41 +0000]
Fix skips in test.pl
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807180609l7ca8a8d8i653dfd687ed9f36d@mail.gmail.com>

Changes skip messages to be consistent with Test::Builder.

p4raw-id: //depot/perl@34152

16 years agoWelcome to refcount hell. Fix the leaks reported by #57024
Marcus Holland-Moritz [Fri, 18 Jul 2008 06:36:09 +0000]
Welcome to refcount hell. Fix the leaks reported by #57024
along with a bunch other named capture related leaks.

p4raw-id: //depot/perl@34151

16 years agowatchdog() for threads tests
Jerry D. Hedden [Wed, 16 Jul 2008 11:10:35 +0000]
watchdog() for threads tests
From: "Jerry D. Hedden" <jdhedden@gmail.com>
Message-ID: <1ff86f510807160810ib0a01adg4f54cca69a96b623@mail.gmail.com>

p4raw-id: //depot/perl@34150

16 years agothreads::shared 1.26
Jerry D. Hedden [Wed, 16 Jul 2008 09:47:57 +0000]
threads::shared 1.26
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807160647q777f0eefj388b342f57c8f49f@mail.gmail.com>

Conditionalize read-only tests for Perl < 5.8.3

p4raw-id: //depot/perl@34149

16 years agowatchdog() some IO tests
Jerry D. Hedden [Fri, 11 Jul 2008 12:08:51 +0000]
watchdog() some IO tests
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807110908q4ac81225see2b11aa4729397d@mail.gmail.com>

p4raw-id: //depot/perl@34148

16 years agotest.pl
Jerry D. Hedden [Fri, 11 Jul 2008 11:07:07 +0000]
test.pl
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807110807hb3e3727la161367a63da607f@mail.gmail.com>

Jerry found that localizing $? doesn't shield the effects of wait()
unless you actually assign something to $?

p4raw-id: //depot/perl@34147

16 years agoReally apply change #34143
Rafael Garcia-Suarez [Wed, 16 Jul 2008 08:05:33 +0000]
Really apply change #34143
p4raw-link: @34143 on //depot/perl: e27835eefa408ae52d4ae22eec67eea282a87949

p4raw-id: //depot/perl@34146

16 years agoUpdate Compression modules to version 2.012
Paul Marquess [Tue, 15 Jul 2008 23:25:49 +0000]
Update Compression modules to version 2.012
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <018801c8e6c9$c0a76530$41f62f90$@Marquess@ntlworld.com>

p4raw-id: //depot/perl@34145

16 years agoFix use of a variable before it is initialised, introduced by change
Nicholas Clark [Tue, 15 Jul 2008 14:51:53 +0000]
Fix use of a variable before it is initialised, introduced by change
34138, spotted by Jerry D. Hedden. I assume that he's compiling with
options that enable trace flow analysis from the C compiler.

p4raw-id: //depot/perl@34144

16 years agoUpdate to B::Debug 1.11, by Reini Urban
Rafael Garcia-Suarez [Tue, 15 Jul 2008 10:30:31 +0000]
Update to B::Debug 1.11, by Reini Urban
Avoid B::Flags in CORE tests not to crash on old XS in @INC

p4raw-id: //depot/perl@34143

16 years agoUpgrade to version 0.76 by John Peacock
Rafael Garcia-Suarez [Tue, 15 Jul 2008 08:59:13 +0000]
Upgrade to version 0.76 by John Peacock
Fix segfault in serialized version objects
(bug #56606)

p4raw-id: //depot/perl@34142

16 years agoUpgrade to threads::shared 1.25 by Jerry D. Hedden
Rafael Garcia-Suarez [Tue, 15 Jul 2008 08:25:27 +0000]
Upgrade to threads::shared 1.25 by Jerry D. Hedden
Fix for cloning read-only objects.

p4raw-id: //depot/perl@34141

16 years agoMake format items @* and ^* work with references (safely). Note no-one
Nicholas Clark [Sun, 13 Jul 2008 21:37:21 +0000]
Make format items @* and ^* work with references (safely). Note no-one
said anything about sanely.

p4raw-id: //depot/perl@34140

16 years agoFor cases FF_LINESNGL and FF_LINEGLOB in pp_formline, take great care
Nicholas Clark [Sun, 13 Jul 2008 21:02:43 +0000]
For cases FF_LINESNGL and FF_LINEGLOB in pp_formline, take great care
to call get magic exactly once. This doesn't just avoid logical errors
with tied variables, it actually avoids panics (or worse) because a
pointer is retained to the string returned by the (first) call to
SvPV_const() for a future sv_chop(), and any future call to get magic
can invalidate the buffer that that pointer points to.
Also this removes the original crazy code that would set then reset the
length of a scalar, so as to only copy an initial portion of it, and
also copy the entire scalar including trailing newline (which might
require allocating more memory), only to immediately remove the newline
from the copy by reducing the length by one.

p4raw-id: //depot/perl@34139

16 years agoThe assert()ions in sv_chop() that the passed in pointer is within the
Nicholas Clark [Sun, 13 Jul 2008 20:22:25 +0000]
The assert()ions in sv_chop() that the passed in pointer is within the
SV's buffer should be full-on panics, as bogus values passed in can
cause later heap corruption, which is a bad thing (TM).

p4raw-id: //depot/perl@34138

16 years agoFix for #56874: maybe small error in perlxs.pod example
Marcus Holland-Moritz [Sun, 13 Jul 2008 19:04:20 +0000]
Fix for #56874: maybe small error in perlxs.pod example

p4raw-id: //depot/perl@34137

16 years agoassert() that the pointer passed to Perl_sv_chop() lies within the
Nicholas Clark [Sun, 13 Jul 2008 04:04:31 +0000]
assert() that the pointer passed to Perl_sv_chop() lies within the
buffer of the SV.

p4raw-id: //depot/perl@34136

16 years agoFormat tests for @* too.
Nicholas Clark [Sat, 12 Jul 2008 18:53:26 +0000]
Format tests for @* too.

p4raw-id: //depot/perl@34135

16 years agoAbolish xfm_lines from struct xpvfm. structs xpvfm and xpvcv are now
Nicholas Clark [Sat, 12 Jul 2008 08:44:21 +0000]
Abolish xfm_lines from struct xpvfm. structs xpvfm and xpvcv are now
identical.

p4raw-id: //depot/perl@34134

16 years agoPVFMs don't need to access the IVX any more. (as of change 32836, which
Nicholas Clark [Sat, 12 Jul 2008 07:40:33 +0000]
PVFMs don't need to access the IVX any more. (as of change 32836, which
re-implemented SvOOK() to avoid using it)

p4raw-id: //depot/perl@34133

16 years agoTest that formats can be dumped.
Nicholas Clark [Sat, 12 Jul 2008 07:12:37 +0000]
Test that formats can be dumped.

p4raw-id: //depot/perl@34132

16 years agoSet d_timegm on VMS.
Craig A. Berry [Fri, 11 Jul 2008 23:11:00 +0000]
Set d_timegm on VMS.

p4raw-id: //depot/perl@34131

16 years agoUpgrade to Devel::PPPort 3.14_01
Marcus Holland-Moritz [Fri, 11 Jul 2008 20:55:01 +0000]
Upgrade to Devel::PPPort 3.14_01

p4raw-id: //depot/perl@34130

16 years agoRegression tests for, and fix quite a lot of bugs in, cases FF_LINESNGL
Nicholas Clark [Fri, 11 Jul 2008 20:04:57 +0000]
Regression tests for, and fix quite a lot of bugs in, cases FF_LINESNGL
and FF_LINEGLOB in pp_formline. (While investigating RT #55668)
Sometimes I wonder if this is actually fun.

p4raw-id: //depot/perl@34129

16 years agoIn Perl_sv_utf8_upgrade_flags(), don't assume that the SV is well
Nicholas Clark [Fri, 11 Jul 2008 19:42:14 +0000]
In Perl_sv_utf8_upgrade_flags(), don't assume that the SV is well
formed with a trailing '\0'. And do assume that bytes_to_utf8() does.

p4raw-id: //depot/perl@34128

16 years agoAlso dump the SvPVX of PVFMs.
Nicholas Clark [Fri, 11 Jul 2008 18:37:27 +0000]
Also dump the SvPVX of PVFMs.

p4raw-id: //depot/perl@34127

16 years agoFix to Change 34120
Jerry D. Hedden [Fri, 11 Jul 2008 08:59:24 +0000]
Fix to Change 34120
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510807110559tdc38deas3042e3e8ec234168@mail.gmail.com>

p4raw-id: //depot/perl@34126

16 years agoSimplify code in pp_formline, removing a goto and localising and
Nicholas Clark [Fri, 11 Jul 2008 11:20:04 +0000]
Simplify code in pp_formline, removing a goto and localising and
consting a variable.

p4raw-id: //depot/perl@34125

16 years agoBring the joy of strict to the rest of write.t
Nicholas Clark [Fri, 11 Jul 2008 10:44:51 +0000]
Bring the joy of strict to the rest of write.t

p4raw-id: //depot/perl@34124

16 years agoComplete the conversion of t/op/write.t to test.pl, and remove my
Nicholas Clark [Fri, 11 Jul 2008 10:32:00 +0000]
Complete the conversion of t/op/write.t to test.pl, and remove my
(accidentally committed) skip testing '1'.

p4raw-id: //depot/perl@34123

16 years agoReduce the -| skip back to just the tests that use it, and re-align the
Nicholas Clark [Fri, 11 Jul 2008 10:16:22 +0000]
Reduce the -| skip back to just the tests that use it, and re-align the
comments with the test code they refer to.

p4raw-id: //depot/perl@34122