This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoRe: [perl #50496] Bug Report: 'keys %+' does not return the correct keys.
Abigail [Thu, 7 Feb 2008 17:53:30 +0000 (18:53 +0100)]
Re: [perl #50496] Bug Report: 'keys %+' does not return the correct keys.
Message-ID: <20080207165330.GA25617@abigail.be>

with tweaks (one more test marked TODO)

p4raw-id: //depot/perl@33313

16 years agoAdd missing file to MANIFEST, to go with change #33311
Rafael Garcia-Suarez [Thu, 14 Feb 2008 16:33:11 +0000 (16:33 +0000)]
Add missing file to MANIFEST, to go with change #33311
p4raw-link: @33311 on //depot/perl: 27eaf14c55a541e1e4f2529a8084e15a8cc43d41

p4raw-id: //depot/perl@33312

16 years agoRe: [perl #50706] %^H affecting outside file scopes
Rick Delaney [Tue, 12 Feb 2008 14:05:22 +0000 (09:05 -0500)]
Re: [perl #50706] %^H affecting outside file scopes
Message-ID: <20080212190522.GB16896@bort.ca>

p4raw-id: //depot/perl@33311

16 years agodoio.c:Perl_my_lstat:/* XXX Do really need to be calling SvPV() all these times? */
Vincent Pit [Thu, 14 Feb 2008 15:21:29 +0000 (16:21 +0100)]
doio.c:Perl_my_lstat:/* XXX Do really need to be calling SvPV() all these times? */
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <37048.147.210.17.175.1202998889.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33310

16 years agoMake the new warning report undef constants as undef
Rafael Garcia-Suarez [Thu, 14 Feb 2008 15:14:36 +0000 (15:14 +0000)]
Make the new warning report undef constants as undef

p4raw-id: //depot/perl@33309

16 years agoFix leak when issuing new warning implemented by #33305
Rafael Garcia-Suarez [Thu, 14 Feb 2008 15:05:38 +0000 (15:05 +0000)]
Fix leak when issuing new warning implemented by #33305

p4raw-id: //depot/perl@33308

16 years agoRevert change #33302. This change was wrong, since it was
Rafael Garcia-Suarez [Thu, 14 Feb 2008 14:39:21 +0000 (14:39 +0000)]
Revert change #33302. This change was wrong, since it was
using OP_ENTERSUB as a LISTOP, whereas it's a UNOP.
p4raw-link: @33302 on //depot/perl: 781e3f050073176aa21ffc243184a1cb57f4ec92

p4raw-id: //depot/perl@33307

16 years agoFix linker error introduced by #33305
Steve Hay [Thu, 14 Feb 2008 10:09:33 +0000 (10:09 +0000)]
Fix linker error introduced by #33305

p4raw-id: //depot/perl@33306

16 years agoShow constant in "Useless use of a constant in void context"
Rick Delaney [Wed, 13 Feb 2008 23:29:16 +0000 (18:29 -0500)]
Show constant in "Useless use of a constant in void context"
Message-ID: <20080214042916.GA12678@bort.ca>

p4raw-id: //depot/perl@33305

16 years agouse svtype
Robin Barker [Wed, 13 Feb 2008 17:46:02 +0000 (17:46 +0000)]
use svtype
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A35@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33304

16 years agoJerry D. Hedden now maintains Thread::Semaphore on CPAN
Rafael Garcia-Suarez [Thu, 14 Feb 2008 07:52:45 +0000 (07:52 +0000)]
Jerry D. Hedden now maintains Thread::Semaphore on CPAN

p4raw-id: //depot/perl@33303

16 years ago[perl #47047] Use of inherited AUTOLOAD for non-method is deprecated
Rick Delaney [Tue, 30 Oct 2007 20:19:40 +0000 (13:19 -0700)]
[perl #47047] Use of inherited AUTOLOAD for non-method is deprecated
From: Rick Delaney (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-24634-1193800780-55.47047-75-0@perl.org>

p4raw-id: //depot/perl@33302

16 years agoPERL_MAGIC_uvar_elem should be 'u' in dump.c
Vincent Pit [Wed, 13 Feb 2008 11:10:11 +0000 (12:10 +0100)]
PERL_MAGIC_uvar_elem should be 'u' in dump.c
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <36116.147.210.17.175.1202897411.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33301

16 years agopp_system explicitly passes NULL to do_aspawn, so NULL must be "OK"
Steve Hay [Wed, 13 Feb 2008 12:27:56 +0000 (12:27 +0000)]
pp_system explicitly passes NULL to do_aspawn, so NULL must be "OK"
*Now* my Win32 DEBUGGING build works :-)

p4raw-id: //depot/perl@33300

16 years agoDrat. #33298 doesn't fix it: need this too.
Steve Hay [Wed, 13 Feb 2008 12:19:17 +0000 (12:19 +0000)]
Drat. #33298 doesn't fix it: need this too.
And even then I now get an assertion from win32.c line 628. Sigh...

p4raw-id: //depot/perl@33299

16 years agoCorrect another variable name in embed.fnc
Steve Hay [Wed, 13 Feb 2008 12:05:49 +0000 (12:05 +0000)]
Correct another variable name in embed.fnc
(Fixes my DEBUGGING builds on Win32)

p4raw-id: //depot/perl@33298

16 years agoRead-only variable tests
Jerry D. Hedden [Fri, 8 Feb 2008 14:06:41 +0000 (09:06 -0500)]
Read-only variable tests
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802081106l737e4dcdibb73c8eacb4c39d8@mail.gmail.com>

with one less TODO test

p4raw-id: //depot/perl@33297

16 years agoUnused var in perlio.c (revised)
Jerry D. Hedden [Tue, 12 Feb 2008 10:00:18 +0000 (05:00 -0500)]
Unused var in perlio.c (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802120700q689fb457ya5939bb440626157@mail.gmail.com>

p4raw-id: //depot/perl@33296

16 years agoMake sure we only find the macro we were looking for,
Marcus Holland-Moritz [Wed, 13 Feb 2008 07:42:02 +0000 (07:42 +0000)]
Make sure we only find the macro we were looking for,
not something that only starts with the same string.

p4raw-id: //depot/perl@33295

16 years agoUpgrade to PathTools-3.2701
Steve Peters [Tue, 12 Feb 2008 15:11:48 +0000 (15:11 +0000)]
Upgrade to PathTools-3.2701

p4raw-id: //depot/perl@33294

16 years agoUpgrade to Math-Complex-1.52
Steve Peters [Tue, 12 Feb 2008 15:07:44 +0000 (15:07 +0000)]
Upgrade to Math-Complex-1.52

p4raw-id: //depot/perl@33293

16 years agoFix bit-fields for VC [was RE: [perl #50386] GIMME_V broken with 5.10.0/GCC and XS?]
Jan Dubois [Fri, 1 Feb 2008 13:40:41 +0000 (05:40 -0800)]
Fix bit-fields for VC [was RE: [perl #50386] GIMME_V broken with 5.10.0/GCC and XS?]
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <02ee01c8651b$17ef72f0$47ce58d0$@com>

p4raw-id: //depot/perl@33292

16 years agoassert() that every NN argument is not NULL. Otherwise we have the
Nicholas Clark [Tue, 12 Feb 2008 13:15:20 +0000 (13:15 +0000)]
assert() that every NN argument is not NULL. Otherwise we have the
ability to create landmines that will explode under someone in the
future when they upgrade their compiler to one with better
optimisation. We've already done this at least twice.
(Yes, some of the assertions are after code that would already have
SEGVd because it already deferences a pointer, but they are put in
to make it easier to automate checking that each and every case is
covered.)
Add a tool, checkARGS_ASSERT.pl, to check that every case is covered.

p4raw-id: //depot/perl@33291

16 years agoCorrect the paramter to Perl_op_xmldump(). The one that got away from
Nicholas Clark [Tue, 12 Feb 2008 12:52:14 +0000 (12:52 +0000)]
Correct the paramter to Perl_op_xmldump(). The one that got away from
change 33289.

p4raw-id: //depot/perl@33290

16 years agoCorrect (some) variable names in embed.fnc where they differ from the
Nicholas Clark [Tue, 12 Feb 2008 12:16:23 +0000 (12:16 +0000)]
Correct (some) variable names in embed.fnc where they differ from the
actual function declaration.

p4raw-id: //depot/perl@33289

16 years agoIn Perl_load_module_nocontext(), ver can actually be NULL.
Nicholas Clark [Tue, 12 Feb 2008 11:52:30 +0000 (11:52 +0000)]
In Perl_load_module_nocontext(), ver can actually be NULL.
In Perl_hv_copy_hints_hv(), ohv can actually be NULL.
In Perl_sortsv(), Perl_sortsv_flags() and S_qsortsvu(), array can be
NULL (if the number of elements to sort is <= 1).
In Perl_save_nogv(), gv can not be NULL.
In Perl_sv_cmp() and Perl_sv_cmp_locale(), both SVs can be NULL.
In Perl_ptr_table_fetch(), the sv can be NULL.
In PerlIO_set_ptrcnt(), ptr can be NULL.

p4raw-id: //depot/perl@33287

16 years agoTeach Math::Complex the maximum NV for a 16 byte float. (At least, a
Nicholas Clark [Tue, 12 Feb 2008 06:56:24 +0000 (06:56 +0000)]
Teach Math::Complex the maximum NV for a 16 byte float. (At least, a
16 byte float on x86_64. This feels fragile.)

p4raw-id: //depot/perl@33286

16 years agoPerl_sv_2iv_flags(), Perl_sv_2uv_flags, Perl_sv_2nv and
Nicholas Clark [Mon, 11 Feb 2008 23:04:12 +0000 (23:04 +0000)]
Perl_sv_2iv_flags(), Perl_sv_2uv_flags, Perl_sv_2nv and
Perl_sv_2pv_flags() all return 0/0/0.0/"" without warning given a
NULL SV pointer so they ought to be marked as NULLOK in embed.fnc.

p4raw-id: //depot/perl@33285

16 years agoPerl_ck_retarget() doesn't even exist, so little point in mentioning
Nicholas Clark [Mon, 11 Feb 2008 20:07:50 +0000 (20:07 +0000)]
Perl_ck_retarget() doesn't even exist, so little point in mentioning
it.

p4raw-id: //depot/perl@33284

16 years agoIn Perl_sv_catpv(), Perl_sv_catpv_mg() the ptr can be not NULL.
Nicholas Clark [Mon, 11 Feb 2008 19:22:18 +0000 (19:22 +0000)]
In Perl_sv_catpv(), Perl_sv_catpv_mg() the ptr can be not NULL.
In Perl_sv_inc() and Perl_sv_dec(), the sv can be not NULL.
In Perl_parser_dup() the proto parser can be NULL.
In Perl_ptr_table_find(), the sought-for pointer can be NULL.
In Perl_save_set_svflags(), the saved SV can't be NULL.

p4raw-id: //depot/perl@33283

16 years agoUpgrade to Math-Complex-1.51
Steve Peters [Mon, 11 Feb 2008 17:37:43 +0000 (17:37 +0000)]
Upgrade to Math-Complex-1.51

p4raw-id: //depot/perl@33282

16 years agoUpgrade to Test-Harness-3.09
Steve Peters [Mon, 11 Feb 2008 16:58:15 +0000 (16:58 +0000)]
Upgrade to Test-Harness-3.09

p4raw-id: //depot/perl@33281

16 years agoRe: Unwanted warnings from "PerlIO::scalar"
Ben Morrow [Fri, 8 Feb 2008 13:50:09 +0000 (13:50 +0000)]
Re: Unwanted warnings from "PerlIO::scalar"
Message-ID: <20080208135008.GA3885@osiris.mauzo.dyndns.org>

p4raw-id: //depot/perl@33280

16 years agoIn Perl_regfree_internal(), rx is actually not NULL.
Nicholas Clark [Mon, 11 Feb 2008 14:46:40 +0000 (14:46 +0000)]
In Perl_regfree_internal(), rx is actually not NULL.
In Perl_regnext(), p can actually be NULL.

p4raw-id: //depot/perl@33279

16 years agoFix test to pass en 5.6.2 (unpack is needed by version.pm there)
Rafael Garcia-Suarez [Mon, 11 Feb 2008 11:10:09 +0000 (11:10 +0000)]
Fix test to pass en 5.6.2 (unpack is needed by version.pm there)

p4raw-id: //depot/perl@33278

16 years agoIn Perl_ck_lengthconst, "XXX length optimization goes here" is TODO.
Nicholas Clark [Mon, 11 Feb 2008 10:43:35 +0000 (10:43 +0000)]
In Perl_ck_lengthconst, "XXX length optimization goes here" is TODO.

p4raw-id: //depot/perl@33277

16 years agoThe "pointer" argument to S_restore_magic() is not not NULL, because
Nicholas Clark [Mon, 11 Feb 2008 08:54:16 +0000 (08:54 +0000)]
The "pointer" argument to S_restore_magic() is not not NULL, because
it's actually an integer index wedged into a pointer. (To fit within
the existing save stack API.)

p4raw-id: //depot/perl@33276

16 years agoCorrect quad-related %Config variables on VMS.
Craig A. Berry [Mon, 11 Feb 2008 04:17:45 +0000 (04:17 +0000)]
Correct quad-related %Config variables on VMS.

p4raw-id: //depot/perl@33275

16 years agoMake fs.t compare the permissions of a link with those
Craig A. Berry [Mon, 11 Feb 2008 00:05:14 +0000 (00:05 +0000)]
Make fs.t compare the permissions of a link with those
of the linked file rather than guessing at system defaults.

p4raw-id: //depot/perl@33274

16 years agoThe sv argument to gv_stashsv() is not NULL.
Nicholas Clark [Sun, 10 Feb 2008 19:17:13 +0000 (19:17 +0000)]
The sv argument to gv_stashsv() is not NULL.

p4raw-id: //depot/perl@33273

16 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

16 years agoCorrect some names of parameters in embed.fnc.
Nicholas Clark [Sun, 10 Feb 2008 15:26:19 +0000 (15:26 +0000)]
Correct some names of parameters in embed.fnc.

p4raw-id: //depot/perl@33271

16 years agoTwo parameter names missing in embed.fnc
Nicholas Clark [Sun, 10 Feb 2008 14:56:53 +0000 (14:56 +0000)]
Two parameter names missing in embed.fnc

p4raw-id: //depot/perl@33270

16 years agoEliminate use of Nullop in the core code. Dual life uses remain.
Nicholas Clark [Sun, 10 Feb 2008 10:21:04 +0000 (10:21 +0000)]
Eliminate use of Nullop in the core code. Dual life uses remain.

p4raw-id: //depot/perl@33269

16 years agoexp(999) isn't "infinity". Even exp(9999) can still be represented on
Nicholas Clark [Sun, 10 Feb 2008 09:02:21 +0000 (09:02 +0000)]
exp(999) isn't "infinity". Even exp(9999) can still be represented on
80 bit long doubles. exp(99999) can't.

p4raw-id: //depot/perl@33268

16 years ago[patch] optimize OP_IS_(FILETEST|SOCKET) macros
Jim Cromie [Sat, 9 Feb 2008 07:56:59 +0000 (00:56 -0700)]
[patch] optimize OP_IS_(FILETEST|SOCKET) macros
Message-ID: <47ADBF3B.2050108@gmail.com>
Date: Sat, 09 Feb 2008 07:56:59 -0700

p4raw-id: //depot/perl@33267

16 years agoUpgrade to Time-HiRes-1.9712
Steve Peters [Sun, 10 Feb 2008 05:05:28 +0000 (05:05 +0000)]
Upgrade to Time-HiRes-1.9712

p4raw-id: //depot/perl@33266

16 years ago[perl #49472] Attributes + Unkown Error
Dave Mitchell [Sat, 9 Feb 2008 14:56:23 +0000 (14:56 +0000)]
[perl #49472] Attributes + Unkown Error
An errored attribute sub still processes the attributes,
which require's attribute.pm, so make sure the error state is
passed to the new require

p4raw-id: //depot/perl@33265

16 years agoUpgrade to Test-Harness-3.08
Steve Peters [Sat, 9 Feb 2008 07:29:21 +0000 (07:29 +0000)]
Upgrade to Test-Harness-3.08

p4raw-id: //depot/perl@33264

16 years agoUpgrade to ExtUtils-CBuilder-0.22
Steve Peters [Sat, 9 Feb 2008 07:18:35 +0000 (07:18 +0000)]
Upgrade to ExtUtils-CBuilder-0.22

p4raw-id: //depot/perl@33263

16 years agohints/aix_4.sh to allow build on aix 4.2
AUGUSTE-ETIENNE Jose [Fri, 8 Feb 2008 17:10:26 +0000 (14:10 -0300)]
hints/aix_4.sh to allow build on aix 4.2
Message-Id: <1202501426.15175.10.camel@sinf009w.d81970300.cgss-guyane.fr>

p4raw-id: //depot/perl@33262

16 years agoRemove an unneeded if statement.
Steve Peters [Fri, 8 Feb 2008 21:55:48 +0000 (21:55 +0000)]
Remove an unneeded if statement.

p4raw-id: //depot/perl@33261

16 years agoI've been maintaining Net::Ping for a while now.
Steve Peters [Fri, 8 Feb 2008 21:49:16 +0000 (21:49 +0000)]
I've been maintaining Net::Ping for a while now.

p4raw-id: //depot/perl@33260

16 years agoRE: Perl @ 33218 (Stratus VOS patches)
Paul Green [Fri, 8 Feb 2008 12:36:03 +0000 (07:36 -0500)]
RE: Perl @ 33218 (Stratus VOS patches)
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB037149FF@EXNA.corp.stratus.com>

Includes a fix to the patch to ext/Time/HiRes/Makefile.PL

p4raw-id: //depot/perl@33259

16 years agoIO::Handle->say should ignore $\ (bug #49266)
Rafael Garcia-Suarez [Fri, 8 Feb 2008 16:15:52 +0000 (16:15 +0000)]
IO::Handle->say should ignore $\ (bug #49266)

p4raw-id: //depot/perl@33258

16 years ago[perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation
Martin Hasch [Mon, 28 Jan 2008 16:56:07 +0000 (08:56 -0800)]
[perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4355-1201568166-693.50364-75-0@perl.org>

p4raw-id: //depot/perl@33257

16 years agomg_copy ought to take an I32
Vincent Pit [Wed, 6 Feb 2008 10:39:58 +0000 (11:39 +0100)]
mg_copy ought to take an I32
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <39468.147.210.17.175.1202290798.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33256

16 years agoGive Win32 message windows proper window procedures
Robert May [Sun, 3 Feb 2008 18:04:46 +0000 (23:34 +0530)]
Give Win32 message windows proper window procedures
From: "Robert May" <rob@themayfamily.me.uk>
Message-ID: <54bdc7510802030434g4f9da56eq8d526e80c297290b@mail.gmail.com>

p4raw-id: //depot/perl@33255

16 years agowin32_async_check() doesn't loop enough.
Robert May [Sun, 3 Feb 2008 13:11:57 +0000 (18:41 +0530)]
win32_async_check() doesn't loop enough.
From: "Robert May" <robertmay@cpan.org>
Message-ID: <54bdc7510802022341r3654d32dva26ef04bd9fa04b7@mail.gmail.com>

p4raw-id: //depot/perl@33254

16 years agoUpdate to Math::Complex 1.49
H.Merijn Brand [Fri, 8 Feb 2008 13:27:45 +0000 (13:27 +0000)]
Update to Math::Complex 1.49

p4raw-id: //depot/perl@33253

16 years agoRe-apply patches 32879, 32905, and 32964 to MakeMaker
Rafael Garcia-Suarez [Fri, 8 Feb 2008 13:25:18 +0000 (13:25 +0000)]
Re-apply patches 32879, 32905, and 32964 to MakeMaker

p4raw-id: //depot/perl@33252

16 years agoAdd new module in MakeMaker 6.43_01
Rafael Garcia-Suarez [Fri, 8 Feb 2008 13:09:27 +0000 (13:09 +0000)]
Add new module in MakeMaker 6.43_01

p4raw-id: //depot/perl@33251

16 years agoUpgrade to MakeMaker 6.43_01
Rafael Garcia-Suarez [Fri, 8 Feb 2008 13:07:25 +0000 (13:07 +0000)]
Upgrade to MakeMaker 6.43_01

p4raw-id: //depot/perl@33250

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Thu, 7 Feb 2008 17:51:58 +0000 (18:51 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080207165158.GA22321@refcnt.homeunix.org>

p4raw-id: //depot/perl@33249

16 years agoRemove redundant check
Rafael Garcia-Suarez [Fri, 8 Feb 2008 11:04:23 +0000 (11:04 +0000)]
Remove redundant check

p4raw-id: //depot/perl@33248

16 years agofeature bundles are the same across all subversions
Steffen Müller [Sun, 13 Jan 2008 22:45:37 +0000 (23:45 +0100)]
feature bundles are the same across all subversions
Message-ID: <20080113214537.13226.qmail@lists.develooper.com>

p4raw-id: //depot/perl@33247

16 years agoRe: [PATCH] Re: Perl @ 32984 (also relevant to [perl #33849])
Andy Dougherty [Fri, 1 Feb 2008 12:39:39 +0000 (07:39 -0500)]
Re: [PATCH] Re: Perl @ 32984 (also relevant to [perl #33849])
Message-ID: <Pine.LNX.4.64.0802011239170.1831@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@33246

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Mon, 4 Feb 2008 15:44:19 +0000 (16:44 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080204144419.GB20276@refcnt.homeunix.org>

p4raw-id: //depot/perl@33245

16 years agocorelist changes:
Rafael Garcia-Suarez [Thu, 7 Feb 2008 09:40:12 +0000 (09:40 +0000)]
corelist changes:
- Add a new -d option to find first perl version by date
  and not by version number
- Better handling of perl versions that end with a 0
- use version.pm only for version numbers that have multiple dots

p4raw-id: //depot/perl@33244

16 years agoCope with differing prototypes for ECONNREFUSED etc on Win32 between
Nicholas Clark [Wed, 6 Feb 2008 16:32:56 +0000 (16:32 +0000)]
Cope with differing prototypes for ECONNREFUSED etc on Win32 between
5.8.x and 5.10.x

p4raw-id: //depot/perl@33242

16 years agoNew blade
H.Merijn Brand [Wed, 6 Feb 2008 14:11:10 +0000 (14:11 +0000)]
New blade

p4raw-id: //depot/perl@33241

16 years agoin unpack, () groups in scalar context were still returning a list,
Nicholas Clark [Wed, 6 Feb 2008 01:00:43 +0000 (01:00 +0000)]
in unpack, () groups in scalar context were still returning a list,
resulting in garbage on the stack, which could manifest as a SEGV
(Bug 50256)

p4raw-id: //depot/perl@33239

16 years agoAdapt Safe innards to older (XS) versions of version.pm
Rafael Garcia-Suarez [Tue, 5 Feb 2008 16:51:40 +0000 (16:51 +0000)]
Adapt Safe innards to older (XS) versions of version.pm

p4raw-id: //depot/perl@33238

16 years agoAdd a new test for Safe
Rafael Garcia-Suarez [Tue, 5 Feb 2008 14:00:00 +0000 (14:00 +0000)]
Add a new test for Safe

p4raw-id: //depot/perl@33237

16 years agoFix CPAN bug #32896: make version.pm loadable in a Safe compartment
Rafael Garcia-Suarez [Tue, 5 Feb 2008 11:06:11 +0000 (11:06 +0000)]
Fix CPAN bug #32896: make version.pm loadable in a Safe compartment

p4raw-id: //depot/perl@33236

16 years agoRemoved mention of a book that was never published.
Steve Peters [Mon, 4 Feb 2008 15:24:15 +0000 (15:24 +0000)]
Removed mention of a book that was never published.

p4raw-id: //depot/perl@33235

16 years agoRemove duplication from encoding.pm POD
Robert May [Fri, 1 Feb 2008 01:06:07 +0000 (06:36 +0530)]
Remove duplication from encoding.pm POD
From: "Robert May" <robertmay@cpan.org>
Message-ID: <54bdc7510801311136p7ee53dbet2afd5239e1ad03eb@mail.gmail.com>

p4raw-id: //depot/perl@33234

16 years ago[patch] B portability macros
Jim Cromie [Fri, 1 Feb 2008 17:43:11 +0000 (10:43 -0700)]
[patch] B portability macros
Message-ID: <47A3BC9F.7080200@gmail.com>

p4raw-id: //depot/perl@33233

16 years agoMicro-optimise the order of the context types. [Because I can :-)]
Nicholas Clark [Mon, 4 Feb 2008 13:59:21 +0000 (13:59 +0000)]
Micro-optimise the order of the context types. [Because I can :-)]
Here saves 72 bytes in pp_ctl.o. Small, but in the right direction.

p4raw-id: //depot/perl@33232

16 years agosv.c: consting
Steven Schubiger [Sun, 3 Feb 2008 19:53:16 +0000 (20:53 +0100)]
sv.c: consting
Message-ID: <20080203185315.GA20276@refcnt.homeunix.org>

p4raw-id: //depot/perl@33231

16 years agofix B::Debug pmnext
Reini Urban [Sat, 2 Feb 2008 16:33:52 +0000 (17:33 +0100)]
fix B::Debug pmnext
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60802020733u7817a55dm6f5e213625063204@mail.gmail.com>

p4raw-id: //depot/perl@33230

16 years agoFix op/reg_email_thr.t when PERLIO=stdio
Rafael Garcia-Suarez [Mon, 4 Feb 2008 09:36:11 +0000 (09:36 +0000)]
Fix op/reg_email_thr.t when PERLIO=stdio

p4raw-id: //depot/perl@33229

16 years agotaint.c: consting
Steven Schubiger [Tue, 29 Jan 2008 13:47:23 +0000 (14:47 +0100)]
taint.c: consting
Message-ID: <20080129124723.GA13056@refcnt.homeunix.org>
Date: Tue, 29 Jan 2008 13:47:23 +0100

p4raw-id: //depot/perl@33228

16 years agoRecode all the old variable-like substitutions with the generic line
Nicholas Clark [Sun, 3 Feb 2008 14:41:05 +0000 (14:41 +0000)]
Recode all the old variable-like substitutions with the generic line
removal mechanism of change 33223.

p4raw-id: //depot/perl@33226

16 years agoProduce a more generic expectation management system, and use it to
Nicholas Clark [Sun, 3 Feb 2008 13:37:06 +0000 (13:37 +0000)]
Produce a more generic expectation management system, and use it to
encode the 5.8.x vs 5.10/5.11 differences.
Provide general purpose TODOs for both the intial tests and Gerard's
"is it unchanged on repeat?" test.

p4raw-id: //depot/perl@33223

16 years agoUpgrade to Math::Complex 1.48 and Math::Trig 1.13
Nicholas Clark [Sun, 3 Feb 2008 13:10:39 +0000 (13:10 +0000)]
Upgrade to Math::Complex 1.48 and Math::Trig 1.13

p4raw-id: //depot/perl@33222

16 years ago5.8.x and earler have a SUBPROCESS line in the dump of a PVIO.
Nicholas Clark [Sat, 2 Feb 2008 18:52:15 +0000 (18:52 +0000)]
5.8.x and earler have a SUBPROCESS line in the dump of a PVIO.

p4raw-id: //depot/perl@33208

16 years agoChange 27244 wasn't quite correct. XSUB is dumped as 0x0, not 0.
Nicholas Clark [Sat, 2 Feb 2008 18:41:51 +0000 (18:41 +0000)]
Change 27244 wasn't quite correct. XSUB is dumped as 0x0, not 0.

p4raw-id: //depot/perl@33206

16 years agoRemove the _ prototype, as Maintainers is used by makemeta, and in turn
Nicholas Clark [Sat, 2 Feb 2008 17:01:43 +0000 (17:01 +0000)]
Remove the _ prototype, as Maintainers is used by makemeta, and in turn
that has to be run with the newly built perl. Which can be 5.8.x.

p4raw-id: //depot/perl@33193

16 years agoIn XS_PerlIO_get_layers() take advantage of the implementation of
Nicholas Clark [Sat, 2 Feb 2008 11:05:17 +0000 (11:05 +0000)]
In XS_PerlIO_get_layers() take advantage of the implementation of
PerlIO_get_layers(), by co-opting the new SVs it creates, rather than
copying them.

p4raw-id: //depot/perl@33182

16 years agoIn XS_re_regexp_pattern(), use newSVpvn_flags() to avoid calls to
Nicholas Clark [Sat, 2 Feb 2008 00:16:02 +0000 (00:16 +0000)]
In XS_re_regexp_pattern(), use newSVpvn_flags() to avoid calls to
sv_2mortal().

p4raw-id: //depot/perl@33181

16 years agoIn pp_split(), eliminate most (all?) of the conditional calls to
Nicholas Clark [Fri, 1 Feb 2008 22:27:38 +0000 (22:27 +0000)]
In pp_split(), eliminate most (all?) of the conditional calls to
sv_2mortal() by conditionally passing SVs_TEMP to newSVpvn_flags().

p4raw-id: //depot/perl@33178

16 years agoBreak apart the list of functions defined in universal.c by perl
Nicholas Clark [Fri, 1 Feb 2008 17:52:10 +0000 (17:52 +0000)]
Break apart the list of functions defined in universal.c by perl
version (from 5.8.8 upwards)

p4raw-id: //depot/perl@33170

16 years agoThe penultimate deparse test needs a name, else things can warn.
Nicholas Clark [Fri, 1 Feb 2008 10:38:03 +0000 (10:38 +0000)]
The penultimate deparse test needs a name, else things can warn.

p4raw-id: //depot/perl@33163

16 years agothreads::shared TODO test for outstanding bug
Jerry D. Hedden [Wed, 30 Jan 2008 09:15:25 +0000 (04:15 -0500)]
threads::shared TODO test for outstanding bug
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510801300615t1f9e8c68u5ff8caaeffb1a835@mail.gmail.com>

p4raw-id: //depot/perl@33154

16 years agoTypo fix in change #33058
Daniel Frederick Crisman [Wed, 30 Jan 2008 15:09:22 +0000 (10:09 -0500)]
Typo fix in change #33058

Subject: Re: [PATCH t/cmd/for.t] Regression tests for 'for reverse ..'
Message-ID: <20080130200922.GA20450@fury.crisman.org>
p4raw-link: @33058 on //depot/perl: 4b70616db4b88e90e04bbf6a612b803f6a4d8dc1

p4raw-id: //depot/perl@33153

16 years agodon't forbid brace groups with g++ 4.2.2
Robin Barker [Wed, 30 Jan 2008 18:42:25 +0000 (18:42 +0000)]
don't forbid brace groups with g++ 4.2.2
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A17@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33152

16 years agofix for regression to File/DosGlob.pm
Alex Davies [Wed, 30 Jan 2008 12:39:11 +0000 (07:39 -0500)]
fix for regression to File/DosGlob.pm
From: "Davies, Alex" <adavies@ptc.com>
Message-ID: <A69AA663CE9BBC44AE1DA72483DE15DE07E02181@HQ-MAIL3.ptcnet.ptc.com>

Fixes File::DosGlob's handling of drive relative glob patterns
(e.g. "D:*pl")

p4raw-id: //depot/perl@33144

16 years agoRe: [perl #50322] CGITempFile causes "Insecure dependency in sprintf" in perl 5.10.0
Steffen Mueller [Mon, 28 Jan 2008 05:16:19 +0000 (21:16 -0800)]
Re: [perl #50322] CGITempFile causes "Insecure dependency in sprintf" in perl 5.10.0
From: "Steffen Mueller via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4355-1201526176-323.50322-94-0@perl.org>

Fixes [perl #50322]

p4raw-id: //depot/perl@33143

16 years agoFix compiler warning introduced in DEBUGGING builds by #33103
Steve Hay [Thu, 31 Jan 2008 09:12:36 +0000 (09:12 +0000)]
Fix compiler warning introduced in DEBUGGING builds by #33103

p4raw-id: //depot/perl@33142