This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoMerge S_is_gv_magical() into Perl_is_gv_magical_sv().
Nicholas Clark [Wed, 26 Nov 2008 21:18:58 +0000 (21:18 +0000)]
Merge S_is_gv_magical() into Perl_is_gv_magical_sv().

p4raw-id: //depot/perl@34931

15 years agoThe vestigial PL_pad_reset_pending can actually be bool, rather than
Nicholas Clark [Wed, 26 Nov 2008 21:10:57 +0000 (21:10 +0000)]
The vestigial PL_pad_reset_pending can actually be bool, rather than
I32. This permits some space saving rejigging of the interpreter
struct.

p4raw-id: //depot/perl@34930

15 years agopad_reset() is only used in pad.c, so can be static.
Nicholas Clark [Wed, 26 Nov 2008 20:53:23 +0000 (20:53 +0000)]
pad_reset() is only used in pad.c, so can be static.
Protect the prototype of S_vdie() with #if defined (PERL_IN_UTIL_C)

p4raw-id: //depot/perl@34929

15 years agoExactly 1 function, in perl.c, calls Perl_magicname(), so inline it.
Nicholas Clark [Wed, 26 Nov 2008 20:29:58 +0000 (20:29 +0000)]
Exactly 1 function, in perl.c, calls Perl_magicname(), so inline it.

p4raw-id: //depot/perl@34927

15 years agois_gv_magical() is only called from within gv.c.
Nicholas Clark [Wed, 26 Nov 2008 20:14:02 +0000 (20:14 +0000)]
is_gv_magical() is only called from within gv.c.

p4raw-id: //depot/perl@34926

15 years agoingroup() is only used in doio.c.
Nicholas Clark [Wed, 26 Nov 2008 19:58:49 +0000 (19:58 +0000)]
ingroup() is only used in doio.c.
Wrap gen_constant_list in #if defined(PERL_IN_OP_C)

p4raw-id: //depot/perl@34925

15 years agoforce_list(), fold_constants() and gen_constant_list() can be static.
Nicholas Clark [Wed, 26 Nov 2008 19:36:06 +0000 (19:36 +0000)]
force_list(), fold_constants() and gen_constant_list() can be static.

p4raw-id: //depot/perl@34924

15 years agovdie() isn't used anywhere aside from util.c, so it can be static.
Nicholas Clark [Wed, 26 Nov 2008 18:54:13 +0000 (18:54 +0000)]
vdie() isn't used anywhere aside from util.c, so it can be static.

p4raw-id: //depot/perl@34923

15 years agoPerl_cv_ckproto() is not part of the public API, and not used anywhere
Nicholas Clark [Wed, 26 Nov 2008 18:21:52 +0000 (18:21 +0000)]
Perl_cv_ckproto() is not part of the public API, and not used anywhere
in the core. So it can go.

p4raw-id: //depot/perl@34922

15 years agoAddendum to bug #38809: fix assertion failure, more tests
Vincent Pit [Wed, 26 Nov 2008 18:49:48 +0000 (19:49 +0100)]
Addendum to bug #38809: fix assertion failure, more tests
Message-ID: <492D8C3C.1010003@profvince.com>

p4raw-id: //depot/perl@34921

15 years agolistkids() can be static in op.c
Nicholas Clark [Wed, 26 Nov 2008 16:24:07 +0000 (16:24 +0000)]
listkids() can be static in op.c

p4raw-id: //depot/perl@34920

15 years agoFollowing on from change 34918, scalarkids() and scalarseq() can also
Nicholas Clark [Wed, 26 Nov 2008 16:04:04 +0000 (16:04 +0000)]
Following on from change 34918, scalarkids() and scalarseq() can also
be static in op.c, so make it so.

p4raw-id: //depot/perl@34919

15 years ago"If it's not private, it's public somehow." states Rafael. The most
Nicholas Clark [Wed, 26 Nov 2008 15:41:49 +0000 (15:41 +0000)]
"If it's not private, it's public somehow." states Rafael. The most
reliable way I can see to keep our (unsupported) privates private is
to make them static whenever we can.

p4raw-id: //depot/perl@34918

15 years agoReplace Perl_my() with a small shell script. er. macro.
Nicholas Clark [Wed, 26 Nov 2008 11:57:59 +0000 (11:57 +0000)]
Replace Perl_my() with a small shell script. er. macro.

p4raw-id: //depot/perl@34917

