This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoAdd a dump to help tracing taint bugs, by Chip Salzenberg
Rafael Garcia-Suarez [Sat, 15 Nov 2008 10:15:22 +0000 (10:15 +0000)]
Add a dump to help tracing taint bugs, by Chip Salzenberg

p4raw-id: //depot/perl@34837

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

p4raw-id: //depot/perl@34836

15 years agoFuture-proof hints/linux.sh against Sun's cc -V output.
Andy Dougherty [Fri, 14 Nov 2008 13:01:13 +0000 (08:01 -0500)]
Future-proof hints/linux.sh against Sun's cc -V output.
Message-ID: <Pine.LNX.4.64.0811141300220.6539@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@34835

15 years agoVarious patches added to RT #21568 from julian@mehnle.net.
Steve Peters [Fri, 14 Nov 2008 15:12:18 +0000 (15:12 +0000)]
Various patches added to RT #21568 from julian@mehnle.net.

p4raw-id: //depot/perl@34834

15 years ago[perl #48489] patch to fix perl bug #7013
bharanee rathna [Tue, 11 Dec 2007 15:25:21 +0000 (07:25 -0800)]
[perl #48489] patch to fix perl bug #7013
From: "bharanee rathna" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-28750-1197415521-1978.48489-75-0@perl.org>

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

p4raw-id: //depot/perl@34833

15 years agoAdd TODO test for :lvalue under -d.
Florian Ragwitz [Fri, 14 Nov 2008 11:24:57 +0000 (12:24 +0100)]
Add TODO test for :lvalue under -d.
Message-Id: <1226658297-24025-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34832

15 years ago[perl #948] [PATCH] Allow tied $,
Chip Salzenberg [Fri, 14 Nov 2008 00:44:36 +0000 (16:44 -0800)]
[perl #948] [PATCH] Allow tied $,
Message-ID: <20081114084436.GJ5779@tytlal.topaz.cx>

p4raw-id: //depot/perl@34831

15 years agoFix error message label
Rafael Garcia-Suarez [Thu, 13 Nov 2008 10:57:27 +0000 (10:57 +0000)]
Fix error message label
(noticed by Abigail)

p4raw-id: //depot/perl@34830

15 years agoRe: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal handler...
Chip Salzenberg [Wed, 12 Nov 2008 15:45:04 +0000 (07:45 -0800)]
Re: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal handler to SIG_DFL
Message-ID: <20081112234504.GI2062@tytlal.topaz.cx>

Updated patch to retain source compatibility.

Plus using the correct PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS
macro and running make regen.

p4raw-id: //depot/perl@34829

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

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

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

p4raw-id: //depot/perl@34828

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

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

p4raw-id: //depot/perl@34827

15 years agoSome deprecated warnings were also in the syntax category
Rafael Garcia-Suarez [Wed, 12 Nov 2008 15:14:19 +0000 (15:14 +0000)]
Some deprecated warnings were also in the syntax category
(one of them was spotted by Abigail.)
Plus, document the undocumented warning
"Use of comma-less variable list is deprecated"

p4raw-id: //depot/perl@34825

15 years agoSkip #ifdefs and other preprocessor lines when parsing the
Gisle Aas [Wed, 12 Nov 2008 14:50:14 +0000 (14:50 +0000)]
Skip #ifdefs and other preprocessor lines when parsing the
local_patches section of patchlevel.h.

p4raw-id: //depot/perl@34824

15 years agosizeof(long double) is 8 bytes for all Microsoft compilers
Gisle Aas [Wed, 12 Nov 2008 12:30:19 +0000 (12:30 +0000)]
sizeof(long double) is 8 bytes for all Microsoft compilers
from Jan Dubois

p4raw-id: //depot/perl@34823

15 years agoPOD markup fix
Gisle Aas [Wed, 12 Nov 2008 12:13:03 +0000 (12:13 +0000)]
POD markup fix

p4raw-id: //depot/perl@34822

15 years agoRegenerate API docs
Rafael Garcia-Suarez [Wed, 12 Nov 2008 10:42:21 +0000 (10:42 +0000)]
Regenerate API docs

p4raw-id: //depot/perl@34820

15 years agoRe: [perl #60360] [PATCH] local $SIG{FOO} = sub {...}; sets signal
Chip Salzenberg [Mon, 10 Nov 2008 16:00:40 +0000 (08:00 -0800)]
Re: [perl #60360] [PATCH] local $SIG{FOO} = sub {...}; sets signal
Message-ID: <20081111000040.GB19329@tytlal.topaz.cx>

p4raw-id: //depot/perl@34819

15 years agoSync up with Digest-MD5-2.37 from CPAN
Gisle Aas [Wed, 12 Nov 2008 09:40:43 +0000 (09:40 +0000)]
Sync up with Digest-MD5-2.37 from CPAN

p4raw-id: //depot/perl@34818

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

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

15 years agoRelocations errors with Intel CC 10 on 64 bits archs
Vincent Pit [Tue, 11 Nov 2008 15:58:07 +0000 (16:58 +0100)]
Relocations errors with Intel CC 10 on 64 bits archs
Message-ID: <49199D7F.7030304@profvince.com>

p4raw-id: //depot/perl@34815

15 years agoadd -t (tabular option) to Porting/corecpan.pl
Dave Mitchell [Mon, 10 Nov 2008 23:28:35 +0000 (23:28 +0000)]
add -t (tabular option) to Porting/corecpan.pl
This allows multiple source trees to be compared

p4raw-id: //depot/perl@34814

15 years agoAllow lvalue usage of SvRV() and add MUTABLE_SV() check.
Marcus Holland-Moritz [Mon, 10 Nov 2008 19:13:20 +0000 (19:13 +0000)]
Allow lvalue usage of SvRV() and add MUTABLE_SV() check.
Also add new SvRV_const() macro for read-only access.

p4raw-id: //depot/perl@34804

15 years agoUpdate Maintainers.pl
Steffen Mueller [Mon, 10 Nov 2008 09:41:40 +0000 (10:41 +0100)]
Update Maintainers.pl
Message-ID: <20081110084141.12299.qmail@lists.develooper.com>

p4raw-id: //depot/perl@34792

15 years ago[patch@34779] Get posix exit mode working/tested on VMS
John E. Malmberg [Sun, 9 Nov 2008 00:46:03 +0000 (18:46 -0600)]
[patch@34779] Get posix exit mode working/tested on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4916872B.5040500@qsl.net>

p4raw-id: //depot/perl@34790

15 years agoBackslashes inside '' inside Makefiles seem to be non-portable in their
Nicholas Clark [Mon, 10 Nov 2008 11:58:41 +0000 (11:58 +0000)]
Backslashes inside '' inside Makefiles seem to be non-portable in their
effects. GNU make leaves them in as literals, BSD make takes them out.
Not that we noticed, as the construction in question was valid Perl
syntax either way, but File::Find 1.14 is enforcing more on its
arguments.

p4raw-id: //depot/perl@34789

15 years ago[perl #57926][PATCH] File::Find Bug
Renee Baecker [Fri, 22 Aug 2008 16:42:02 +0000 (18:42 +0200)]
[perl #57926][PATCH] File::Find Bug
Message-Id: <20080822144202.659AB99C002@rserv16.sitepush.net>

p4raw-id: //depot/perl@34786

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

#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS = 0

as signalled by the environment variable REAL_POSIX_CC being true.

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

p4raw-id: //depot/perl@34785

15 years agoUpgrade to File::Path 2.07
Nicholas Clark [Sun, 9 Nov 2008 19:54:42 +0000 (19:54 +0000)]
Upgrade to File::Path 2.07

p4raw-id: //depot/perl@34784

15 years agoFix warning code in Perl_sv_vcatpvfn() to make the TODO
Marcus Holland-Moritz [Sun, 9 Nov 2008 13:42:58 +0000 (13:42 +0000)]
Fix warning code in Perl_sv_vcatpvfn() to make the TODO
tests introduced with #34781 pass. Add some more warning
tests to t/lib/warnings/sv.

p4raw-id: //depot/perl@34783

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

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

p4raw-id: //depot/perl@34782

15 years agoUpdate format warning tests to expect "%lld" instead of "%d"
Marcus Holland-Moritz [Sun, 9 Nov 2008 09:52:31 +0000 (09:52 +0000)]
Update format warning tests to expect "%lld" instead of "%d"
when "%lld" was in the format string. Mark these warnings as
TODO until this is fixed.

p4raw-id: //depot/perl@34781

15 years ago"Perl_newSVpvf("%lld")" is broken
Hugo van der Sanden [Sat, 8 Nov 2008 13:29:57 +0000 (13:29 +0000)]
"Perl_newSVpvf("%lld")" is broken
Message-Id: <200811081329.mA8DTv7e018896@zen.crypt.org>

Plus some test cases.

p4raw-id: //depot/perl@34780

15 years agoMake sure PerlIO::via doesn't leave its old GV's hanging
Marcus Holland-Moritz [Sat, 8 Nov 2008 18:31:09 +0000 (18:31 +0000)]
Make sure PerlIO::via doesn't leave its old GV's hanging
in the stash they were created in. Steal the idea from
IO::File to just delete the stash entry after creating
the GV.
This fixes perl #59268.

p4raw-id: //depot/perl@34779

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

p4raw-id: //depot/perl@34778

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

p4raw-id: //depot/perl@34777

15 years agoAssigning to DEFSV leaks if PL_defgv's gp_sv isn't set.
Marcus Holland-Moritz [Sat, 8 Nov 2008 12:38:36 +0000 (12:38 +0000)]
Assigning to DEFSV leaks if PL_defgv's gp_sv isn't set.
As Nicholas already noted in a FIXME, assigning to DEFSV should
use GvSV instead of GvSVn. This change ensures that, at least
under -DPERL_CORE, DEFSV cannot be assigned to and introduces
a DEFSV_set macro to allow setting DEFSV.
This fixes #53038: map leaks memory.

p4raw-id: //depot/perl@34776

15 years agoRe: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
Goro Fuji [Mon, 7 Jul 2008 08:04:52 +0000 (17:04 +0900)]
Re: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
From: "Goro Fuji" <gfuji@cpan.org>
Message-ID: <efb9c59b0807061604q476025e9n85893f131a6bf23e@mail.gmail.com>

p4raw-id: //depot/perl@34775

15 years ago[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
Goro Fuji [Sun, 25 May 2008 23:10:42 +0000 (16:10 -0700)]
[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
From: "Goro Fuji" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-11257-1211782242-1590.54828-75-0@perl.org>

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

p4raw-id: //depot/perl@34774

15 years agoRe: [perl #57322] perlbug AutoReply: ungetc() to :scalar might cause problems
Goro Fuji [Sun, 27 Jul 2008 14:37:45 +0000 (23:37 +0900)]
Re: [perl #57322] perlbug AutoReply: ungetc() to :scalar might cause problems
From: "Goro Fuji" <gfuji@cpan.org>
Message-ID: <efb9c59b0807262237r62497f36g4f6d6881bb684a53@mail.gmail.com>

p4raw-id: //depot/perl@34773

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

p4raw-id: //depot/perl@34772

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

p4raw-id: //depot/perl@34771

15 years agoRevert SvPVX() to allow lvalue usage, but also add a
Marcus Holland-Moritz [Fri, 7 Nov 2008 22:33:39 +0000 (22:33 +0000)]
Revert SvPVX() to allow lvalue usage, but also add a
MUTABLE_SV() check. Use SvPVX_const() instead of SvPVX()
where only a const SV* is available. Also fix two falsely
consted pointers in Perl_sv_2pv_flags().

p4raw-id: //depot/perl@34770

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

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

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

#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1

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

p4raw-id: //depot/perl@34769

15 years agoA small refactoring based on a comment in an old RT ticket (RT
Steve Peters [Fri, 7 Nov 2008 17:23:05 +0000 (17:23 +0000)]
A small refactoring based on a comment in an old RT ticket (RT
#4362 in case you were wondering).

p4raw-id: //depot/perl@34768

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

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

p4raw-id: //depot/perl@34766

15 years agoUpgrade to Pod-Perldoc-3.15
Steve Hay [Fri, 7 Nov 2008 11:32:36 +0000 (11:32 +0000)]
Upgrade to Pod-Perldoc-3.15

p4raw-id: //depot/perl@34765

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

p4raw-id: //depot/perl@34764

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

p4raw-id: //depot/perl@34763

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

p4raw-id: //depot/perl@34762

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

p4raw-id: //depot/perl@34761

15 years agolib/Test/Tutorial.pod is part of Test-Simple
Steve Hay [Fri, 7 Nov 2008 09:29:42 +0000 (09:29 +0000)]
lib/Test/Tutorial.pod is part of Test-Simple

p4raw-id: //depot/perl@34760

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

p4raw-id: //depot/perl@34759

15 years agoUpgrade to podlators-2.2.0
Steve Hay [Fri, 7 Nov 2008 08:47:26 +0000 (08:47 +0000)]
Upgrade to podlators-2.2.0

p4raw-id: //depot/perl@34758

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

p4raw-id: //depot/perl@34757

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

p4raw-id: //depot/perl@34756

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

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

* Make it possible to make tests in re_tests todo.

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

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

p4raw-id: //depot/perl@34755

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

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

p4raw-id: //depot/perl@34747

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

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

p4raw-id: //depot/perl@34746

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

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

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

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

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

Includes the following changes from ExtUtils::Install:

1.50_04

SVN revision 41.

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

1.50_03

SVN revision 40.

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

1.50_02

SVN revision 39.

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

http://public.activestate.com/cgi-bin/perlbrowse/p/33567

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

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

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

Includes changes from Activestate/ActivePerl:

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

http://rt.cpan.org/Public/Bug/Display.html?id=5903

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

http://rt.cpan.org/Ticket/Display.html?id=37727

p4raw-id: //depot/perl@34742

15 years agoUpgrade to File::Path 2.06_08.
Nicholas Clark [Wed, 5 Nov 2008 00:29:57 +0000 (00:29 +0000)]
Upgrade to File::Path 2.06_08.

p4raw-id: //depot/perl@34733

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

p4raw-id: //depot/perl@34714

15 years agoThe breakage caused by #34653 (sh|c)ould have been detected
Marcus Holland-Moritz [Mon, 3 Nov 2008 22:25:09 +0000 (22:25 +0000)]
The breakage caused by #34653 (sh|c)ould have been detected
by the compiler. So further improve the STR_WITH_LEN() macro.

p4raw-id: //depot/perl@34712

15 years agoFix DBM module handling broken by #34653.
Marcus Holland-Moritz [Mon, 3 Nov 2008 22:19:47 +0000 (22:19 +0000)]
Fix DBM module handling broken by #34653.

p4raw-id: //depot/perl@34710

15 years agoRe: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2)
Tim Bunce [Mon, 3 Nov 2008 16:25:37 +0000 (16:25 +0000)]
Re: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2)
Message-ID: <20081103162537.GB45762@timac.local>
Date: Mon, 3 Nov 2008 16:25:37 +0000

p4raw-id: //depot/perl@34706

15 years agoRe: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2)
Tim Bunce [Mon, 3 Nov 2008 16:01:31 +0000 (16:01 +0000)]
Re: @{"_<$filename"} is unreasonably tied to use of DB::DB ($^P & 0x2)
Message-ID: <20081103160130.GA45762@timac.local>
Date: Mon, 3 Nov 2008 16:01:31 +0000

p4raw-id: //depot/perl@34705

15 years ago[perl #60300] doc Carp $Carp::Internal{__PACKAGE__} example
Kevin Ryde [Sat, 1 Nov 2008 16:27:09 +0000 (09:27 -0700)]
[perl #60300] doc Carp $Carp::Internal{__PACKAGE__} example
From: Kevin Ryde (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-29762-1225582029-1073.60300-75-0@perl.org>

p4raw-id: //depot/perl@34703

15 years agoRe: CPAN-1.9301 can't clean bootstrap .cpan
Andreas J. Koenig [Sun, 2 Nov 2008 11:22:29 +0000 (12:22 +0100)]
Re: CPAN-1.9301 can't clean bootstrap .cpan
Message-ID: <87abci5swq.fsf@k75.linux.bogus>
Date: Sun, 02 Nov 2008 11:22:29 +0100

p4raw-id: //depot/perl@34702

15 years agoSilence one more format warning
Rafael Garcia-Suarez [Mon, 3 Nov 2008 09:13:16 +0000 (09:13 +0000)]
Silence one more format warning

p4raw-id: //depot/perl@34700

15 years agoUpgrade to Time::Local 1.1901.
Nicholas Clark [Sun, 2 Nov 2008 21:41:07 +0000 (21:41 +0000)]
Upgrade to Time::Local 1.1901.

p4raw-id: //depot/perl@34699

15 years agoPATCH: Large omnibus patch to clean up the JRRT quotes
Tom Christiansen [Sun, 2 Nov 2008 01:43:39 +0000 (19:43 -0600)]
PATCH: Large omnibus patch to clean up the JRRT quotes
Message-ID: <25940.1225611819@chthon>
Date: Sun, 02 Nov 2008 01:43:39 -0600

p4raw-id: //depot/perl@34698

15 years ago[perl #56526] m/a{1,0}/ compiles but doesn't match a literal string
Michael Cartmell [Wed, 2 Jul 2008 05:17:58 +0000 (22:17 -0700)]
[perl #56526] m/a{1,0}/ compiles but doesn't match a literal string
From: Michael Cartmell (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-27577-1215001078-1211.56526-75-0@perl.org>

p4raw-id: //depot/perl@34697

15 years ago[perl #59652][DOC PATCH] "Too late for "-CS" option"
Renee Baecker [Tue, 7 Oct 2008 08:17:22 +0000 (10:17 +0200)]
[perl #59652][DOC PATCH] "Too late for "-CS" option"
Message-ID: <48EAFEF2.8030403@smart-websolutions.de>

(tweaked)

p4raw-id: //depot/perl@34696

15 years agoexplicit empty while loops
Robin Barker [Wed, 29 Oct 2008 13:22:04 +0000 (13:22 +0000)]
explicit empty while loops
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D4E2FD9@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@34695

15 years agoExplicitly specify some printf formats for constant strings.
Rafael Garcia-Suarez [Sun, 2 Nov 2008 16:50:12 +0000 (16:50 +0000)]
Explicitly specify some printf formats for constant strings.
This is mostly to silence gcc's warning, "format not a string
literal and no format arguments".

p4raw-id: //depot/perl@34694

15 years agoAdd a flag PERLDBf_SAVESRC, which enables the saved lines part of
Nicholas Clark [Sat, 1 Nov 2008 14:51:05 +0000 (14:51 +0000)]
Add a flag PERLDBf_SAVESRC, which enables the saved lines part of
PERLDBf_LINE, so that profilers (such as NYTProf) have access to the
lines of the eval, without the speed impact of other parts of the
debugger infrastructure. PERLDBf_LINE is unchanged. Based largely on a
patch by Tim Bunce in <20081028152749.GA12500@timac.local>

p4raw-id: //depot/perl@34693

15 years agoUpgrade to Text::ParseWords 3.27
Nicholas Clark [Fri, 31 Oct 2008 20:23:32 +0000 (20:23 +0000)]
Upgrade to Text::ParseWords 3.27

p4raw-id: //depot/perl@34691

15 years agoAdd MUTABLE_GV(), and eliminate (V *) casts in *.c.
Nicholas Clark [Fri, 31 Oct 2008 08:55:20 +0000 (08:55 +0000)]
Add MUTABLE_GV(), and eliminate (V *) casts in *.c.
Can't easily do gv.h, as GvGP() (at least) needs to split into two
macros - one const for reading, one non-const for writing.

p4raw-id: //depot/perl@34679

15 years agoChange 34672 should have removed a const from re.xs. I thought I'd
Nicholas Clark [Fri, 31 Oct 2008 07:37:44 +0000 (07:37 +0000)]
Change 34672 should have removed a const from re.xs. I thought I'd
checked for warnings here - not sure whether it was me or gcc that
didn't notice anythign wrong. g++ certainly did.

p4raw-id: //depot/perl@34678

15 years agosizeof(const SV *) is the same as sizeof(SV *), except that it doesn't
Nicholas Clark [Fri, 31 Oct 2008 07:34:02 +0000 (07:34 +0000)]
sizeof(const SV *) is the same as sizeof(SV *), except that it doesn't
match my regexp for non-const casts.

p4raw-id: //depot/perl@34677

15 years agoUpgrade to Devel::PPPort 3.14_05
Marcus Holland-Moritz [Fri, 31 Oct 2008 07:23:54 +0000 (07:23 +0000)]
Upgrade to Devel::PPPort 3.14_05

p4raw-id: //depot/perl@34676

15 years agoEliminate (SV *) casts from the rest of *.c, picking up one (further)
Nicholas Clark [Thu, 30 Oct 2008 23:22:31 +0000 (23:22 +0000)]
Eliminate (SV *) casts from the rest of *.c, picking up one (further)
erroneous const in dump.c.

p4raw-id: //depot/perl@34675

15 years agoChange 34627 didn't realise that if S_find_uninit_var() takes a
Nicholas Clark [Thu, 30 Oct 2008 22:27:16 +0000 (22:27 +0000)]
Change 34627 didn't realise that if S_find_uninit_var() takes a
const SV *, then so can Perl_report_uninit().

p4raw-id: //depot/perl@34673

15 years agoSvPV() does not take a const SV*, which means that the pattern argument
Nicholas Clark [Thu, 30 Oct 2008 22:08:41 +0000 (22:08 +0000)]
SvPV() does not take a const SV*, which means that the pattern argument
to Perl_re_compile() can't be const, which means that the pattern
argument to Perl_pregcomp() can't be const, as can't the argument in
the function in the regexp engine structure.

It's a shame that no-one spotted this earlier.
(Again) I may have rendered the documentation inaccurate.

p4raw-id: //depot/perl@34672

15 years agoEliminate (SV *) casts from sv.c and [tu]*.c, except for the cast in
Nicholas Clark [Thu, 30 Oct 2008 21:39:14 +0000 (21:39 +0000)]
Eliminate (SV *) casts from sv.c and [tu]*.c, except for the cast in
Perl_sv_magicext(), which is documented.

p4raw-id: //depot/perl@34671

15 years agoRe: [PATCH] [doc] be more explicit about magic argv
Moritz Lenz [Thu, 30 Oct 2008 20:30:00 +0000 (21:30 +0100)]
Re: [PATCH] [doc] be more explicit about magic argv
Message-ID: <20081030182902.25398.qmail@lists.develooper.com>

p4raw-id: //depot/perl@34670

15 years agoUpgrade to Devel::PPPort 3.14_04
Marcus Holland-Moritz [Thu, 30 Oct 2008 18:55:04 +0000 (18:55 +0000)]
Upgrade to Devel::PPPort 3.14_04

p4raw-id: //depot/perl@34669

15 years agoTry to demangle the mess created by 34667 (the "resubmittal" was actually
Craig A. Berry [Thu, 30 Oct 2008 18:17:04 +0000 (18:17 +0000)]
Try to demangle the mess created by 34667 (the "resubmittal" was actually
not at all like the original patch I tested).

p4raw-id: //depot/perl@34668

15 years agoRe: patch@34561 VMS exec handling / cwd realpath fixes
John E. Malmberg [Wed, 29 Oct 2008 22:21:38 +0000 (17:21 -0500)]
Re: patch@34561 VMS exec handling / cwd realpath fixes
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <49092842.8090805@qsl.net>

Convert symlink target to UNIX format on VMS. (Cwd changes not
included here.)

p4raw-id: //depot/perl@34667

15 years ago[patch@34600] vms.c setup_cmddsc
John E. Malmberg [Wed, 29 Oct 2008 22:02:43 +0000 (17:02 -0500)]
[patch@34600] vms.c setup_cmddsc
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <490923D3.90407@qsl.net>

Remove trailing dot when efs_charset is in effect.

p4raw-id: //depot/perl@34666

15 years agoAdd a test for bug #60214
Rafael Garcia-Suarez [Thu, 30 Oct 2008 11:34:05 +0000 (11:34 +0000)]
Add a test for bug #60214

p4raw-id: //depot/perl@34661

15 years agoThe file test operators -s, -A, -C and -M can return false values
Rafael Garcia-Suarez [Thu, 30 Oct 2008 11:29:50 +0000 (11:29 +0000)]
The file test operators -s, -A, -C and -M can return false values
that are not undef or "no". Take that into account when stacking them.
This fixes bug #60214.

p4raw-id: //depot/perl@34660

15 years agoAdd MUTABLE_IO(), and eliminate (IO *) casts in *.c.
Nicholas Clark [Wed, 29 Oct 2008 23:20:01 +0000 (23:20 +0000)]
Add MUTABLE_IO(), and eliminate (IO *) casts in *.c.

p4raw-id: //depot/perl@34654

15 years agoUse pvs macros instead of pvn where possible.
Marcus Holland-Moritz [Wed, 29 Oct 2008 23:04:34 +0000 (23:04 +0000)]
Use pvs macros instead of pvn where possible.

p4raw-id: //depot/perl@34653

15 years agoEliminate (AV *) casts in *.c.
Nicholas Clark [Wed, 29 Oct 2008 22:45:15 +0000 (22:45 +0000)]
Eliminate (AV *) casts in *.c.

p4raw-id: //depot/perl@34650

15 years agoRemove redundant (and wrong) prototype for pv_display()
Marcus Holland-Moritz [Wed, 29 Oct 2008 22:15:33 +0000 (22:15 +0000)]
Remove redundant (and wrong) prototype for pv_display()
from its apidoc section.

p4raw-id: //depot/perl@34649

15 years agoFwd: CPAN Upload: S/SA/SAPER/constant-1.17.tar.gz
Sébastien Aperghis-Tramoni [Wed, 29 Oct 2008 22:58:52 +0000 (23:58 +0100)]
Fwd: CPAN Upload: S/SA/SAPER/constant-1.17.tar.gz
Message-Id: <93213472-1B76-43A2-AACB-2BBFF901C5A7@free.fr>
Date: Wed, 29 Oct 2008 22:58:52 +0100

p4raw-id: //depot/perl@34648

15 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

15 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

15 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

15 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