This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
12 years agoAdd MUTABLE_CV(), and eliminate (CV *) casts in *.c.
Nicholas Clark [Wed, 29 Oct 2008 21:57:34 +0000 (21:57 +0000)]
Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.

p4raw-id: //depot/perl@34647

12 years agoAs Perl_cv_const_sv() now takes a const CV *, use that as the cast for
Nicholas Clark [Wed, 29 Oct 2008 21:36:17 +0000 (21:36 +0000)]
As Perl_cv_const_sv() now takes a const CV *, use that as the cast for
its arguments.

p4raw-id: //depot/perl@34646

12 years agoPerl_cv_const_sv() takes a const CV *const cv argument.
Nicholas Clark [Wed, 29 Oct 2008 21:24:54 +0000 (21:24 +0000)]
Perl_cv_const_sv() takes a const CV *const cv argument.

p4raw-id: //depot/perl@34645

12 years agoUpgrade to PathTools 3.29.
Nicholas Clark [Wed, 29 Oct 2008 20:49:30 +0000 (20:49 +0000)]
Upgrade to PathTools 3.29.

p4raw-id: //depot/perl@34643

12 years agoRemove redundant API definitions from '=for apidoc' sections.
Marcus Holland-Moritz [Wed, 29 Oct 2008 20:39:43 +0000 (20:39 +0000)]
Remove redundant API definitions from '=for apidoc' sections.
Those are already in embed.fnc, and most of them were already
outdated. This also fixes the docs for pv_escape and pv_pretty.

p4raw-id: //depot/perl@34642

12 years agomake distclean patch from Andy Armstrong.
Nicholas Clark [Wed, 29 Oct 2008 19:41:54 +0000 (19:41 +0000)]
make distclean patch from Andy Armstrong.
(Distclean isn't perfect yet because there's a spurious directory tree
created but not cleaned up by ext/Test/Harness/t/harness.t, but Andy is
working on fixing the cause)
No idea about the state of play of disclean on VMS - I couldn't see how
or where to add the three extra directories to it.

p4raw-id: //depot/perl@34640

12 years agoAvoid leaving a VAR.txt after testing terminates on any platform where
Nicholas Clark [Wed, 29 Oct 2008 19:34:05 +0000 (19:34 +0000)]
Avoid leaving a VAR.txt after testing terminates on any platform where
you can't unlink an open file by instead opening $^X for read to get a
file handle for test purposes.

p4raw-id: //depot/perl@34639

12 years agoUpgrade to CPAN-1.9301.
Steve Peters [Wed, 29 Oct 2008 19:21:49 +0000 (19:21 +0000)]
Upgrade to CPAN-1.9301.

p4raw-id: //depot/perl@34638

12 years agoUpgrade to File::Path 2.06_07. (an e-mail from David)
Nicholas Clark [Wed, 29 Oct 2008 16:50:40 +0000 (16:50 +0000)]
Upgrade to File::Path 2.06_07. (an e-mail from David)

p4raw-id: //depot/perl@34637

12 years agoOne more for Haiku
H.Merijn Brand [Wed, 29 Oct 2008 08:31:39 +0000 (08:31 +0000)]
One more for Haiku

p4raw-id: //depot/perl@34634

12 years agoTwo haiku files to add
H.Merijn Brand [Wed, 29 Oct 2008 08:18:00 +0000 (08:18 +0000)]
Two haiku files to add

p4raw-id: //depot/perl@34631

12 years agoHaiku Port
Ingo Weinhold [Wed, 29 Oct 2008 02:25:44 +0000 (03:25 +0100)]
Haiku Port
Message-Id: <20081029022544.413.1@knochen-vm.localdomain>

p4raw-id: //depot/perl@34630

12 years agoEvery remaining (HV *) cast in *.c
Nicholas Clark [Tue, 28 Oct 2008 22:14:26 +0000 (22:14 +0000)]
Every remaining (HV *) cast in *.c

p4raw-id: //depot/perl@34629

12 years agoss_dup wrapper const casting analagous to change 34626.
Nicholas Clark [Tue, 28 Oct 2008 21:59:11 +0000 (21:59 +0000)]
ss_dup wrapper const casting analagous to change 34626.

p4raw-id: //depot/perl@34628

12 years agoConsting in S_find_uninit_var() and the routines that it calls.
Nicholas Clark [Tue, 28 Oct 2008 21:12:09 +0000 (21:12 +0000)]
Consting in S_find_uninit_var() and the routines that it calls.

