This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years agoAdd a TODO test for bug #47195
Nicholas Clark [Tue, 6 Nov 2007 19:37:40 +0000 (19:37 +0000)]
Add a TODO test for bug #47195

p4raw-id: //depot/perl@32229

13 years agoFwd: CPAN Upload: S/SA/SAPER/constant-1.12.tar.gz
Sébastien Aperghis-Tramoni [Tue, 6 Nov 2007 02:49:51 +0000 (03:49 +0100)]
Fwd: CPAN Upload: S/SA/SAPER/constant-1.12.tar.gz
Message-Id: <7B502F45-AB25-4EFF-8147-A02D8E2E9E21@free.fr>
Date: Tue, 6 Nov 2007 02:49:51 +0100

p4raw-id: //depot/perl@32227

13 years agoVMS.C misc fixes, including vms_realpath fixes
John E. Malmberg [Sat, 3 Nov 2007 00:58:05 +0000 (19:58 -0500)]
VMS.C misc fixes,  including vms_realpath fixes
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <472C0DED.4010203@qsl.net>

Plus, at John's suggestion, don't call the CRTL realpath()
unless DECC$POSIX_COMPLIANT_PATHNAMES is in effect.

p4raw-id: //depot/perl@32226

13 years agoAdjust the skip count for t/io/dup.t for the -Uuseperlio case, in a way
Nicholas Clark [Mon, 5 Nov 2007 15:25:46 +0000 (15:25 +0000)]
Adjust the skip count for t/io/dup.t for the -Uuseperlio case, in a way
that will hopefully make it harder for it to get out of sync again.

p4raw-id: //depot/perl@32225

13 years agoAs reported in bug #46207, change 30633 to PerlIO_exportFILE() and
Nicholas Clark [Mon, 5 Nov 2007 13:58:52 +0000 (13:58 +0000)]
As reported in bug #46207, change 30633 to PerlIO_exportFILE() and
PerlIO_releaseFILE() to manage the reference counts of fds correctly
has the side effect of making some XS modules "leak" descriptors.
This is because the typemap calls PerlIO_findFILE(), which sometimes
(but not always) calls PerlIO_exportFILE(). To be consistent,
PerlIO_fildFILE() needs to either always give you a reference, or
always not give you a reference. It seems better to do the latter as
the call to PerlIO_exportFILE() is only an implementation detail, so
arrange for it to immediately free up the reference that
PerlIO_exportFILE() created.

p4raw-id: //depot/perl@32224

13 years agoAllow (pedantically correct) C pre-processor comments in the code
Nicholas Clark [Mon, 5 Nov 2007 12:51:39 +0000 (12:51 +0000)]
Allow (pedantically correct) C pre-processor comments in the code
snippets of typemap files.

p4raw-id: //depot/perl@32223

13 years agoAnother small patch for Sys::Syslog
Sébastien Aperghis-Tramoni [Mon, 5 Nov 2007 08:48:53 +0000 (09:48 +0100)]
Another small patch for Sys::Syslog
Message-Id: <A5B536D9-E81C-48FC-9584-45E59ED7B6FB@free.fr>

p4raw-id: //depot/perl@32222

13 years agoRe: (perl-current of 5.9.5) patch for ext/Sys/Syslog/Makefile.PL for
Sébastien Aperghis-Tramoni [Sun, 4 Nov 2007 03:52:36 +0000 (04:52 +0100)]
Re: (perl-current of 5.9.5) patch for ext/Sys/Syslog/Makefile.PL for
Message-id: <EECD3531-8352-4873-A1AD-E4B8731260CB@free.fr>

p4raw-id: //depot/perl@32221

13 years agoUpdate Term::UI to 0.18
Rafael Garcia-Suarez [Sun, 4 Nov 2007 19:48:32 +0000 (19:48 +0000)]
Update Term::UI to 0.18

p4raw-id: //depot/perl@32220

13 years agoRoll back #32214 as it causes more failures than it prevents.
Craig A. Berry [Sun, 4 Nov 2007 16:41:28 +0000 (16:41 +0000)]
Roll back #32214 as it causes more failures than it prevents.

p4raw-id: //depot/perl@32219

13 years agoUpgrade CPANPLUS to 0.83_08
Rafael Garcia-Suarez [Sun, 4 Nov 2007 12:28:45 +0000 (12:28 +0000)]
Upgrade CPANPLUS to 0.83_08