15 years agothreads::shared 1.27
Jerry D. Hedden [Tue, 25 Nov 2008 11:52:12 +0000 (06:52 -0500)]
threads::shared 1.27
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510811250852r17a88593h373ca49c74ea0ffa@mail.gmail.com>
Date: Tue, 25 Nov 2008 11:52:12 -0500

p4raw-id: //depot/perl@34915

15 years agoA correction to change 34909 - we want *different* constants.
Nicholas Clark [Tue, 25 Nov 2008 17:47:11 +0000 (17:47 +0000)]
A correction to change 34909 - we want *different* constants.

p4raw-id: //depot/perl@34914

15 years agoAdd Rainer Tammer and Torsten Schönfeld to AUTHORS.
Nicholas Clark [Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)]
Add Rainer Tammer and Torsten Schönfeld to AUTHORS.

p4raw-id: //depot/perl@34910

15 years agoTweak the constants used in testing to constants that Win32 also has.
Nicholas Clark [Tue, 25 Nov 2008 15:48:04 +0000 (15:48 +0000)]
Tweak the constants used in testing to constants that Win32 also has.

p4raw-id: //depot/perl@34909

15 years agoRe: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to...
Luke Ross [Tue, 30 Sep 2008 22:41:50 +0000 (23:41 +0100)]
Re: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to method and can result in needless calls to FETCHSIZE
From: "Luke Ross" <lukeross@gmail.com>
Message-ID: <970a62710809301441v1d8d1877tfc30d7b91cd4dc1a@mail.gmail.com>

p4raw-id: //depot/perl@34908