p4raw-id: //depot/perl@34627

12 years agoSome consting in Perl_ss_dup(), and a few (HV*) casts that can be
Nicholas Clark [Tue, 28 Oct 2008 20:56:50 +0000 (20:56 +0000)]
Some consting in Perl_ss_dup(), and a few (HV*) casts that can be
(const HV *).

p4raw-id: //depot/perl@34626

12 years agoEliminate (HV *) casts in u*.c.
Nicholas Clark [Tue, 28 Oct 2008 20:13:55 +0000 (20:13 +0000)]
Eliminate (HV *) casts in u*.c.

p4raw-id: //depot/perl@34624

12 years agoA gaggle of casts in Perl_sv_magicext() that are (const ?V *).
Nicholas Clark [Tue, 28 Oct 2008 20:13:13 +0000 (20:13 +0000)]
A gaggle of casts in Perl_sv_magicext() that are (const ?V *).

p4raw-id: //depot/perl@34623

12 years agoTwo casts that are MUTABLE_?V.
Nicholas Clark [Tue, 28 Oct 2008 20:12:16 +0000 (20:12 +0000)]
Two casts that are MUTABLE_?V.

p4raw-id: //depot/perl@34622

12 years agoA couple of (COP*)s that can actually be (const COP *)s.
Nicholas Clark [Tue, 28 Oct 2008 19:51:07 +0000 (19:51 +0000)]
A couple of (COP*)s that can actually be (const COP *)s.

p4raw-id: //depot/perl@34621

12 years agoinstallperl patchlet
Andreas J. Koenig [Tue, 28 Oct 2008 05:11:20 +0000 (06:11 +0100)]
installperl patchlet
Message-ID: <87k5btpdef.fsf@k75.linux.bogus>
Date: Tue, 28 Oct 2008 05:11:20 +0100

p4raw-id: //depot/perl@34620

12 years agoAdd MUTABLE_HV(), and remove (HV *) casts from headers.
Nicholas Clark [Tue, 28 Oct 2008 18:30:54 +0000 (18:30 +0000)]
Add MUTABLE_HV(), and remove (HV *) casts from headers.

p4raw-id: //depot/perl@34619

12 years agoPerl_hv_placeholders_get() actually takes a const HV *hv.
Nicholas Clark [Tue, 28 Oct 2008 18:29:36 +0000 (18:29 +0000)]
Perl_hv_placeholders_get() actually takes a const HV *hv.

p4raw-id: //depot/perl@34618

12 years agofix for failed Gconvert detection under C++
Tony Cook [Tue, 28 Oct 2008 22:24:05 +0000 (09:24 +1100)]
fix for failed Gconvert detection under C++
Message-ID: <20081028112405.GA14163@mars.tony.develop-help.com>

p4raw-id: //depot/perl@34617

12 years agoUpgrade to File::Path 2.06_06. (a diff from David via http)
Nicholas Clark [Tue, 28 Oct 2008 11:27:58 +0000 (11:27 +0000)]
Upgrade to File::Path 2.06_06. (a diff from David via http)

p4raw-id: //depot/perl@34615

12 years agoCorrect SvVALID() and SvTAIL() - they are actually const.
Nicholas Clark [Mon, 27 Oct 2008 22:39:45 +0000 (22:39 +0000)]
Correct SvVALID() and SvTAIL() - they are actually const.

p4raw-id: //depot/perl@34613

12 years agoMHX notes that I have a superfluous void cast.
Nicholas Clark [Mon, 27 Oct 2008 22:22:50 +0000 (22:22 +0000)]
MHX notes that I have a superfluous void cast.

p4raw-id: //depot/perl@34612

12 years agoAfter the upgrade to 3.28_03 we need to revert change 34543.
Nicholas Clark [Mon, 27 Oct 2008 22:10:26 +0000 (22:10 +0000)]
After the upgrade to 3.28_03 we need to revert change 34543.

p4raw-id: //depot/perl@34611

12 years agoConvert all (CV *) casts to (const CV *). Convert (XPVCV*) casts to add
Nicholas Clark [Mon, 27 Oct 2008 21:43:01 +0000 (21:43 +0000)]
Convert all (CV *) casts to (const CV *). Convert (XPVCV*) casts to add
MUTABLE_PTR(), to validate that there is no casting away of const.