p4raw-id: //depot/perl@32218

13 years agoUpgrade to File::Fetch 0.13_02
Rafael Garcia-Suarez [Sun, 4 Nov 2007 12:23:13 +0000 (12:23 +0000)]
Upgrade to File::Fetch 0.13_02

p4raw-id: //depot/perl@32217

13 years agomake PERLSYS_TERM not require a context
Dave Mitchell [Sat, 3 Nov 2007 12:27:25 +0000 (12:27 +0000)]
make PERLSYS_TERM not require a context

p4raw-id: //depot/perl@32216

13 years agoRe: building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)
Jarkko Hietaniemi [Fri, 2 Nov 2007 21:38:48 +0000 (17:38 -0400)]
Re: building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)
Message-Id:  <472BD128.9080105@iki.fi>

PerlIO_teardown is called when there may no longer be an
interpreter available

p4raw-id: //depot/perl@32215

13 years agoBased on a patch by John E. Malberg: make TestInit.pm
Rafael Garcia-Suarez [Sat, 3 Nov 2007 10:12:06 +0000 (10:12 +0000)]
Based on a patch by John E. Malberg: make TestInit.pm
use an absolute path in @INC, so that changes of directories
don't break dynamically loaded modules.

p4raw-id: //depot/perl@32214

13 years ago[perl #47045] CLONE_SKIP doesn't result in undef copies
Dave Mitchell [Fri, 2 Nov 2007 23:59:27 +0000 (23:59 +0000)]
[perl #47045] CLONE_SKIP doesn't result in undef copies
clarify the documentation on CLONE_SKIP, and ensure that the
undef value has all its flags cleared

p4raw-id: //depot/perl@32213

13 years agoMake installman work with -Duserelocatableinc and DESTDIR
Rafael Garcia-Suarez [Fri, 2 Nov 2007 14:55:29 +0000 (14:55 +0000)]
Make installman work with -Duserelocatableinc and DESTDIR

p4raw-id: //depot/perl@32212

13 years ago- Update Time::Local to latest version
Dave Rolsky [Wed, 31 Oct 2007 12:26:02 +0000 (07:26 -0500)]
- Update Time::Local to latest version
Message-ID: <alpine.DEB.0.9999.0710311225010.19396@urth.org>

p4raw-id: //depot/perl@32211

13 years agoUpgrade to cperl-mode 5.23
Rafael Garcia-Suarez [Fri, 2 Nov 2007 09:42:41 +0000 (09:42 +0000)]
Upgrade to cperl-mode 5.23

p4raw-id: //depot/perl@32210

13 years agoNow that ExtUtils::ParseXS requires 5.006, we can replace the foreach
Nicholas Clark [Wed, 31 Oct 2007 19:44:48 +0000 (19:44 +0000)]
Now that ExtUtils::ParseXS requires 5.006, we can replace the foreach
on keys and lookup in the loop with a foreach on values, as values is
"now" an LVALUE iterator.

p4raw-id: //depot/perl@32209

13 years agoDB_File
Paul Marquess [Mon, 29 Oct 2007 13:08:31 +0000 (13:08 +0000)]
DB_File
From: "Paul Marquess" <paul_marquess@yahoo.co.uk>
Message-ID: <004a01c81a2c$ce1eb020$3a3c140a@myopwv.com>

p4raw-id: //depot/perl@32208

13 years agoRevert #32197, should not be needed anymore since the upgrade
Rafael Garcia-Suarez [Wed, 31 Oct 2007 10:37:47 +0000 (10:37 +0000)]
Revert #32197, should not be needed anymore since the upgrade
of ExtUtils::CBuilder

p4raw-id: //depot/perl@32207

13 years agoFix (or hide?) a case of memory corruption with \K in substitutions
Rafael Garcia-Suarez [Wed, 31 Oct 2007 10:15:12 +0000 (10:15 +0000)]
Fix (or hide?) a case of memory corruption with \K in substitutions

p4raw-id: //depot/perl@32206

13 years agoUpgrade to ExtUtils::CBuilder 0.21
Rafael Garcia-Suarez [Wed, 31 Oct 2007 09:40:38 +0000 (09:40 +0000)]
Upgrade to ExtUtils::CBuilder 0.21

p4raw-id: //depot/perl@32205

13 years agoMention version.pm and new v-string portability warning in
Rafael Garcia-Suarez [Tue, 30 Oct 2007 12:42:28 +0000 (12:42 +0000)]
Mention version.pm and new v-string portability warning in
perldelta. Better wording for this warning in perldiag by
Tom Wyant.

p4raw-id: //depot/perl@32204

13 years agoRe: configure failed in tru64
Jarkko Hietaniemi [Tue, 30 Oct 2007 07:52:04 +0000 (03:52 -0400)]
Re: configure failed in tru64
Message-ID: <47271AE4.5060806@iki.fi>

p4raw-id: //depot/perl@32203

13 years agoTypo in comment in 32201.
Craig A. Berry [Tue, 30 Oct 2007 03:38:20 +0000 (03:38 +0000)]
Typo in comment in 32201.

p4raw-id: //depot/perl@32202

13 years agoRe: copyright notices for vms.c and vmsish.h
Charles Bailey [Fri, 26 Oct 2007 15:27:36 +0000 (11:27 -0400)]
Re: copyright notices for vms.c and vmsish.h
Message-id: <47223FA8.90300@newman.upenn.edu>

At my instigation, Charles agreed to wear the copyright hat for
the major VMS files.  This is by analogy with the core files
for which Larry, as Prime Mover, is the only named copyright
holder, but "and others" includes, well, lots of others.

p4raw-id: //depot/perl@32201

13 years agoLeopard has more standard /etc/passwd files than previous
Rafael Garcia-Suarez [Mon, 29 Oct 2007 10:49:13 +0000 (10:49 +0000)]
Leopard has more standard /etc/passwd files than previous
versions of darwin. Thanks to David Morel for testing.

p4raw-id: //depot/perl@32200

13 years agoRe: Perl 5.10.0 getting close: please test
lemkemch@t-online.de [Thu, 25 Oct 2007 00:25:55 +0000 (02:25 +0200)]
Re: Perl 5.10.0 getting close: please test
Message-id: <op.t0p271mr5o90vo@orion>

Help older VMS compilers by using ccflags when building munchconfig.

p4raw-id: //depot/perl@32199

13 years agoproblem with MAKE_EXT.COM
Thomas Pfau [Sat, 27 Oct 2007 09:27:54 +0000 (05:27 -0400)]
problem with MAKE_EXT.COM
Message-id: <47233CDA.8010908@nbpfaus.net>

configure.com thinko in #30455.

p4raw-id: //depot/perl@32198

13 years agoBand-aid to get xs.t working. Need to check that make distclean still
Rafael Garcia-Suarez [Sat, 27 Oct 2007 17:04:35 +0000 (17:04 +0000)]
Band-aid to get xs.t working. Need to check that make distclean still
works with that.

p4raw-id: //depot/perl@32197

13 years agoRe: [PATCH] perlfunc/perldiag errors
Father Chrysostomos [Fri, 26 Oct 2007 18:10:27 +0000 (11:10 -0700)]
Re: [PATCH] perlfunc/perldiag errors
Message-Id: <14C78A7E-43AB-44BF-9016-2EFC9DCB65A2@cpan.org>

p4raw-id: //depot/perl@32196

13 years agoIn the revised Module::Build, don't create temp directories
Craig A. Berry [Fri, 26 Oct 2007 23:59:42 +0000 (23:59 +0000)]
In the revised Module::Build, don't create temp directories
with dots in the names.   Also, restore some VMS fixes
that regressed in the last integration.

p4raw-id: //depot/perl@32195

13 years agoPlatform-neutral quoting in optree_misc.t.
Craig A. Berry [Thu, 25 Oct 2007 21:36:42 +0000 (21:36 +0000)]
Platform-neutral quoting in optree_misc.t.

p4raw-id: //depot/perl@32194

13 years agoCopy Win32 system() behavior on VMS and make a first argument
Craig A. Berry [Thu, 25 Oct 2007 15:40:36 +0000 (15:40 +0000)]
Copy Win32 system() behavior on VMS and make a first argument
with a value of 1 indicate spawn without waiting for completion.

p4raw-id: //depot/perl@32193

13 years agoUpgrade to Module::Build 0.2808_01
Rafael Garcia-Suarez [Thu, 25 Oct 2007 09:46:55 +0000 (09:46 +0000)]
Upgrade to Module::Build 0.2808_01

p4raw-id: //depot/perl@32192

13 years agoEmergency fix for /tmp dir cleanup's for smokers.
H.Merijn Brand [Thu, 25 Oct 2007 09:17:22 +0000 (09:17 +0000)]
Emergency fix for /tmp dir cleanup's for smokers.
Rest of the patch to sync CPANPLUS will follow later

p4raw-id: //depot/perl@32191

13 years ago(Was Re: [PATCH] FreeBSD atoll() warning)
Andy Dougherty [Wed, 24 Oct 2007 13:12:49 +0000 (09:12 -0400)]
(Was Re: [PATCH] FreeBSD atoll() warning)
Message-ID: <Pine.LNX.4.64.0710241307450.21836@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@32190

13 years agoBring version.pm core into compliance with CPAN release
John Peacock [Wed, 24 Oct 2007 22:04:45 +0000 (18:04 -0400)]
Bring version.pm core into compliance with CPAN release
Message-ID: <471FF9BD.40204@havurah-software.org>

p4raw-id: //depot/perl@32189

13 years agoBump version of IPC::Cmd
Rafael Garcia-Suarez [Thu, 25 Oct 2007 08:43:41 +0000 (08:43 +0000)]
Bump version of IPC::Cmd

p4raw-id: //depot/perl@32188

13 years agopatch@32181 IPC::Cmd fix for VMS.
John E. Malmberg [Thu, 25 Oct 2007 00:36:29 +0000 (19:36 -0500)]
patch@32181 IPC::Cmd fix for VMS.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <47202B5D.8070609@qsl.net>

p4raw-id: //depot/perl@32187

13 years agoFile::Path 2.02
David Landgren [Wed, 24 Oct 2007 15:11:29 +0000 (17:11 +0200)]
File::Path 2.02
Message-ID: <471F4481.6010103@landgren.net>

p4raw-id: //depot/perl@32186

13 years agowarning from ext/Hash/Util/FieldHash/t/02_function.t
Peter Dintelmann [Wed, 24 Oct 2007 12:31:20 +0000 (14:31 +0200)]
warning from ext/Hash/Util/FieldHash/t/02_function.t
From: "Dintelmann, Peter" <Peter.Dintelmann@Dresdner-Bank.com>
Message-ID: <3852726AFA94DE4F87E616F13F416A5FB66DE3@naimucu1.ffz00k.rootdom.net>

p4raw-id: //depot/perl@32185

13 years agopatch@32181 File::Copy.pm patches for VMS
John E. Malmberg [Wed, 24 Oct 2007 00:27:33 +0000 (19:27 -0500)]
patch@32181 File::Copy.pm patches for VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <471ED7C5.9040900@qsl.net>

p4raw-id: //depot/perl@32184

13 years agoFix an off by one error, found by valgrind
Rafael Garcia-Suarez [Wed, 24 Oct 2007 09:31:43 +0000 (09:31 +0000)]
Fix an off by one error, found by valgrind

p4raw-id: //depot/perl@32183

13 years agodocumentation typo for Text::Wrap
David Landgren [Tue, 23 Oct 2007 21:43:29 +0000 (23:43 +0200)]
documentation typo for Text::Wrap
Message-ID: <471E4EE1.5010500@landgren.net>

p4raw-id: //depot/perl@32182

13 years agoRe: [perl #46725] v5.10.0 util.c and pp_sys.c fail to compile under Mac OS X
Andy Dougherty [Tue, 23 Oct 2007 08:54:51 +0000 (04:54 -0400)]
Re: [perl #46725] v5.10.0 util.c and pp_sys.c fail to compile under Mac OS X
Message-ID: <Pine.LNX.4.64.0710230817250.18303@fractal.phys.lafayette.edu>
Date: Tue, 23 Oct 2007 08:54:51 -0400 (EDT)

p4raw-id: //depot/perl@32181

13 years agohostname.t busted
Ricardo SIGNES [Mon, 22 Oct 2007 09:01:09 +0000 (05:01 -0400)]
hostname.t busted
Message-ID: <20071022130109.GA16748@knight>

p4raw-id: //depot/perl@32180

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

p4raw-id: //depot/perl@32159

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

p4raw-id: //depot/perl@32145

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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