platform/upstream/perl.git
17 years agoTypos and other doc nits. Plus, de-alpha the version number
Rafael Garcia-Suarez [Tue, 23 Oct 2007 10:24:39 +0000 (10:24 +0000)]
Typos and other doc nits. Plus, de-alpha the version number
(since this isn't a dual-lived module)

p4raw-id: //depot/perl@32179

17 years agoA couple of updates to perl5100delta
Rafael Garcia-Suarez [Tue, 23 Oct 2007 10:22:25 +0000 (10:22 +0000)]
A couple of updates to perl5100delta

p4raw-id: //depot/perl@32178

17 years agoSilly Nick. If you see a nextstate op, then it may have open hints,
Nicholas Clark [Tue, 23 Oct 2007 09:59:48 +0000 (09:59 +0000)]
Silly Nick. If you see a nextstate op, then it may have open hints,
and you need to test it with Unicode locales.

p4raw-id: //depot/perl@32177

17 years agoFile::Find::_find_dir nit for VMS, plus version bump.
Craig A. Berry [Tue, 23 Oct 2007 03:43:02 +0000 (03:43 +0000)]
File::Find::_find_dir nit for VMS, plus version bump.

p4raw-id: //depot/perl@32176

17 years agoMake the File::Find tests stay under t/ where they
Craig A. Berry [Tue, 23 Oct 2007 03:39:19 +0000 (03:39 +0000)]
Make the File::Find tests stay under t/ where they
belong (the first call to cleanup() was leaving us
at the top of the Perl source tree).

p4raw-id: //depot/perl@32175

17 years agoFreeBSD atoll() warning (Was Re: Code freeze
Andy Dougherty [Mon, 22 Oct 2007 12:49:25 +0000 (08:49 -0400)]
FreeBSD atoll() warning (Was Re: Code freeze
Message-ID: <Pine.LNX.4.64.0710221246340.31725@fractal.phys.lafayette.edu>
Date: Mon, 22 Oct 2007 12:49:25 -0400 (EDT)

p4raw-id: //depot/perl@32174

17 years agoperltodo.pod: Add more detail about @INC order.
Andy Dougherty [Mon, 22 Oct 2007 16:42:44 +0000 (12:42 -0400)]
perltodo.pod:  Add more detail about @INC order.
Message-ID: <Pine.LNX.4.64.0710221642120.14878@fractal.phys.lafayette.edu>
From: Andy Dougherty <doughera@lafayette.edu>

p4raw-id: //depot/perl@32173

17 years agoSQL::Translator triggered a subtle piece of wrongness, whereby it
Nicholas Clark [Mon, 22 Oct 2007 20:19:55 +0000 (20:19 +0000)]
SQL::Translator triggered a subtle piece of wrongness, whereby it
managed to cause a proxy constant subroutine in the symbol table to
be upgraded to a GV at precisely the point where it was being
considered as a possible IO handle name. The core's user-space visible
behaviour certainly was buggy - I believe this patch to be the correct
fix. However, it seems to be very hard to write a test for it.

p4raw-id: //depot/perl@32172

17 years agoNote Jarkko's URL about MSVC and __FUNCTION__-a-like.
Nicholas Clark [Mon, 22 Oct 2007 14:52:53 +0000 (14:52 +0000)]
Note Jarkko's URL about MSVC and __FUNCTION__-a-like.

p4raw-id: //depot/perl@32171

17 years agoUpdate Log::Messge::Simple to 0.04 (was: Re: Code freeze)
Jos I. Boumans [Mon, 22 Oct 2007 14:32:51 +0000 (16:32 +0200)]
Update Log::Messge::Simple to 0.04 (was: Re: Code freeze)
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <33D80A92-6B24-400F-8E99-15193E3CD4A1@dwim.org>

Only a version bump.

p4raw-id: //depot/perl@32170

17 years agohv_iterkeysv() actually creates a mortal SV for every call.
Nicholas Clark [Mon, 22 Oct 2007 12:36:16 +0000 (12:36 +0000)]
hv_iterkeysv() actually creates a mortal SV for every call.
gv_stashsv() is just a wrapper for gv_stashpvn(), so doesn't need an
SV internally. Hence avoid creating lots of mortal SVs by using
hv_iterkey() to get the keys and lengths.
Also tweak whitespace in change 32168.

p4raw-id: //depot/perl@32169

17 years agoIn Perl_mro_isa_changed_in(), no need to call an RVALUE hv_fetch() then
Nicholas Clark [Mon, 22 Oct 2007 12:14:12 +0000 (12:14 +0000)]
In Perl_mro_isa_changed_in(), no need to call an RVALUE hv_fetch() then
hv_store() a new HV if fetch drew a blank, as we can detect the new SV
an LVALUE fetch gave us, and replace it with a new HV, which will be
more efficient.

p4raw-id: //depot/perl@32168

17 years agoS_mro_get_linear_isa_c3() doesn't need to call hv_fetch() then
Nicholas Clark [Mon, 22 Oct 2007 11:46:55 +0000 (11:46 +0000)]
S_mro_get_linear_isa_c3() doesn't need to call hv_fetch() then
hv_store(), as hv_fetch() can do it all for us.

p4raw-id: //depot/perl@32167

17 years agoMention perlcommunity.pod, plus some typo fixes
Rafael Garcia-Suarez [Mon, 22 Oct 2007 11:46:36 +0000 (11:46 +0000)]
Mention perlcommunity.pod, plus some typo fixes

p4raw-id: //depot/perl@32166

17 years agoFix a typo (pport -> ppport).
Marcus Holland-Moritz [Mon, 22 Oct 2007 11:35:07 +0000 (11:35 +0000)]
Fix a typo (pport -> ppport).

p4raw-id: //depot/perl@32165

17 years agoB::Concise was failing an assertion on index "foo", "foo";
Nicholas Clark [Mon, 22 Oct 2007 11:33:23 +0000 (11:33 +0000)]
B::Concise was failing an assertion on index "foo", "foo";

p4raw-id: //depot/perl@32164

17 years agoThere's no point in empty TODO sections
Rafael Garcia-Suarez [Mon, 22 Oct 2007 11:29:57 +0000 (11:29 +0000)]
There's no point in empty TODO sections

p4raw-id: //depot/perl@32163

17 years agoMention B::COP::hints_hash method
Rafael Garcia-Suarez [Mon, 22 Oct 2007 10:18:00 +0000 (10:18 +0000)]
Mention B::COP::hints_hash method

p4raw-id: //depot/perl@32162

17 years agoNewest things to put in perldelta
Rafael Garcia-Suarez [Mon, 22 Oct 2007 09:02:47 +0000 (09:02 +0000)]
Newest things to put in perldelta

p4raw-id: //depot/perl@32161

17 years agoAdd -Duse32bit* in perltodo
Rafael Garcia-Suarez [Mon, 22 Oct 2007 08:55:01 +0000 (08:55 +0000)]
Add -Duse32bit* in perltodo

p4raw-id: //depot/perl@32160

17 years agoRegenerate Changes
Rafael Garcia-Suarez [Mon, 22 Oct 2007 08:38:07 +0000 (08:38 +0000)]
Regenerate Changes

p4raw-id: //depot/perl@32159

17 years agoMore delta info from Perl 5.9.5
Rafael Garcia-Suarez [Mon, 22 Oct 2007 08:32:46 +0000 (08:32 +0000)]
More delta info from Perl 5.9.5

p4raw-id: //depot/perl@32158

17 years agoRe: overload64.t failures
Rick Delaney [Sun, 21 Oct 2007 16:13:51 +0000 (12:13 -0400)]
Re: overload64.t failures
Message-ID: <20071021201351.GY29047@bort.ca>

p4raw-id: //depot/perl@32157

17 years agoMore perldelta entries from perl 5.9.4, plus some reordering and
Rafael Garcia-Suarez [Sun, 21 Oct 2007 20:15:46 +0000 (20:15 +0000)]
More perldelta entries from perl 5.9.4, plus some reordering and
deduplication

p4raw-id: //depot/perl@32156

17 years agoMore perldelta entries from 5.9.3
Rafael Garcia-Suarez [Sun, 21 Oct 2007 16:38:36 +0000 (16:38 +0000)]
More perldelta entries from 5.9.3

p4raw-id: //depot/perl@32155

17 years agoChanges from perl 5.9.2
Rafael Garcia-Suarez [Sun, 21 Oct 2007 10:59:47 +0000 (10:59 +0000)]
Changes from perl 5.9.2

p4raw-id: //depot/perl@32154

17 years agoSkip test on Basque locales on Mac OS X 10.5
Rafael Garcia-Suarez [Sun, 21 Oct 2007 07:51:14 +0000 (07:51 +0000)]
Skip test on Basque locales on Mac OS X 10.5

p4raw-id: //depot/perl@32153

17 years agoVDf no longer in PERL_CORE
Robin Barker [Fri, 19 Oct 2007 13:33:50 +0000 (14:33 +0100)]
VDf no longer in PERL_CORE
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D20E@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@32152

17 years agoIn Perl_do_openn() we know the length of oname, so use it when creating
Nicholas Clark [Sat, 20 Oct 2007 16:16:56 +0000 (16:16 +0000)]
In Perl_do_openn() we know the length of oname, so use it when creating
an SV.

p4raw-id: //depot/perl@32151

17 years agoRevert code change from #32148
Rafael Garcia-Suarez [Sat, 20 Oct 2007 15:19:20 +0000 (15:19 +0000)]
Revert code change from #32148

p4raw-id: //depot/perl@32150

17 years agoperlfunc/perldiag errors
Father Chrysostomos [Fri, 19 Oct 2007 20:25:38 +0000 (13:25 -0700)]
perlfunc/perldiag errors
Message-Id: <8186DA53-970C-4A10-A0CE-0A4FFB199A01@cpan.org>

p4raw-id: //depot/perl@32149

17 years agoRe: [PATCH] Fix overloading for 64-bit ints (revised)
Jerry D. Hedden [Fri, 19 Oct 2007 20:50:27 +0000 (16:50 -0400)]
Re: [PATCH] Fix overloading for 64-bit ints (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710191750s3f25eae2x2dc2e90f18f1f716@mail.gmail.com>

p4raw-id: //depot/perl@32148

17 years agoMore perldelta work (info from perl59[01]delta)
Rafael Garcia-Suarez [Fri, 19 Oct 2007 16:14:01 +0000 (16:14 +0000)]
More perldelta work (info from perl59[01]delta)

p4raw-id: //depot/perl@32147

17 years agoDocument that encoding.pm isn't thread-safe, by Jerry D. Hedden
Rafael Garcia-Suarez [Fri, 19 Oct 2007 11:06:58 +0000 (11:06 +0000)]
Document that encoding.pm isn't thread-safe, by Jerry D. Hedden

p4raw-id: //depot/perl@32146

17 years agoPOD nits
Rafael Garcia-Suarez [Fri, 19 Oct 2007 10:44:04 +0000 (10:44 +0000)]
POD nits

p4raw-id: //depot/perl@32145

17 years agoRe: [Diff] perlxstut.pod
Renee Baecker [Fri, 12 Oct 2007 10:29:50 +0000 (12:29 +0200)]
Re: [Diff] perlxstut.pod
Message-ID: <470F307E.1030804@smart-websolutions.de>

p4raw-id: //depot/perl@32144

17 years agoUpgrade to Term::Cap 1.10
Rafael Garcia-Suarez [Fri, 19 Oct 2007 10:18:19 +0000 (10:18 +0000)]
Upgrade to Term::Cap 1.10

p4raw-id: //depot/perl@32143

17 years agoRE: [PATCH] RE: PERL_CORE UVf logic
Robin Barker [Thu, 18 Oct 2007 17:51:34 +0000 (18:51 +0100)]
RE: [PATCH] RE: PERL_CORE UVf logic
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D20A@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@32142

17 years agoFix overloading for 64-bit ints (revised)
Jerry D. Hedden [Thu, 18 Oct 2007 14:49:40 +0000 (10:49 -0400)]
Fix overloading for 64-bit ints (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710181149s1c096dd9qffa8fe42046e675b@mail.gmail.com>

p4raw-id: //depot/perl@32141

17 years agoIt seems crazy for Perl_yylex() to individually shift each element off
Nicholas Clark [Thu, 18 Oct 2007 20:42:30 +0000 (20:42 +0000)]
It seems crazy for Perl_yylex() to individually shift each element off
PL_preambleav, and then free each in turn, rather than simply process
the array in place, and allow the sv_free(PL_preambleav) to dispose of
everything.

p4raw-id: //depot/perl@32140

17 years agoChange 32136 introduced an error - passing a const char * to
Nicholas Clark [Thu, 18 Oct 2007 19:21:50 +0000 (19:21 +0000)]
Change 32136 introduced an error - passing a const char * to
sv_usepvn_flags(). Fixed.

p4raw-id: //depot/perl@32139

17 years agoInline and eliminate S_incl_perldb(), as it's only called on one place.
Nicholas Clark [Thu, 18 Oct 2007 18:59:59 +0000 (18:59 +0000)]
Inline and eliminate S_incl_perldb(), as it's only called on one place.
This also makes the logic in the call site simpler and more efficient.

p4raw-id: //depot/perl@32138

17 years agoSimplify the logic for retrieving PL_inplace into $^I, as sv_setpv()
Nicholas Clark [Thu, 18 Oct 2007 18:07:19 +0000 (18:07 +0000)]
Simplify the logic for retrieving PL_inplace into $^I, as sv_setpv()
will do the "right" thing if we want NULL to map to undef.

p4raw-id: //depot/perl@32137

17 years agoEliminate some uses of sv_setpv() where we already know the length.
Nicholas Clark [Thu, 18 Oct 2007 18:06:29 +0000 (18:06 +0000)]
Eliminate some uses of sv_setpv() where we already know the length.
Donate the prototype buffer to the CV in Perl_gv_init(), rather than
setting a copy, and immediately free()ing the original.

p4raw-id: //depot/perl@32136

17 years agoChange newSVpv() to newSVpvn() where we know the length is non-zero, as
Nicholas Clark [Thu, 18 Oct 2007 17:15:16 +0000 (17:15 +0000)]
Change newSVpv() to newSVpvn() where we know the length is non-zero, as
newSVpvn() will be fractionally more efficient.

p4raw-id: //depot/perl@32135

17 years agouse newSVpvs() on the constant string "isa", rather than newSVpv().
Nicholas Clark [Thu, 18 Oct 2007 17:14:38 +0000 (17:14 +0000)]
use newSVpvs() on the constant string "isa", rather than newSVpv().

p4raw-id: //depot/perl@32134

17 years agoBy using the HEK that holds the stash name in S_mro_get_linear_isa_c3()
Nicholas Clark [Thu, 18 Oct 2007 17:13:34 +0000 (17:13 +0000)]
By using the HEK that holds the stash name in S_mro_get_linear_isa_c3()
and S_mro_get_linear_isa_dfs() we can create scalars more efficiently.

p4raw-id: //depot/perl@32133

17 years agoIn Perl_amagic_call(), construct the SV with newSVpvn(), as we now know
Nicholas Clark [Thu, 18 Oct 2007 16:15:22 +0000 (16:15 +0000)]
In Perl_amagic_call(), construct the SV with newSVpvn(), as we now know
the length. (Not sure why I didn't spot this one during change 32124.)

p4raw-id: //depot/perl@32132

17 years agoB::Lint is dual-lived (revised)
Jerry D. Hedden [Thu, 18 Oct 2007 09:45:41 +0000 (05:45 -0400)]
B::Lint is dual-lived (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710180645x115a7949vaea7b45dd2dc3139@mail.gmail.com>

p4raw-id: //depot/perl@32131

17 years agoNo need to call strlen() on the result of CopSTASHPV() when unthreaded,
Nicholas Clark [Thu, 18 Oct 2007 12:32:42 +0000 (12:32 +0000)]
No need to call strlen() on the result of CopSTASHPV() when unthreaded,
as the length is already known. Hence conditionally compile out the
logic related to the call to strlen() from S_method_common(), and use
newSVhek in S_gv_get_super_pkg().

p4raw-id: //depot/perl@32130

17 years agoDon't call strlen() on CopFILE() for the unthreaded case, because the
Nicholas Clark [Thu, 18 Oct 2007 10:44:35 +0000 (10:44 +0000)]
Don't call strlen() on CopFILE() for the unthreaded case, because the
length can be obtained via CopFILESV().

p4raw-id: //depot/perl@32129

17 years agoSilence a casting warning
Rafael Garcia-Suarez [Thu, 18 Oct 2007 09:45:47 +0000 (09:45 +0000)]
Silence a casting warning

p4raw-id: //depot/perl@32128

17 years agoWhere possible, change gv_fetchfile() to gv_fetchfile_flags(),
Nicholas Clark [Thu, 18 Oct 2007 09:24:42 +0000 (09:24 +0000)]
Where possible, change gv_fetchfile() to gv_fetchfile_flags(),
gv_stashpv() to gv_stashpvn() and gv_fetchpv() to gv_fetchpvn_flags().
Change the len parameter of S_find_in_my_stash() from I32 to STRLEN, as
a pointer the variable needs to be passed onwards, and size matters on
64 bit platforms.
Fix the temporary scribbling of a buffer in Perl_yylex() by using
gv_fetchpvn_flags(), and remove the XXX comment added in change 27641.
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32127

17 years agoIn Perl_moreswitches(), avoid the strlen() inside sv_catpv() by moving
Nicholas Clark [Thu, 18 Oct 2007 07:17:46 +0000 (07:17 +0000)]
In Perl_moreswitches(), avoid the strlen() inside sv_catpv() by moving
the strlen() earlier.
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32126

17 years agoIn Perl_my_clearenv(), under -DPERL_USE_SAFE_PUTENV, don't use
Nicholas Clark [Wed, 17 Oct 2007 16:06:21 +0000 (16:06 +0000)]
In Perl_my_clearenv(), under -DPERL_USE_SAFE_PUTENV, don't use
strlcpy() to forcibly truncate a string to a known length, when
memcpy() and a write of '\0' will not only make the intent clear, but
also do that exact job more efficiently.

p4raw-id: //depot/perl@32125

17 years agoStoring the length of all the overloading names saves a strlen() in a
Nicholas Clark [Wed, 17 Oct 2007 15:10:58 +0000 (15:10 +0000)]
Storing the length of all the overloading names saves a strlen() in a
loop in Perl_Gv_AMupdate().
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32124

17 years agoUpdate IPC::Cmd to 0.40
Jos I. Boumans [Wed, 17 Oct 2007 11:32:03 +0000 (13:32 +0200)]
Update IPC::Cmd to 0.40
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <C7DB06B4-6FE5-4188-A087-DC40E8E9F07D@dwim.org>

p4raw-id: //depot/perl@32123

17 years agoMinor fix in File::Copy POD
Jerry D. Hedden [Mon, 15 Oct 2007 09:56:33 +0000 (05:56 -0400)]
Minor fix in File::Copy POD
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710150656w4c06b94aub1c8ff5fa29a8603@mail.gmail.com>

p4raw-id: //depot/perl@32122

17 years agoAnother ex-PVBM assert
Ben Morrow [Tue, 16 Oct 2007 19:51:09 +0000 (20:51 +0100)]
Another ex-PVBM assert
Message-ID: <tpdfu4-bsm.ln1@osiris.mauzo.dyndns.org>

p4raw-id: //depot/perl@32121

17 years agoFix a few segfaults and a when() bug
josh [Sun, 14 Oct 2007 21:37:08 +0000 (14:37 -0700)]
Fix a few segfaults and a when() bug
From: "josh" <twists@gmail.com>
Message-ID: <20071015043708.GA10981@grenekatz.org>

p4raw-id: //depot/perl@32120

17 years agoex-PVBM and mro interact badly
Ben Morrow [Mon, 15 Oct 2007 22:56:16 +0000 (23:56 +0100)]
ex-PVBM and mro interact badly
Message-ID: <20071015215616.GA43800@osiris.mauzo.dyndns.org>

p4raw-id: //depot/perl@32119

17 years agoUpdate Module::Load::Conditional to 0.22
Rafael Garcia-Suarez [Wed, 17 Oct 2007 08:03:23 +0000 (08:03 +0000)]
Update Module::Load::Conditional to 0.22

p4raw-id: //depot/perl@32118

17 years agoMore tests for Safe
Rafael Garcia-Suarez [Wed, 17 Oct 2007 07:39:16 +0000 (07:39 +0000)]
More tests for Safe

p4raw-id: //depot/perl@32117

17 years agoPL_AMG_names is only used by gv.c (as far as Google code search can
Nicholas Clark [Tue, 16 Oct 2007 16:02:35 +0000 (16:02 +0000)]
PL_AMG_names is only used by gv.c (as far as Google code search can
see), so it can easily be a static variable inside gv.c. This allows
the implementation to be changed in future Perls within the 5.10.x
series.

p4raw-id: //depot/perl@32116

17 years agoReplace my_strlcpy() with a pair of byte writes.
Nicholas Clark [Tue, 16 Oct 2007 10:39:38 +0000 (10:39 +0000)]
Replace my_strlcpy() with a pair of byte writes.

p4raw-id: //depot/perl@32115

17 years agoGiven that S_feature_is_enabled() is a static function, we can know all
Nicholas Clark [Tue, 16 Oct 2007 09:48:48 +0000 (09:48 +0000)]
Given that S_feature_is_enabled() is a static function, we can know all
the possible strings that can be passed to it, and their lengths. So we
can avoid my_strlcpy() and instead use memcpy().
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32114

17 years agoGiven that the buffer for mode in Perl_do_openn() has been initialised
Nicholas Clark [Tue, 16 Oct 2007 09:40:15 +0000 (09:40 +0000)]
Given that the buffer for mode in Perl_do_openn() has been initialised
to all NUL bytes, and the "string" being appended is one character,
it's way faster just to write the byte in question to the buffer.

p4raw-id: //depot/perl@32113

17 years agoMoving a strlen() in Perl_moreswitches() saves a strlen() in sv_catpv()
Nicholas Clark [Tue, 16 Oct 2007 09:38:48 +0000 (09:38 +0000)]
Moving a strlen() in Perl_moreswitches() saves a strlen() in sv_catpv()
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32112

17 years agoPass in explicit lengths for the key and type arguments to
Nicholas Clark [Tue, 16 Oct 2007 09:06:26 +0000 (09:06 +0000)]
Pass in explicit lengths for the key and type arguments to
S_new_constant() in toke.c, as we know all the lengths already.
Brought to you by the Campaign for the Elimination of strlen().

p4raw-id: //depot/perl@32111

17 years agoPerl_ck_smartmatch needs a dVAR too.
Nicholas Clark [Tue, 16 Oct 2007 08:37:29 +0000 (08:37 +0000)]
Perl_ck_smartmatch needs a dVAR too.

p4raw-id: //depot/perl@32110

17 years agoAdd dVAR;s to the functions created in change 31970.
Nicholas Clark [Tue, 16 Oct 2007 07:51:36 +0000 (07:51 +0000)]
Add dVAR;s to the functions created in change 31970.

p4raw-id: //depot/perl@32109

17 years agoUpdate File::Fetch to 0.12
Jos I. Boumans [Mon, 15 Oct 2007 14:40:39 +0000 (16:40 +0200)]
Update File::Fetch to 0.12
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <D845A191-6837-4618-8A34-B44A3DC6F5C6@dwim.org>

p4raw-id: //depot/perl@32108

17 years agoPOD nit found by Slaven Rezic.
Rafael Garcia-Suarez [Sat, 13 Oct 2007 07:24:17 +0000 (07:24 +0000)]
POD nit found by Slaven Rezic.

p4raw-id: //depot/perl@32107

17 years agoNormalize the case of some VMS syscalls so the prototypes are
Craig A. Berry [Fri, 12 Oct 2007 20:48:11 +0000 (20:48 +0000)]
Normalize the case of some VMS syscalls so the prototypes are
kosher on a system with older headers.

p4raw-id: //depot/perl@32106

17 years agoRemove some strlen()s and replace one strlcpy() with memcpy() because
Nicholas Clark [Fri, 12 Oct 2007 15:21:14 +0000 (15:21 +0000)]
Remove some strlen()s and replace one strlcpy() with memcpy() because
we already know the string length.

p4raw-id: //depot/perl@32105

17 years agoNew test for Safe
Rafael Garcia-Suarez [Fri, 12 Oct 2007 09:43:20 +0000 (09:43 +0000)]
New test for Safe

p4raw-id: //depot/perl@32104

17 years agoFunny symbol table names can be shared, too
Rafael Garcia-Suarez [Fri, 12 Oct 2007 07:47:42 +0000 (07:47 +0000)]
Funny symbol table names can be shared, too

p4raw-id: //depot/perl@32103

17 years agoShare the internal XS functions defined in universal.c
Rafael Garcia-Suarez [Fri, 12 Oct 2007 07:41:18 +0000 (07:41 +0000)]
Share the internal XS functions defined in universal.c
to Safe compartments

p4raw-id: //depot/perl@32102

17 years agoUpdate IPC::Cmd to 0.38
Jos I. Boumans [Thu, 11 Oct 2007 17:24:50 +0000 (19:24 +0200)]
Update IPC::Cmd to 0.38
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <E88BE0DB-CA4E-4798-AB5B-3D45D1B5799B@dwim.org>

p4raw-id: //depot/perl@32101

17 years agopp_int should treat refs as UVs (not IVs)
Jerry D. Hedden [Thu, 11 Oct 2007 10:23:03 +0000 (06:23 -0400)]
pp_int should treat refs as UVs (not IVs)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710110723p6cbed55fo558777258061b556@mail.gmail.com>

p4raw-id: //depot/perl@32100

17 years agoGentler theads test
Jerry D. Hedden [Thu, 11 Oct 2007 09:12:21 +0000 (05:12 -0400)]
Gentler theads test
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710110612j6ecaa1d5ta1a6f2a4e3e13ed3@mail.gmail.com>

p4raw-id: //depot/perl@32099

17 years agoMove threads test added in change 32091
Jerry D. Hedden [Wed, 10 Oct 2007 12:39:23 +0000 (08:39 -0400)]
Move threads test added in change 32091
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710100939v29aef6beqcb782934e641ea79@mail.gmail.com>

p4raw-id: //depot/perl@32098

17 years agoPorting/Maintainers.pm --check added functionality
Robin Barker [Wed, 10 Oct 2007 18:11:36 +0000 (19:11 +0100)]
Porting/Maintainers.pm --check added functionality
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1F2@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@32097

17 years agoadd calling hints to perldebug.pod
Richard Foley [Wed, 10 Oct 2007 15:29:39 +0000 (17:29 +0200)]
add calling hints to perldebug.pod
Message-Id: <200710101529.39895.Richard.Foley@rfi.net>

p4raw-id: //depot/perl@32096

17 years agoPorting/Maintainers.pl
Robin Barker [Wed, 10 Oct 2007 17:52:38 +0000 (18:52 +0100)]
Porting/Maintainers.pl
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1F1@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@32095

17 years agoRemove an obsolete test for h2ph, that was always skipped.
Rafael Garcia-Suarez [Wed, 10 Oct 2007 20:38:54 +0000 (20:38 +0000)]
Remove an obsolete test for h2ph, that was always skipped.
New tests are needed.

p4raw-id: //depot/perl@32094

17 years agoDelete files removed by latest CPANPLUS update
Rafael Garcia-Suarez [Wed, 10 Oct 2007 15:37:14 +0000 (15:37 +0000)]
Delete files removed by latest CPANPLUS update

p4raw-id: //depot/perl@32093

17 years agoUpdate CPANPLUS to 0.83_02
Rafael Garcia-Suarez [Wed, 10 Oct 2007 15:36:53 +0000 (15:36 +0000)]
Update CPANPLUS to 0.83_02

p4raw-id: //depot/perl@32092

17 years agonewCONTSUB() wasn't thread-safe ([perl #45053])
Dave Mitchell [Wed, 10 Oct 2007 15:03:16 +0000 (15:03 +0000)]
newCONTSUB() wasn't thread-safe ([perl #45053])

p4raw-id: //depot/perl@32091

17 years agoIf we use @{[]} (a.k.a. baby-cart) interpolation, we got warnings
Rafael Garcia-Suarez [Wed, 10 Oct 2007 08:17:07 +0000 (08:17 +0000)]
If we use @{[]} (a.k.a. baby-cart) interpolation, we got warnings
when $" is undefined.

p4raw-id: //depot/perl@32090

17 years agoAs we know the length, replace strEQ with memEQs in S_doopen_pm().
Nicholas Clark [Tue, 9 Oct 2007 21:55:56 +0000 (21:55 +0000)]
As we know the length, replace strEQ with memEQs in S_doopen_pm().

p4raw-id: //depot/perl@32089

17 years agoIf PERL_DISABLE_PMC is defined, doopen_pm() is just a direct call to
Nicholas Clark [Tue, 9 Oct 2007 21:32:50 +0000 (21:32 +0000)]
If PERL_DISABLE_PMC is defined, doopen_pm() is just a direct call to
check_type_and_open(). So for this case make it a macro, to save a
level of function call.

p4raw-id: //depot/perl@32088

17 years agoReplace Perl_sv_setpvf(aTHX_ namesv, "%s/%s", dir, name); in require's
Nicholas Clark [Tue, 9 Oct 2007 20:45:49 +0000 (20:45 +0000)]
Replace Perl_sv_setpvf(aTHX_ namesv, "%s/%s", dir, name); in require's
loop over @INC with direct perl API calls that allocate sufficient
memory up front, avoid the need to parse a format string, and avoid
the need to call strlen() on either parameter.

p4raw-id: //depot/perl@32087

17 years agoRemove the strlen in doopen_pm() by passing in the length. (As we know
Nicholas Clark [Tue, 9 Oct 2007 20:06:57 +0000 (20:06 +0000)]
Remove the strlen in doopen_pm() by passing in the length. (As we know
it already in the caller). Remove the unchanging mode parameter from
doopen_pm() and check_type_and_open(), as it's always PERL_SCRIPT_MODE.

p4raw-id: //depot/perl@32086

17 years agoRemove a call to *printf from the require code.
Nicholas Clark [Tue, 9 Oct 2007 17:56:13 +0000 (17:56 +0000)]
Remove a call to *printf from the require code.

p4raw-id: //depot/perl@32085

17 years agoTests for the .pmc functionality.
Nicholas Clark [Tue, 9 Oct 2007 17:03:53 +0000 (17:03 +0000)]
Tests for the .pmc functionality.

p4raw-id: //depot/perl@32084

17 years agoFiles names for pragmas strict and warnings can end in .pmc
Rafael Garcia-Suarez [Tue, 9 Oct 2007 15:26:26 +0000 (15:26 +0000)]
Files names for pragmas strict and warnings can end in .pmc

p4raw-id: //depot/perl@32083

17 years agoFix description of "." in unpack() in perl5100delta
Rafael Garcia-Suarez [Tue, 9 Oct 2007 15:14:53 +0000 (15:14 +0000)]
Fix description of "." in unpack() in perl5100delta

p4raw-id: //depot/perl@32082

17 years agoperlmodlib.pod has changed, too
Rafael Garcia-Suarez [Tue, 9 Oct 2007 13:08:41 +0000 (13:08 +0000)]
perlmodlib.pod has changed, too

p4raw-id: //depot/perl@32081

17 years agoAdd a rough, incomplete version of perl5100delta
Rafael Garcia-Suarez [Tue, 9 Oct 2007 13:06:26 +0000 (13:06 +0000)]
Add a rough, incomplete version of perl5100delta

p4raw-id: //depot/perl@32080