p4raw-id: //depot/perl@34610

12 years agoUpgrade to PathTools 3.28_03.
Nicholas Clark [Mon, 27 Oct 2008 21:34:55 +0000 (21:34 +0000)]
Upgrade to PathTools 3.28_03.

p4raw-id: //depot/perl@34609

12 years agoAdd MUTABLE_AV(), and remove (AV *) casts from headers.
Nicholas Clark [Mon, 27 Oct 2008 21:23:04 +0000 (21:23 +0000)]
Add MUTABLE_AV(), and remove (AV *) casts from headers.

p4raw-id: //depot/perl@34608

12 years agoGrab the second half of r10084 for cwd.t, which wasn't in change 33042.
Nicholas Clark [Mon, 27 Oct 2008 21:01:18 +0000 (21:01 +0000)]
Grab the second half of r10084 for cwd.t, which wasn't in change 33042.
Update the Changes file with changes from 3.26 to 3.28_01 inclusive.

p4raw-id: //depot/perl@34607

12 years agoUpgrade Cwd.xs to the Cwd.xs in PathTools 3.26_01:
Nicholas Clark [Mon, 27 Oct 2008 20:29:54 +0000 (20:29 +0000)]
Upgrade Cwd.xs to the Cwd.xs in PathTools 3.26_01:

- abs_path() on Unix(ish) platforms has been upgraded to a much later
  version of the underlying C code from BSD. [Michael Schwern]

- If strlcpy() and strlcat() aren't available on the user's system,
  we now use ppport.h to provide them, so our C code works. [Steve
  Peters]

This unwinds change 32710 (consting from Robin Barker of the old code)

p4raw-id: //depot/perl@34606

12 years agoAdd a macro MUTABLE_PTR(p), which on (non-pedantic) gcc will not cast
Nicholas Clark [Mon, 27 Oct 2008 20:25:46 +0000 (20:25 +0000)]
Add a macro MUTABLE_PTR(p), which on (non-pedantic) gcc will not cast
away const, returning a void *. Add MUTABLE_SV(sv) which uses this, and
replace all (SV *) casts either with MUTABLE_SV(sv), or (const SV *).

This probably still needs some work - assigning to SvPVX() and SvRV()
is now likely to generate a casting error. The core doesn't do this.
But as-is it's finding bugs that can be fixed.

p4raw-id: //depot/perl@34605

12 years agoBugs revealed by replacing (SV *) casts with something that doesn't
Nicholas Clark [Mon, 27 Oct 2008 20:22:36 +0000 (20:22 +0000)]
Bugs revealed by replacing (SV *) casts with something that doesn't
cast away const - AvFILL() doesn't guarantee that it won't modify the
AV * passed to it. So the prototype for Perl_av_len() needs to change,
and a const needs to go in Perl_magic_setarraylen().

p4raw-id: //depot/perl@34604

12 years agoFix x2p, which was broken by #34598 with -DPERL_MEM_LOG.
Marcus Holland-Moritz [Mon, 27 Oct 2008 19:26:50 +0000 (19:26 +0000)]
Fix x2p, which was broken by #34598 with -DPERL_MEM_LOG.

p4raw-id: //depot/perl@34603

12 years agoFix prototype detection for C++
Marcus Holland-Moritz [Sun, 26 Oct 2008 21:41:13 +0000 (22:41 +0100)]
Fix prototype detection for C++
Message-ID: <20081026214113.0a5dc1a3@r2d2>

p4raw-id: //depot/perl@34602

12 years agoNo, it's not a const SV* if we subsequently call
Marcus Holland-Moritz [Sun, 26 Oct 2008 22:20:48 +0000 (22:20 +0000)]
No, it's not a const SV* if we subsequently call
SvREFCNT_dec() on it.

p4raw-id: //depot/perl@34600

12 years agoMake sure Perl_mem_log_(?:alloc|realloc|free) have C linkage,
Marcus Holland-Moritz [Sun, 26 Oct 2008 20:54:43 +0000 (20:54 +0000)]
Make sure Perl_mem_log_(?:alloc|realloc|free) have C linkage,
so modules like Digest::MD5, that are including perl.h from
within an 'extern "C"' block, will actually see them when
building with a C++ compiler.

Also make sure that Perl_mem_log_(?:new|del)_sv are only seen
by sv.c.

p4raw-id: //depot/perl@34598