15 years ago[perl #38809] return do { } : take 3 (or 4...)
Vincent Pit [Mon, 29 Sep 2008 17:36:09 +0000 (19:36 +0200)]
[perl #38809] return do { } : take 3 (or 4...)
Message-ID: <48E0F5E9.4050805@profvince.com>

p4raw-id: //depot/perl@34907

15 years agoRe: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Andy Dougherty [Fri, 11 Jul 2008 11:27:13 +0000 (07:27 -0400)]
Re: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Message-ID: <Pine.LNX.4.64.0807111112440.1349@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@34906

15 years ago[perl #7911] no warning for useless /d in tr/0-9//d
reneeb [Mon, 17 Nov 2008 06:13:57 +0000 (22:13 -0800)]
[perl #7911] no warning for useless /d in tr/0-9//d
From: "reneeb via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-10965-1226931231-1833.7911-15-0@perl.org>

p4raw-id: //depot/perl@34905

15 years agoPromote Perl_setdefout() to the public API.
Nicholas Clark [Mon, 24 Nov 2008 18:48:43 +0000 (18:48 +0000)]
Promote Perl_setdefout() to the public API.

p4raw-id: //depot/perl@34904

15 years agoChange 34831 missed running autodoc.pl
Nicholas Clark [Mon, 24 Nov 2008 18:37:22 +0000 (18:37 +0000)]
Change 34831 missed running autodoc.pl

p4raw-id: //depot/perl@34903

15 years agoRespecting inc_version_list while processing PERL_VENDORLIB_STEM
Mandalemula, Rajesh [Tue, 18 Nov 2008 14:55:03 +0000 (20:25 +0530)]
Respecting inc_version_list while processing PERL_VENDORLIB_STEM
From: "Mandalemula, Rajesh" <Rajesh.Mandalemula@deshaw.com>
Message-ID: <B911686319FBAC4BA4671AF36F8DC30902CEA28A@mailhyd2.hyd.deshaw.com>

p4raw-id: //depot/perl@34902

15 years ago[patch@34896] vms readdir() fixes for UNIX/EFS mode
John E. Malmberg [Sat, 22 Nov 2008 11:31:58 +0000 (05:31 -0600)]
[patch@34896] vms readdir() fixes for UNIX/EFS mode
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4928420E.2010607@qsl.net>

p4raw-id: //depot/perl@34901

15 years agoHard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Tim Bunce [Thu, 20 Nov 2008 13:17:19 +0000 (13:17 +0000)]
Hard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Message-ID: <20081120131719.GA32120@timac.local>

[tweaked for blead because of change 27941]

p4raw-id: //depot/perl@34896

15 years agoNote where there is a U8 of space.
Nicholas Clark [Tue, 18 Nov 2008 21:01:24 +0000 (21:01 +0000)]
Note where there is a U8 of space.

p4raw-id: //depot/perl@34887

15 years agoRename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
Nicholas Clark [Tue, 18 Nov 2008 20:32:23 +0000 (20:32 +0000)]
Rename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
the ANSI gods of VMS.

p4raw-id: //depot/perl@34886

15 years agoRemove the trailing NUL byte, and (hopefully) convert perforce to
Nicholas Clark [Tue, 18 Nov 2008 15:10:57 +0000 (15:10 +0000)]
Remove the trailing NUL byte, and (hopefully) convert perforce to
thinking that it is text, not binary.

p4raw-id: //depot/perl@34883

15 years agoImprove and restructure t/op/pat.t and split out some unicode related tests into...
Abigail [Tue, 18 Nov 2008 09:29:05 +0000 (10:29 +0100)]
Improve and restructure t/op/pat.t and split out some unicode related tests into a new test file

Subject: t/op/pat.t
Message-ID: <20081118082905.GJ3172@almanda>

With tweaks: Seems the new harness is quite picky about # signs in test names,
and doesnt like SKIP and TODO to be used together.

p4raw-id: //depot/perl@34882

15 years agoRe: 5.8.9 RC1 patches for AIX
Rainer Tammer [Tue, 18 Nov 2008 12:58:27 +0000 (13:58 +0100)]
Re: 5.8.9 RC1 patches for AIX
Message-ID: <4922ADE3.5030701@tammer.net>

p4raw-id: //depot/perl@34881

15 years agoUse only unsigned ints for comparisons to PL_breakable_sub_generation
Rafael Garcia-Suarez [Tue, 18 Nov 2008 11:12:56 +0000 (11:12 +0000)]
Use only unsigned ints for comparisons to PL_breakable_sub_generation

p4raw-id: //depot/perl@34880

15 years agoRafael noticed a bug in 34873 - I was comparing against the wrong
Nicholas Clark [Tue, 18 Nov 2008 11:09:47 +0000 (11:09 +0000)]
Rafael noticed a bug in 34873 - I was comparing against the wrong
variable, and hence (usually) saving all globs, not just those that
should be kept.

p4raw-id: //depot/perl@34879

15 years agoChange LONG_DOUBLESIZE macros to match config (ref change 34823)
Gisle Aas [Mon, 17 Nov 2008 22:56:42 +0000 (22:56 +0000)]
Change LONG_DOUBLESIZE macros to match config (ref change 34823)

p4raw-id: //depot/perl@34877

15 years agoS_save_lines() was using strchr() when it should have been using
Nicholas Clark [Mon, 17 Nov 2008 22:54:17 +0000 (22:54 +0000)]
S_save_lines() was using strchr() when it should have been using
memchr(). Result - eval""ed source with embedded NULs was not split
correctly into lines for the debugger. Obscure. But still a bug.
Maybe the Campaign for the Elimination of strlen() needs to take a long
hard stare at every strchr() too. And strmp() while we're looking.

p4raw-id: //depot/perl@34876

15 years agoNo need to str*cpy() a string of known fixed length ("_<(eval )") when
Nicholas Clark [Mon, 17 Nov 2008 22:31:07 +0000 (22:31 +0000)]
No need to str*cpy() a string of known fixed length ("_<(eval )") when
a simple 1 byte write has the same desired effect.
Clearly the Campaign for the Elimination of strlen() needs to branch
out into str*cat() and str*cpy().

p4raw-id: //depot/perl@34874

15 years agoFix the bug introduced with MRO, whereby the internals were not saving
Nicholas Clark [Mon, 17 Nov 2008 22:04:56 +0000 (22:04 +0000)]
Fix the bug introduced with MRO, whereby the internals were not saving
lines in subroutines defined inside eval ""s for the debugger.

p4raw-id: //depot/perl@34873

15 years agoFix a missing single quote in hints/solaris_2.sh
Andy Dougherty [Mon, 17 Nov 2008 13:11:59 +0000 (08:11 -0500)]
Fix a missing single quote in hints/solaris_2.sh
Message-ID: <Pine.LNX.4.64.0811171300350.16632@fractal.phys.lafayette.edu>
Date: Mon, 17 Nov 2008 13:11:59 -0500 (EST)

p4raw-id: //depot/perl@34870

15 years ago[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Renee Baecker [Sun, 31 Aug 2008 11:35:45 +0000 (13:35 +0200)]
[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Message-Id: <20080831093545.A15C4120011@rserv16.sitepush.net>

p4raw-id: //depot/perl@34867

15 years agoSkip two tests under ithreads, where the constant lives in the pad.
Rafael Garcia-Suarez [Mon, 17 Nov 2008 10:06:08 +0000 (10:06 +0000)]
Skip two tests under ithreads, where the constant lives in the pad.

p4raw-id: //depot/perl@34864

15 years agoUpgrade to Attribute::Handlers 0.81
Rafael Garcia-Suarez [Mon, 17 Nov 2008 08:30:52 +0000 (08:30 +0000)]
Upgrade to Attribute::Handlers 0.81

p4raw-id: //depot/perl@34862

15 years agoRe: 5.8.9 RC1 report
Rainer Tammer [Mon, 17 Nov 2008 08:53:34 +0000 (09:53 +0100)]
Re: 5.8.9 RC1 report
Message-ID: <492122FE.5020001@tammer.net>

p4raw-id: //depot/perl@34861

15 years agoRe: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are...
Chip Salzenberg [Sun, 16 Nov 2008 23:14:30 +0000 (15:14 -0800)]
Re: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are detainted
Message-ID: <20081117071429.GD5495@tytlal.topaz.cx>

p4raw-id: //depot/perl@34860

15 years agoAdd a $VERSION, strict and some documentation to Tie::StdHandle.
Nicholas Clark [Sun, 16 Nov 2008 23:05:35 +0000 (23:05 +0000)]
Add a $VERSION, strict and some documentation to Tie::StdHandle.

p4raw-id: //depot/perl@34859

15 years agoIntegrate:
Nicholas Clark [Sun, 16 Nov 2008 21:38:30 +0000 (21:38 +0000)]
Integrate:
[ 34841]
Change 34693 introduced a regression spotted by Devel::SmallProf.
p4raw-link: @34841 on //depot/maint-5.8/perl: 95d1ca54dd69844873c9f0e6981fcfd632fa4274

p4raw-id: //depot/perl@34857
p4raw-integrated: from //depot/maint-5.8/perl@34854 'merge in' pp_ctl.c
(@34726..)

15 years agoSync up with Digest-MD5-2.38 from CPAN
Gisle Aas [Sun, 16 Nov 2008 20:53:15 +0000 (20:53 +0000)]
Sync up with Digest-MD5-2.38 from CPAN

p4raw-id: //depot/perl@34854

15 years agoRe: 5.8.9 RC1 report
Rainer Tammer [Thu, 13 Nov 2008 15:14:46 +0000 (16:14 +0100)]
Re: 5.8.9 RC1 report
Message-ID: <491C3656.3010509@tammer.net>

p4raw-id: //depot/perl@34852

15 years agoMake B::walksymtable not recurse into packages that are actually main::, but have...
Florian Ragwitz [Thu, 13 Nov 2008 21:34:12 +0000 (22:34 +0100)]
Make B::walksymtable not recurse into packages that are actually main::, but have a different name.
Message-Id: <1226608453-25937-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34845

15 years agoDeparse inlined constants.
Florian Ragwitz [Thu, 13 Nov 2008 21:34:13 +0000 (22:34 +0100)]
Deparse inlined constants.
Message-Id: <1226608453-25937-2-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34844

15 years agoAdd Tom Wyant to AUTHORS.
Nicholas Clark [Sun, 16 Nov 2008 17:42:53 +0000 (17:42 +0000)]
Add Tom Wyant to AUTHORS.

p4raw-id: //depot/perl@34843

15 years agoTODO for fixing lvalue subs in the debugger is now to-done. Pointed
Steve Peters [Sun, 16 Nov 2008 17:07:24 +0000 (17:07 +0000)]
TODO for fixing lvalue subs in the debugger is now to-done.  Pointed
out by Florian Ragwitz.

p4raw-id: //depot/perl@34840

15 years agoMRO tests for isa() and package aliases
Torsten Schoenfeld [Sat, 15 Nov 2008 21:24:40 +0000 (22:24 +0100)]
MRO tests for isa() and package aliases
Message-ID: <491F3008.4060205@gmx.de>

p4raw-id: //depot/perl@34839

15 years agoUpgrade to File-Temp-0.21
Steve Peters [Sun, 16 Nov 2008 06:31:56 +0000 (06:31 +0000)]
Upgrade to File-Temp-0.21

p4raw-id: //depot/perl@34838

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