12 years agoCope with brain damage in PerlIO::via, which will let you fclose() the
Nicholas Clark [Sun, 26 Oct 2008 18:37:35 +0000 (18:37 +0000)]
Cope with brain damage in PerlIO::via, which will let you fclose() the
same FILE * twice, thanks to it calling out to Perl space inside the
close call tree, with the underlying PerlIO * already closed, but not
unlinked.

p4raw-id: //depot/perl@34596

12 years agoUSE_FAST_STDIO can affect behaviour, so list it in -V
Nicholas Clark [Sun, 26 Oct 2008 13:32:20 +0000 (13:32 +0000)]
USE_FAST_STDIO can affect behaviour, so list it in -V

p4raw-id: //depot/perl@34595

12 years agoUpgrade to ExtUtils::Manifest 1.55.
Nicholas Clark [Sat, 25 Oct 2008 15:23:48 +0000 (15:23 +0000)]
Upgrade to ExtUtils::Manifest 1.55.

p4raw-id: //depot/perl@34591

12 years agoUpgrade to ExtUtils::Command 1.15
Nicholas Clark [Sat, 25 Oct 2008 15:06:56 +0000 (15:06 +0000)]
Upgrade to ExtUtils::Command 1.15

p4raw-id: //depot/perl@34590

12 years agolib/ExtUtils/t/eu_command.t belongs to ExtUtils-Command, and so does
Nicholas Clark [Sat, 25 Oct 2008 14:58:32 +0000 (14:58 +0000)]
lib/ExtUtils/t/eu_command.t belongs to ExtUtils-Command, and so does
the about to be committed lib/ExtUtils/t/cp.t

p4raw-id: //depot/perl@34589

12 years agoUpdate copyright year in opcode.pl to reflect change 33364.
Nicholas Clark [Sat, 25 Oct 2008 13:05:07 +0000 (13:05 +0000)]
Update copyright year in opcode.pl to reflect change 33364.

p4raw-id: //depot/perl@34587

12 years agoUpdate copyright year in embed.pl, and everything that it builds.
Nicholas Clark [Sat, 25 Oct 2008 12:47:01 +0000 (12:47 +0000)]
Update copyright year in embed.pl, and everything that it builds.

p4raw-id: //depot/perl@34586

12 years agoUpdate copyright years.
Nicholas Clark [Sat, 25 Oct 2008 12:23:01 +0000 (12:23 +0000)]
Update copyright years.

p4raw-id: //depot/perl@34585

12 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: <4902EF33.7000707@sneakemail.com>
Date: Sat, 25 Oct 2008 12:04:35 +0200

p4raw-id: //depot/perl@34584

12 years agoUpgrade to lib.pm 0.61.
Nicholas Clark [Sat, 25 Oct 2008 11:23:39 +0000 (11:23 +0000)]
Upgrade to lib.pm 0.61.

p4raw-id: //depot/perl@34583

12 years agoIntegrate:
Vincent Pit [Thu, 23 Oct 2008 00:40:36 +0000 (02:40 +0200)]
Integrate:
[ 34580]
Subject: Re: [perl #60034] (?>) causes wrongness on long string
Message-ID: <48FFABE4.2030507@profvince.com>

[just the changes, as TODOs]
p4raw-link: @34580 on //depot/maint-5.8/perl: 7e8969c0412490151f26944243e2767cf32aca95

p4raw-id: //depot/perl@34581
p4raw-integrated: from //depot/maint-5.8/perl@34579 'edit in'
t/op/pat.t (@34396..)

12 years agoMake C++ compilers happy #5: jump to 'do_write' crossed
Marcus Holland-Moritz [Sat, 25 Oct 2008 06:38:00 +0000 (06:38 +0000)]
Make C++ compilers happy #5: jump to 'do_write' crossed
initialization in dTHX.

Plus some consting, which also makes C++ happier.

p4raw-id: //depot/perl@34579

12 years agoMake C++ compilers happy #4: move cast so Newc() and
Marcus Holland-Moritz [Fri, 24 Oct 2008 21:49:21 +0000 (21:49 +0000)]
Make C++ compilers happy #4: move cast so Newc() and
Renewc() will return the correct type under PERL_MEM_LOG.

p4raw-id: //depot/perl@34577

12 years agoMake C++ compilers happy #3: make implicit cast
Marcus Holland-Moritz [Fri, 24 Oct 2008 21:45:44 +0000 (21:45 +0000)]
Make C++ compilers happy #3: make implicit cast
from 'void *' explicit.

p4raw-id: //depot/perl@34576

12 years agoMake C++ compilers happy #2: const POD without initializer
Marcus Holland-Moritz [Fri, 24 Oct 2008 21:41:36 +0000 (21:41 +0000)]
Make C++ compilers happy #2: const POD without initializer
is an error for g++, even when static.

p4raw-id: //depot/perl@34575

12 years agoMake C++ compilers happy #1: "typename" is a C++ keyword.
Marcus Holland-Moritz [Fri, 24 Oct 2008 21:38:48 +0000 (21:38 +0000)]
Make C++ compilers happy #1: "typename" is a C++ keyword.

p4raw-id: //depot/perl@34574

12 years agoUpgrade to SelfLoader 1.17.
Nicholas Clark [Fri, 24 Oct 2008 21:00:44 +0000 (21:00 +0000)]
Upgrade to SelfLoader 1.17.

p4raw-id: //depot/perl@34573

12 years agoAdd PL_sv_serial to makedef.pl, so that it is skipped approriately
Nicholas Clark [Fri, 24 Oct 2008 20:43:36 +0000 (20:43 +0000)]
Add PL_sv_serial to makedef.pl, so that it is skipped approriately
on AIX, OS/2, Win32 etc

p4raw-id: //depot/perl@34571

12 years agoAdd PERL_ARGS_ASSERT_MEM_LOG_COMMON to S_mem_log_common().
Marcus Holland-Moritz [Fri, 24 Oct 2008 18:33:26 +0000 (18:33 +0000)]
Add PERL_ARGS_ASSERT_MEM_LOG_COMMON to S_mem_log_common().

p4raw-id: //depot/perl@34570

12 years agoRun 'make regen' for #34567 and #34568.
Marcus Holland-Moritz [Fri, 24 Oct 2008 16:37:49 +0000 (16:37 +0000)]
Run 'make regen' for #34567 and #34568.

p4raw-id: //depot/perl@34569

12 years agoAdd SV allocation tracing to -Dm and PERL_MEM_LOG
Marcus Holland-Moritz [Wed, 22 Oct 2008 01:37:31 +0000 (03:37 +0200)]
Add SV allocation tracing to -Dm and PERL_MEM_LOG
Message-ID: <20081022013731.23b5a2e5@r2d2>

p4raw-id: //depot/perl@34568

12 years agoRefactor Perl_mem_log_ functions
Marcus Holland-Moritz [Wed, 22 Oct 2008 01:37:21 +0000 (03:37 +0200)]
Refactor Perl_mem_log_ functions
Message-ID: <20081022013721.374a490c@r2d2>

p4raw-id: //depot/perl@34567

12 years agoRe: [perl #60022] Typo in perldata
Daniel Frederick Crisman [Thu, 23 Oct 2008 20:14:56 +0000 (16:14 -0400)]
Re: [perl #60022] Typo in perldata
Message-ID: <20081024001456.GA4137@fury.crisman.org>

Change from cardinal to ordinal numbering to avoid confusion.

p4raw-id: //depot/perl@34566

12 years agoWhen testing the case sensitivity settings of the process
Craig A. Berry [Thu, 23 Oct 2008 00:26:03 +0000 (00:26 +0000)]
When testing the case sensitivity settings of the process
on VMS, be a little more sensitive to older versions that
don't have the capability.

p4raw-id: //depot/perl@34562

12 years agoHandle a filename with a tilde in it. Otherwise the build dies
Craig A. Berry [Thu, 23 Oct 2008 00:19:44 +0000 (00:19 +0000)]
Handle a filename with a tilde in it.  Otherwise the build dies
on Bar.pm~ at MANIFEST check time when building on an ODS-2 volume.

p4raw-id: //depot/perl@34561

12 years agoUpgrade to Devel::PPPort 3.14_03
Marcus Holland-Moritz [Tue, 21 Oct 2008 21:23:00 +0000 (21:23 +0000)]
Upgrade to Devel::PPPort 3.14_03

p4raw-id: //depot/perl@34555

12 years agoJerry spotted that as a result of change 34483 which upgrades blead to
Nicholas Clark [Tue, 21 Oct 2008 20:00:16 +0000 (20:00 +0000)]
Jerry spotted that as a result of change 34483 which upgrades blead to
Test::Simple 0.82, lib/DB.t is now issuing a warning. His original
suggestion was ok(!defined ...) - he, Merijn and I independently
refined this to isnt(..., undef)

p4raw-id: //depot/perl@34554

12 years agoAdd BinGOs to AUTHORS, and a second e-mail address for Shlomi
Nicholas Clark [Tue, 21 Oct 2008 19:24:27 +0000 (19:24 +0000)]
Add BinGOs to AUTHORS, and a second e-mail address for Shlomi

p4raw-id: //depot/perl@34553

12 years agoDisentangle the ownership of tests in lib/ExtUtils/
Nicholas Clark [Tue, 21 Oct 2008 13:36:17 +0000 (13:36 +0000)]
Disentangle the ownership of tests in lib/ExtUtils/

p4raw-id: //depot/perl@34548

12 years agoFuture-proof the FreeBSD hints - assume that FreeBSD 8, 9 etc behave
Nicholas Clark [Tue, 21 Oct 2008 11:15:45 +0000 (11:15 +0000)]
Future-proof the FreeBSD hints - assume that FreeBSD 8, 9 etc behave
like 7, not 6 and earlier.

p4raw-id: //depot/perl@34546

12 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

12 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

12 years agoCwd.xs won't load in development releases, unless we munge the
Nicholas Clark [Tue, 21 Oct 2008 06:37:13 +0000 (06:37 +0000)]
Cwd.xs won't load in development releases, unless we munge the
XS_VERSION.

p4raw-id: //depot/perl@34543

12 years agoFreeBSD 7 libc_r detection
Tony Cook [Tue, 21 Oct 2008 10:26:30 +0000 (21:26 +1100)]
FreeBSD 7 libc_r detection
Message-ID: <20081020232630.GA20563@mars.tony.develop-help.com>
Date: Tue, 21 Oct 2008 10:26:30 +1100

p4raw-id: //depot/perl@34542

12 years agoUpgrade to ExtUtils-MakeMaker-6.48
Nicholas Clark [Mon, 20 Oct 2008 20:29:13 +0000 (20:29 +0000)]
Upgrade to ExtUtils-MakeMaker-6.48

p4raw-id: //depot/perl@34541

12 years agoBump the $VERSION of File::stat (documentation changed).
Nicholas Clark [Mon, 20 Oct 2008 15:12:36 +0000 (15:12 +0000)]
Bump the $VERSION of File::stat (documentation changed).

p4raw-id: //depot/perl@34531

12 years agoBump IPC::Open2's $VERSION. (The docs changed.)
Nicholas Clark [Mon, 20 Oct 2008 14:30:41 +0000 (14:30 +0000)]
Bump IPC::Open2's $VERSION. (The docs changed.)

p4raw-id: //depot/perl@34529

12 years agoChange "use $foo; 1" in evals to "require $foo; 1" to avoid breaking
Nicholas Clark [Mon, 20 Oct 2008 14:15:04 +0000 (14:15 +0000)]
Change "use $foo; 1" in evals to "require $foo; 1" to avoid breaking
even more tests if use is borked, but not require.

p4raw-id: //depot/perl@34528

12 years agoAs well as @INC, also convert $^X to an absolute path in MBTest.
Nicholas Clark [Mon, 20 Oct 2008 14:03:42 +0000 (14:03 +0000)]
As well as @INC, also convert $^X to an absolute path in MBTest.

p4raw-id: //depot/perl@34526

12 years agoChange the plan - 2.14 gets the copy permission behaviour change,
Nicholas Clark [Mon, 20 Oct 2008 09:03:08 +0000 (09:03 +0000)]
Change the plan - 2.14 gets the copy permission behaviour change,
2.13 is the bug fix fix.

p4raw-id: //depot/perl@34521

12 years ago[perl #59650] File::Copy does not handle file objects sanely
rabbit+bugs@rabbit.us [Mon, 6 Oct 2008 04:19:10 +0000 (21:19 -0700)]
[perl #59650] File::Copy does not handle file objects sanely
From: "rabbit+bugs@rabbit.us (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-29762-1223291950-1373.59650-75-0@perl.org>

Suggested change modified to cope with the hoop-jumping needed to keep
File::Copy working whilst bootstrapping the core build.

Some tests by me, to try to ensure that (arguablly buggy) IO::Scalar
will still work.

p4raw-id: //depot/perl@34519

12 years agoUpgrade PathTools to 3.28_01
Nicholas Clark [Sun, 19 Oct 2008 10:23:11 +0000 (10:23 +0000)]
Upgrade PathTools to 3.28_01

p4raw-id: //depot/perl@34514

12 years agoSuggestion from Slaven - reverse the part of 23348 that removed the
Nicholas Clark [Sat, 18 Oct 2008 21:20:19 +0000 (21:20 +0000)]
Suggestion from Slaven - reverse the part of 23348 that removed the
conditional call to dl_expandspec() on platforms that default
$do_expand to false. autorequire, rightly or wrongly, is relying on
being able to set $do_expand to true.

p4raw-id: //depot/perl@34513

12 years agoUpdate Porting/makemeta to generate a META.yml compliant with the 1.4
Nicholas Clark [Sat, 18 Oct 2008 19:08:07 +0000 (19:08 +0000)]
Update Porting/makemeta to generate a META.yml compliant with the 1.4
spec. (Add a generated_by, and rename private to no_index.)

p4raw-id: //depot/perl@34510

12 years agoRe-run Porting/makemeta
Nicholas Clark [Sat, 18 Oct 2008 19:07:10 +0000 (19:07 +0000)]
Re-run Porting/makemeta

p4raw-id: //depot/perl@34509

12 years agoMANIFEST update relating to change 34504.
Nicholas Clark [Sat, 18 Oct 2008 18:43:44 +0000 (18:43 +0000)]
MANIFEST update relating to change 34504.

p4raw-id: //depot/perl@34508

12 years agoFix memory leak in // caused by single-char character class
Marcus Holland-Moritz [Sat, 18 Oct 2008 18:11:57 +0000 (18:11 +0000)]
Fix memory leak in // caused by single-char character class
optimization. This was most probably introduced with #28262.
This change fixes perl #59516.

p4raw-id: //depot/perl@34507

12 years agoFix memory leak in qr// operator. This was most probably
Marcus Holland-Moritz [Sat, 18 Oct 2008 18:04:40 +0000 (18:04 +0000)]
Fix memory leak in qr// operator. This was most probably
introduced with #30849.

p4raw-id: //depot/perl@34506

12 years agoDamian has transferred Filter::Simple to p5p. Bump its version to 0.83
Nicholas Clark [Sat, 18 Oct 2008 17:39:33 +0000 (17:39 +0000)]
Damian has transferred Filter::Simple to p5p. Bump its version to 0.83
with the new contact details, and remove the out-of-date README from
core.

p4raw-id: //depot/perl@34505

12 years agoy2038 time checks have overflow checks. Added documentation and
H.Merijn Brand [Sat, 18 Oct 2008 15:26:02 +0000 (15:26 +0000)]
y2038 time checks have overflow checks. Added documentation and
test programs in Porting/

p4raw-id: //depot/perl@34504

12 years agoUpgrade to ExtUtils-MakeMaker-6.47_02
Nicholas Clark [Fri, 17 Oct 2008 08:46:28 +0000 (08:46 +0000)]
Upgrade to ExtUtils-MakeMaker-6.47_02

p4raw-id: //depot/perl@34498

12 years agoClarify which save types are in mathoms, which aren't used, and which
Nicholas Clark [Thu, 16 Oct 2008 20:18:39 +0000 (20:18 +0000)]
Clarify which save types are in mathoms, which aren't used, and which
still are in use.

p4raw-id: //depot/perl@34494

12 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

12 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

12 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

12 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" <jos@dwim.org>
Message-Id: <D694D518-2404-4476-B578-A5B95F89660A@dwim.org>

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

p4raw-id: //depot/perl@34486

12 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

12 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

12 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

12 years agoUpgrade to ExtUtils-MakeMaker-6.47_01
Nicholas Clark [Wed, 15 Oct 2008 11:27:28 +0000 (11:27 +0000)]
Upgrade to ExtUtils-MakeMaker-6.47_01

p4raw-id: //depot/perl@34482

12 years agoStorable.thaw segv on blessed reference to overloaded object
YAMASHINA Hio [Wed, 15 Oct 2008 17:34:35 +0000 (02:34 +0900)]
Storable.thaw segv on blessed reference to overloaded object
Message-Id: <20081015173435.dd95b362.hio@hio.jp>

p4raw-id: //depot/perl@34481