This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoSubject: [PATCH] Update version of Module::Loaded
Steve Hay [Fri, 19 Dec 2008 14:39:30 +0000 (14:39 +0000)]
Subject: [PATCH] Update version of Module::Loaded
From: "Jos I. Boumans" <jos@dwim.org>
Date: Wed, 17 Dec 2008 14:32:55 +0100
Message-Id: <2D1323D9-C380-47D1-8E95-FC0B99D55E03@dwim.org>

15 years agoSubject: [PATCH] Version updates for Package::Constants & Log::Message
Steve Hay [Fri, 19 Dec 2008 14:39:15 +0000 (14:39 +0000)]
Subject: [PATCH] Version updates for Package::Constants & Log::Message
From: "Jos I. Boumans" <jos@dwim.org>
Date: Wed, 17 Dec 2008 14:28:12 +0100
Message-Id: <51CE11BA-344A-4C20-B464-CEAF204BAABC@dwim.org>

15 years agoSubject: [PATCH] Update Module::Load::Conditional to 0.28
Steve Hay [Fri, 19 Dec 2008 14:38:54 +0000 (14:38 +0000)]
Subject: [PATCH] Update Module::Load::Conditional to 0.28
From: "Jos I. Boumans" <jos@dwim.org>
Date: Wed, 17 Dec 2008 14:24:23 +0100
Message-Id: <D986D195-F3E3-4E3E-9867-526C9C55D92F@dwim.org>

15 years agoSubject: [PATCH] Update File::Fetch to 0.18
Steve Hay [Fri, 19 Dec 2008 14:38:14 +0000 (14:38 +0000)]
Subject: [PATCH] Update File::Fetch to 0.18
From: "Jos I. Boumans" <jos@dwim.org>
Date: Wed, 17 Dec 2008 14:22:13 +0100
Message-Id: <FCD0E6F5-73C2-4FAE-8EBE-3838741352D4@dwim.org>

15 years agoSilence a podchecker warning in perlxs.pod
Vincent Pit [Fri, 19 Dec 2008 14:50:07 +0000 (15:50 +0100)]
Silence a podchecker warning in perlxs.pod

15 years agoAdd various files generated by a Win32 build to .gitignore. GitLive-blead
Steve Hay [Wed, 17 Dec 2008 17:22:30 +0000 (17:22 +0000)]
Add various files generated by a Win32 build to .gitignore.

15 years agoadd .patch to the config file
Yves Orton [Mon, 15 Dec 2008 14:12:43 +0000 (15:12 +0100)]
add .patch to the config file

15 years agoFix up .gitignore files some more
Florian Ragwitz [Wed, 25 Jun 2008 01:22:41 +0000 (03:22 +0200)]
Fix up .gitignore files some more

 * Ignore generated macros.all in .gitignore for Sys::Syslog.
 * Add .gitignore for generated files of GDBM_File.
 * Ignore DynaLoader.xs in .gitignore for DynaLoader.
 * Put every pattern in .gitignore files on a single line.
 * Add some generated .xs files .gitignore of Encode.
 * Ignore RealPPPort.xs in .gitignore for Devel::PPPort.
 * Ignore ODBM_File.pm in .gitignore for lib/.
 * Add .gitignore for generated files of XS::APItest.
 * Add .gitignore for Compress::Raw::Zlib.
 * Ignore GDBM_File.pm in .gitignore for lib/.

15 years agoPorting: add a little script to find a perforce change
Sam Vilain [Mon, 16 Jun 2008 11:02:43 +0000 (23:02 +1200)]
Porting: add a little script to find a perforce change

Requested by Nicholas Clark

15 years ago[admin] set up .gitignore files
Sam Vilain [Mon, 16 Jun 2008 10:32:14 +0000 (22:32 +1200)]
[admin] set up .gitignore files

A list submitted by Paul Fenwick was briefly factored into
directory-specific rules.

15 years agoThank you for a thank you, not thank you for a bug report.
Nicholas Clark [Tue, 16 Dec 2008 13:57:38 +0000 (13:57 +0000)]
Thank you for a thank you, not thank you for a bug report.

p4raw-id: //depot/perl@35120

15 years agoRe: [PATCH] Update IPC::Cmd to 0.42
Jos I. Boumans [Mon, 15 Dec 2008 19:07:04 +0000 (20:07 +0100)]
Re: [PATCH] Update IPC::Cmd to 0.42
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <E69CF940-98A5-41C1-B145-32ACED142655@dwim.org>

(Fixes test failures caused by IPC-Cmd upgrade)

p4raw-id: //depot/perl@35119

15 years agoUpdate IPC::Cmd to 0.42
Jos I. Boumans [Sat, 13 Dec 2008 18:37:27 +0000 (19:37 +0100)]
Update IPC::Cmd to 0.42
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <87613C84-ED4A-4785-BEC8-62D291FC3C24@dwim.org>

p4raw-id: //depot/perl@35118

15 years agoFix test failures caused by Archive-Extract upgrade
Steve Hay [Mon, 15 Dec 2008 15:39:12 +0000 (15:39 +0000)]
Fix test failures caused by Archive-Extract upgrade

p4raw-id: //depot/perl@35106

15 years agoUpdate Archive::Extract to 0.28
Jos I. Boumans [Sat, 13 Dec 2008 17:36:13 +0000 (18:36 +0100)]
Update Archive::Extract to 0.28
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <A6FBAEE4-A1F3-41BE-A051-ABF03540E9F1@dwim.org>

p4raw-id: //depot/perl@35105

15 years ago'make manisort'
Jos I. Boumans [Sat, 13 Dec 2008 17:29:21 +0000 (18:29 +0100)]
'make manisort'
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <E6ED4E19-DCD5-4525-A7F6-EF492B6D928C@dwim.org>

p4raw-id: //depot/perl@35102

15 years agoTypo in pod/perlfunc.pod
Aaron Crane [Mon, 15 Dec 2008 11:13:17 +0000 (11:13 +0000)]
Typo in pod/perlfunc.pod
Message-ID: <20081215111317.GI7480@aaroncrane.co.uk>

p4raw-id: //depot/perl@35101

15 years agoUpdate Archive::Tar to 1.42
Jos I. Boumans [Sat, 13 Dec 2008 18:08:13 +0000 (19:08 +0100)]
Update Archive::Tar to 1.42
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <5B9B0070-0F59-4182-BF11-3A27487B15F3@dwim.org>

p4raw-id: //depot/perl@35099

15 years agoRe: 5.8.9 RC2 (was Re: 5.8.9 RC1)
Rainer Tammer [Mon, 15 Dec 2008 08:34:19 +0000 (09:34 +0100)]
Re: 5.8.9 RC2 (was Re: 5.8.9 RC1)
Message-ID: <4946087B.7080608@tammer.net>

p4raw-id: //depot/perl@35097

15 years agoIntegrate:
Nicholas Clark [Sun, 14 Dec 2008 23:39:28 +0000 (23:39 +0000)]
Integrate:
[ 35085]
Mostly update Module::CoreList to 2.17, teaching it about 5.8.9.
It can't "know" the Perforce revision of the release until it's close
enough to guess.

[ 35092]
Hopefully today.

[ 35093]
Best estimiate patch number for 5.8.9 release.
p4raw-link: @35093 on //depot/maint-5.8/perl: ad35fe93b63785a1916b39863d33eef04eee941b
p4raw-link: @35092 on //depot/maint-5.8/perl: 4ff3fe7f1e4f605bec2b89920f2d8dfe789255b5
p4raw-link: @35085 on //depot/maint-5.8/perl: 951e5eb7a3e0c2d177c8864d5b44ead4eff50dd0

p4raw-id: //depot/perl@35096
p4raw-integrated: from //depot/maint-5.8/perl@35088 'copy in'
pod/perlhist.pod (@35047..) lib/Module/CoreList.pm (@35085..)

15 years agoFix change 35082 by manually expanding do_open() to Perl_do_openn().
Nicholas Clark [Sun, 14 Dec 2008 09:26:00 +0000 (09:26 +0000)]
Fix change 35082 by manually expanding do_open() to Perl_do_openn().

p4raw-id: //depot/perl@35088

15 years agoRe: [perl #60904] Race condition with perl -i.bk
Chip Salzenberg [Mon, 1 Dec 2008 15:01:12 +0000 (07:01 -0800)]
Re: [perl #60904] Race condition with perl -i.bk
Message-ID: <20081201230112.GH31089@tytlal.topaz.cx>

Use mode 0600 (minus umask) for creation of the new file with -i

p4raw-id: //depot/perl@35082

15 years agoDocument the changes between VERSIONS 1.30 and 1.31 of the debugger.
Nicholas Clark [Fri, 12 Dec 2008 19:11:51 +0000 (19:11 +0000)]
Document the changes between VERSIONS 1.30 and 1.31 of the debugger.

p4raw-id: //depot/perl@35080

15 years agoUpgrade to Win32API-File 0.1101
Steve Hay [Fri, 12 Dec 2008 17:50:55 +0000 (17:50 +0000)]
Upgrade to Win32API-File 0.1101

(Causes a couple of "prerequisite not found" build warnings, but all
works okay otherwise)

p4raw-id: //depot/perl@35079

15 years agoApply revision 11894 from the Module::Build SVN repo (to replace
Steve Hay [Fri, 12 Dec 2008 17:08:51 +0000 (17:08 +0000)]
Apply revision 11894 from the Module::Build SVN repo (to replace
local change 34447, which did the same thing)

p4raw-id: //depot/perl@35078

15 years agoUpgrade to Test-Simple 0.86
Steve Hay [Fri, 12 Dec 2008 16:50:08 +0000 (16:50 +0000)]
Upgrade to Test-Simple 0.86

Remove local changes 34491 (no longer required) and 34763 (fixed
properly by change 35076), but keep 34545 and 34762 for now (with
a VERSION bump in Test::Simple as a reminder)

p4raw-id: //depot/perl@35077

15 years agoApply revision 1241 (and 1250) from the TAP::Harness SVN repo
Steve Hay [Fri, 12 Dec 2008 16:47:01 +0000 (16:47 +0000)]
Apply revision 1241 (and 1250) from the TAP::Harness SVN repo

p4raw-id: //depot/perl@35076

15 years agoUpdate Win32 canned configs
Steve Hay [Fri, 12 Dec 2008 16:04:51 +0000 (16:04 +0000)]
Update Win32 canned configs

Updates the config.* and config_H.* files w.r.t. 34456, 34756/34777,
34950 and 34994.

Also adds missing variables (d_ndbm, extern_C and rm_try) and removes a
redundant variable (Mcc) to/from the config.* files for completeness.

p4raw-id: //depot/perl@35075

15 years ago[perl #60978] [PATCH] Tied filehandles can't distinguish eof forms
Chip Salzenberg [Wed, 10 Dec 2008 14:45:24 +0000 (06:45 -0800)]
[perl #60978] [PATCH] Tied filehandles can't distinguish eof forms
Message-ID: <20081210224524.GD18817@tytlal.topaz.cx>

p4raw-id: //depot/perl@35074

15 years agoSilence compiler warning in perlio.c
Jerry D. Hedden [Tue, 9 Dec 2008 12:09:36 +0000 (07:09 -0500)]
Silence compiler warning in perlio.c
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510812090909y11947acfy317e46417b9ae91d@mail.gmail.com>

p4raw-id: //depot/perl@35073

15 years agoFix #61222 (debugger doesn't understand proxy constant subroutines, or
Nicholas Clark [Tue, 9 Dec 2008 20:59:34 +0000 (20:59 +0000)]
Fix #61222 (debugger doesn't understand proxy constant subroutines, or
as it turns out, anything else not-a-glob in a symbol table).

p4raw-id: //depot/perl@35067

15 years agoBump the debugger's version. Fail to update the changes.
Nicholas Clark [Tue, 9 Dec 2008 20:32:30 +0000 (20:32 +0000)]
Bump the debugger's version. Fail to update the changes.

p4raw-id: //depot/perl@35066

15 years agobump Data::Dumper version number.
Dave Mitchell [Tue, 9 Dec 2008 12:58:08 +0000 (12:58 +0000)]
bump Data::Dumper version number.
both maint branches are listed as 2.121_17, but bleed has
additional changes.

p4raw-id: //depot/perl@35060

15 years agoRe: [PATCH] standardize save/restore of errno & vaxc$errno
Chip Salzenberg [Fri, 5 Dec 2008 13:32:19 +0000 (05:32 -0800)]
Re: [PATCH] standardize save/restore of errno & vaxc$errno
Message-ID: <20081205213219.GH16081@tytlal.topaz.cx>

p4raw-id: //depot/perl@35059

15 years agoblead is canonical for threads
Jerry D. Hedden [Mon, 8 Dec 2008 08:45:13 +0000 (03:45 -0500)]
blead is canonical for threads
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510812080545n5d8fb198iaa73678081616437@mail.gmail.com>

p4raw-id: //depot/perl@35058

15 years agoIntegrate:
Nicholas Clark [Sat, 6 Dec 2008 22:52:18 +0000 (22:52 +0000)]
Integrate:
[ 35047]
Hopefully today.
p4raw-link: @35047 on //depot/maint-5.8/perl: 53c51e650b0d9ad354c33d5b89a87f0986c0087b

p4raw-id: //depot/perl@35055
p4raw-integrated: from //depot/maint-5.8/perl@35050 'copy in'
pod/perlhist.pod (@34811..)

15 years agoRe: AIX patches for Perl 5.8.9 RC2 - README.aix
Rainer Tammer [Sat, 6 Dec 2008 17:57:20 +0000 (18:57 +0100)]
Re: AIX patches for Perl 5.8.9 RC2 - README.aix
Message-ID: <493AAEF0.3020203@tammer.net>
Date: Sat, 06 Dec 2008 17:57:20 +0100

p4raw-id: //depot/perl@35050

15 years agoNote perl5-security-report@perl.org in INSTALL. Must remember to
Nicholas Clark [Sat, 6 Dec 2008 15:07:55 +0000 (15:07 +0000)]
Note perl5-security-report@perl.org in INSTALL. Must remember to
mention it in the release announcement.

p4raw-id: //depot/perl@35039

15 years agoRe: add UPSTREAM flag to Maintainers.pl??
Steffen Mueller [Mon, 10 Nov 2008 10:21:29 +0000 (11:21 +0100)]
Re: add UPSTREAM flag to Maintainers.pl??
Message-ID: <4917FD19.7080704@sneakemail.com>

p4raw-id: //depot/perl@35038

15 years agoPATCH [perl #58430] Unicode::UCD::casefold() does not work as documented,
karl williamson [Wed, 3 Dec 2008 19:51:54 +0000 (12:51 -0700)]
PATCH [perl #58430] Unicode::UCD::casefold() does not work as documented,
Message-ID: <493745CA.6070300@khwilliamson.com>

And bump version to 0.27

p4raw-id: //depot/perl@35036

15 years agowhether DEPTH gets dumped in formats varies within 5.10.0
Dave Mitchell [Fri, 5 Dec 2008 23:05:52 +0000 (23:05 +0000)]
whether DEPTH gets dumped in formats varies within 5.10.0

p4raw-id: //depot/perl@35023

15 years agoin Dump output, PV field of format may or not be displayed in 5.10.0
Dave Mitchell [Fri, 5 Dec 2008 22:54:50 +0000 (22:54 +0000)]
in Dump output, PV field of format may or not be displayed in 5.10.0

p4raw-id: //depot/perl@35022

15 years agoremove syntax error from < 5.10 branch of Data::Dumper
Dave Mitchell [Fri, 5 Dec 2008 22:22:30 +0000 (22:22 +0000)]
remove syntax error from < 5.10 branch of Data::Dumper

p4raw-id: //depot/perl@35021

15 years agostandardize save/restore of errno & vaxc$errno
Chip Salzenberg [Wed, 26 Nov 2008 23:01:41 +0000 (15:01 -0800)]
standardize save/restore of errno & vaxc$errno
Message-ID: <20081127070141.GD17663@tytlal.topaz.cx>

p4raw-id: //depot/perl@35018

15 years agoWhile we are off the reservation, revert a stupid, VMS-specific
Craig A. Berry [Thu, 4 Dec 2008 21:46:16 +0000 (21:46 +0000)]
While we are off the reservation, revert a stupid, VMS-specific
test regression I caused David to make in 2.07.  (See
http://rt.cpan.org/Public/Bug/Display.html?id=40512 ).

p4raw-id: //depot/perl@35013

15 years agoRe: File::Path regression in 5.8.9
Marcus Holland-Moritz [Fri, 14 Nov 2008 10:58:09 +0000 (11:58 +0100)]
Re: File::Path regression in 5.8.9
Message-ID: <20081114105809.6435cba1@r2d2>

Plus replace "$p/$x" with catdir($p, $x) in the test.

p4raw-id: //depot/perl@35012

15 years agoRevert 35009 so we can take another swing at ancestor detection.
Craig A. Berry [Thu, 4 Dec 2008 21:36:56 +0000 (21:36 +0000)]
Revert 35009 so we can take another swing at ancestor detection.

p4raw-id: //depot/perl@35011

15 years ago[patch@34995] vms.c - Memory freed from wrong pool
John E. Malmberg [Wed, 3 Dec 2008 19:38:04 +0000 (13:38 -0600)]
[patch@34995] vms.c - Memory freed from wrong pool
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4937347C.70003@qsl.net>

Need PerlMem_free, not Safefree in trim_unixpath.

p4raw-id: //depot/perl@35010

15 years agoFor now, remove the 'cannot remove [dir] when cwd is [dir]' message,
Nicholas Clark [Thu, 4 Dec 2008 14:09:20 +0000 (14:09 +0000)]
For now, remove the 'cannot remove [dir] when cwd is [dir]' message,
because the existing code will think that /tmp/abc is a subdirectory
of /tmp/aa, and whilst we have a patch for Win32 and *nix, we've not
tested on VMS, which has "interesting" path syntax.

p4raw-id: //depot/perl@35009

15 years agoRe: File::Path regression in 5.8.9
Gisle Aas [Wed, 19 Nov 2008 19:09:20 +0000 (20:09 +0100)]
Re: File::Path regression in 5.8.9
Message-Id: <C72B3504-E0B8-4622-89AA-3C07C57C14E2@activestate.com>

[plus bump $VERSION. Gah. Format F-word must die]

p4raw-id: //depot/perl@35008

15 years agoAIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX README.aix
Rainer Tammer [Thu, 4 Dec 2008 10:32:11 +0000 (11:32 +0100)]
AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX README.aix
Message-ID: <4937A39B.1070104@tammer.net>

[the rest, including unwinding change 34983 first]

p4raw-id: //depot/perl@35007

15 years agoAIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX README.aix
Rainer Tammer [Thu, 4 Dec 2008 10:32:11 +0000 (11:32 +0100)]
AIX patches for Perl 5.8.9 RC2 and gcc on AIX + suidperl on AIX README.aix
Message-ID: <4937A39B.1070104@tammer.net>

[just the hints]

p4raw-id: //depot/perl@35006

15 years agoThe gcc attribute "deprecated" seems to have been available since gcc 3.1
Rafael Garcia-Suarez [Wed, 3 Dec 2008 16:29:09 +0000 (16:29 +0000)]
The gcc attribute "deprecated" seems to have been available since gcc 3.1

So encode this knowledge in perl.h, so we don't rely on the version of
gcc used by Configure to get the macro definition right.

p4raw-id: //depot/perl@34995

15 years agoConfigure detection of __attribute__((deprecated))
Rafael Garcia-Suarez [Wed, 3 Dec 2008 12:51:36 +0000 (13:51 +0100)]
Configure detection of __attribute__((deprecated))
From: "Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
Message-ID: <b77c1dce0812030351j33d7b75ci3e2640b33f36acd9@mail.gmail.com>

p4raw-id: //depot/perl@34994

15 years agoFix for tainting regression in a test of Text::Template spotted by
Nicholas Clark [Wed, 3 Dec 2008 09:19:32 +0000 (09:19 +0000)]
Fix for tainting regression in a test of Text::Template spotted by
Andreas' smoker.

p4raw-id: //depot/perl@34987

15 years agoChange PL_debug behaviour so that string eval lines are saved whenever
Nicholas Clark [Tue, 2 Dec 2008 22:16:56 +0000 (22:16 +0000)]
Change PL_debug behaviour so that string eval lines are saved whenever
a subroutine is defined, even if the eval'd string has subsequent
syntax errors. This allows the debugger to single step into these
subroutines.

p4raw-id: //depot/perl@34986

15 years agoImplement PERLDBf_SAVESRC_INVALID, which saves source lines for string
Nicholas Clark [Tue, 2 Dec 2008 20:43:58 +0000 (20:43 +0000)]
Implement PERLDBf_SAVESRC_INVALID, which saves source lines for string
evals that fail to compile.

p4raw-id: //depot/perl@34985

15 years agoCodify the current behaviour of evals which define subroutines before
Nicholas Clark [Tue, 2 Dec 2008 20:16:33 +0000 (20:16 +0000)]
Codify the current behaviour of evals which define subroutines before
failing (due to syntax errors).

p4raw-id: //depot/perl@34984

15 years agoUnwind change 31976 then apply
Rainer Tammer [Tue, 2 Dec 2008 11:10:35 +0000 (12:10 +0100)]
Unwind change 31976 then apply

Subject: Re: 5.8.9 RC1 / 5.10.x / bleed patches for gcc / AIX
Message-ID: <4935099B.8060004@tammer.net>
Date: Tue, 02 Dec 2008 11:10:35 +0100

p4raw-id: //depot/perl@34983

15 years agoSilence a compiler warning introduced by 34963
Steve Hay [Tue, 2 Dec 2008 17:47:19 +0000 (17:47 +0000)]
Silence a compiler warning introduced by 34963

p4raw-id: //depot/perl@34982

15 years agoFollowup to change 34979. Tests are good, m'kay. Particularly when they
Nicholas Clark [Tue, 2 Dec 2008 16:20:01 +0000 (16:20 +0000)]
Followup to change 34979. Tests are good, m'kay. Particularly when they
show you that something you thought worked doesn't.
Sadly it's not possible to trivially make it work, so for now they're
todo_skip().

p4raw-id: //depot/perl@34981

15 years agoRemove last reference to PERLDB_ASSERTION
Nicholas Clark [Tue, 2 Dec 2008 14:59:37 +0000 (14:59 +0000)]
Remove last reference to PERLDB_ASSERTION

p4raw-id: //depot/perl@34980

15 years agoAdd two more flags, PERLDBf_SAVESRC_NOSUBS and PERLDBf_SAVESRC_INVALID,
Nicholas Clark [Tue, 2 Dec 2008 14:46:17 +0000 (14:46 +0000)]
Add two more flags, PERLDBf_SAVESRC_NOSUBS and PERLDBf_SAVESRC_INVALID,
which give total control over when source code from evals is stored.
The debugger doesn't need them, but I forsee that profilers might.

p4raw-id: //depot/perl@34979

15 years agoAvoid warnings from exacting C compilers when -DNO_MATHOMS is in force.
Nicholas Clark [Tue, 2 Dec 2008 10:43:20 +0000 (10:43 +0000)]
Avoid warnings from exacting C compilers when -DNO_MATHOMS is in force.

p4raw-id: //depot/perl@34977

15 years agosetsid() returns -1 on failure.
Steve Peters [Tue, 2 Dec 2008 05:10:09 +0000 (05:10 +0000)]
setsid() returns -1 on failure.

p4raw-id: //depot/perl@34976

15 years agoAdd diagnostics for "No such hook: %s".
Steve Peters [Tue, 2 Dec 2008 04:18:48 +0000 (04:18 +0000)]
Add diagnostics for "No such hook: %s".

p4raw-id: //depot/perl@34975

15 years agoThe temporary SV created in Perl_save_helem_flags() to store the key
Nicholas Clark [Mon, 1 Dec 2008 22:17:55 +0000 (22:17 +0000)]
The temporary SV created in Perl_save_helem_flags() to store the key
can be freed immediately after it is used, as it is unrelated to
anything else. This folds SvREFCNT_dec()s on two code paths into one.

p4raw-id: //depot/perl@34973

15 years agoConvention seems to be that static definitions are also made visible by
Nicholas Clark [Mon, 1 Dec 2008 21:28:13 +0000 (21:28 +0000)]
Convention seems to be that static definitions are also made visible by
|| defined(PERL_DECL_PROT), so add this where it is missing.

p4raw-id: //depot/perl@34972

15 years agoEliminate setenv_getix()
Jerry D. Hedden [Mon, 1 Dec 2008 12:47:35 +0000 (07:47 -0500)]
Eliminate setenv_getix()
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510812010947p7df19438kc19c279bcffe4b83@mail.gmail.com>
Date: Mon, 1 Dec 2008 12:47:35 -0500

p4raw-id: //depot/perl@34971

15 years agoChange 34966 should also have removed the SSCHECK(4); from
Nicholas Clark [Mon, 1 Dec 2008 14:29:42 +0000 (14:29 +0000)]
Change 34966 should also have removed the SSCHECK(4); from
Perl_save_hints().

p4raw-id: //depot/perl@34970

15 years agoIn Perl_ss_dup(), case SAVEt_FREEPV can be rolled into case
Nicholas Clark [Mon, 1 Dec 2008 13:20:27 +0000 (13:20 +0000)]
In Perl_ss_dup(), case SAVEt_FREEPV can be rolled into case
SAVEt_DELETE for a space optimisation.

p4raw-id: //depot/perl@34969

15 years agoImplement Perl_save_delete() using save_pushptri32ptr().
Nicholas Clark [Mon, 1 Dec 2008 13:19:41 +0000 (13:19 +0000)]
Implement Perl_save_delete() using save_pushptri32ptr().

p4raw-id: //depot/perl@34968

15 years agoRe-order Perl_save_delete() to PTR, INT, PTR.
Nicholas Clark [Mon, 1 Dec 2008 11:54:42 +0000 (11:54 +0000)]
Re-order Perl_save_delete() to PTR, INT, PTR.

p4raw-id: //depot/perl@34967

15 years agoAdd S_save_pushptri32ptr() and use it to re-implement Perl_save_hints()
Nicholas Clark [Mon, 1 Dec 2008 11:27:31 +0000 (11:27 +0000)]
Add S_save_pushptri32ptr() and use it to re-implement Perl_save_hints()
and Perl_save_aelem().

p4raw-id: //depot/perl@34966

15 years agoMove the implmentation of SAVEHINTS() into a new Perl_save_hints() in
Nicholas Clark [Mon, 1 Dec 2008 11:06:05 +0000 (11:06 +0000)]
Move the implmentation of SAVEHINTS() into a new Perl_save_hints() in
scope.c. "Inlined" macro functions in scope.h are actually space
inefficient.

p4raw-id: //depot/perl@34965

15 years agoFor SAVEHINTS(), re-order the savestack to be (?:PTR, )? INT, PTR.
Nicholas Clark [Mon, 1 Dec 2008 10:36:44 +0000 (10:36 +0000)]
For SAVEHINTS(), re-order the savestack to be (?:PTR, )? INT, PTR.
This brings it to the same order as save_aelem() or save_pushi32ptr().

p4raw-id: //depot/perl@34964

15 years agoExpose save_pushi32ptr() and implement SAVECOPARYBASE() with it.
Nicholas Clark [Mon, 1 Dec 2008 09:46:15 +0000 (09:46 +0000)]
Expose save_pushi32ptr() and implement SAVECOPARYBASE() with it.

p4raw-id: //depot/perl@34963

15 years agoRe: 5.8.9 RC1 / 5.10.x / bleed patches for README.aix
Rainer Tammer [Sat, 29 Nov 2008 14:23:26 +0000 (15:23 +0100)]
Re: 5.8.9 RC1 / 5.10.x / bleed patches for README.aix
Message-ID: <4931424E.8000008@tammer.net>

p4raw-id: //depot/perl@34961

15 years agoExpose save_pushptrptr() and implement SAVESWITCHSTACK() with it.
Nicholas Clark [Mon, 1 Dec 2008 00:02:17 +0000 (00:02 +0000)]
Expose save_pushptrptr() and implement SAVESWITCHSTACK() with it.

p4raw-id: //depot/perl@34960

15 years agoRefactor all of the code of the form
Nicholas Clark [Sun, 30 Nov 2008 23:45:20 +0000 (23:45 +0000)]
Refactor all of the code of the form
SSCHECK(3);
SSPUSHINT(i);
SSPUSHPTR(ptr);
SSPUSHINT(type);
into a static function S_save_pushi32ptr().

p4raw-id: //depot/perl@34959

15 years agoRe-implement the macros SAVECOMPPAD(), SAVECOMPILEWARNINGS(),
Nicholas Clark [Sun, 30 Nov 2008 23:27:57 +0000 (23:27 +0000)]
Re-implement the macros SAVECOMPPAD(), SAVECOMPILEWARNINGS(),
SAVEPARSER() in terms of save_pushptr(). This shinks the exectuable
by about 4K. Maybe some of the other scope.h macros should become
functions.

p4raw-id: //depot/perl@34958

15 years agoRefactor all of the code of the form
Nicholas Clark [Sun, 30 Nov 2008 23:16:09 +0000 (23:16 +0000)]
Refactor all of the code of the form
SSCHECK(3);
SSPUSHPTR(ptr1);
SSPUSHPTR(ptr2);
SSPUSHINT(type);
into a static function S_save_pushptrptr().
It might be possible to make some of its callers trivial macros, and
so eliminate them as functions. But start with the easy part.

p4raw-id: //depot/perl@34957

15 years agoConvert all the scope save functions of the form
Nicholas Clark [Sun, 30 Nov 2008 22:46:37 +0000 (22:46 +0000)]
Convert all the scope save functions of the form
SSCHECK(2);
SSPUSHPTR(o);
SSPUSHINT(SAVEt_FREEOP);
into a single function Perl_save_pushptr(ptr, type), which the others
call. Implement the others as macros. This reduces the object code size.

p4raw-id: //depot/perl@34956

15 years agoThis feels like a more robust location than that of change 34954.
Nicholas Clark [Sun, 30 Nov 2008 19:18:33 +0000 (19:18 +0000)]
This feels like a more robust location than that of change 34954.

p4raw-id: //depot/perl@34955

15 years agoProposed fix for -T -d:NYTProf regression. Probably this is a "missing"
Nicholas Clark [Sun, 30 Nov 2008 17:17:37 +0000 (17:17 +0000)]
Proposed fix for -T -d:NYTProf regression. Probably this is a "missing"
part of change 24943.

p4raw-id: //depot/perl@34954

15 years agoUpgrade to IPC::SysV 2.00_02
Marcus Holland-Moritz [Sat, 29 Nov 2008 05:43:24 +0000 (05:43 +0000)]
Upgrade to IPC::SysV 2.00_02

p4raw-id: //depot/perl@34953

15 years agoAnd (hopefully) the actual change for 34951. Sigh.
Craig A. Berry [Fri, 28 Nov 2008 21:43:48 +0000 (21:43 +0000)]
And (hopefully) the actual change for 34951.  Sigh.

p4raw-id: //depot/perl@34952

15 years ago[patch@34950]configure.com fix usedevel
John E. Malmberg [Fri, 28 Nov 2008 11:31:55 +0000 (05:31 -0600)]
[patch@34950]configure.com fix usedevel
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <49302B0B.2070009@qsl.net>

p4raw-id: //depot/perl@34951

15 years agocould we add usedevel to config.h?
H.Merijn Brand [Fri, 28 Nov 2008 07:52:03 +0000 (07:52 +0000)]
could we add usedevel to config.h?
From: Nicholas Clark <nick@ccl4.org>
Date: Thu, 27 Nov 2008 20:28:08 +0000
Message-ID: <20081127202807.GG49335@plum.flirble.org>

Subject: Avoid duplicate vendorlib [PATCH]
From: Gisle Aas <gisle@activestate.com>
Date: Wed, 12 Nov 2008 13:50:34 +0100
Message-Id: <71B06786-4C55-4A76-BE24-C01F89015D45@activestate.com>

p4raw-id: //depot/perl@34950

15 years agoErrors to STDERR please
H.Merijn Brand [Fri, 28 Nov 2008 07:48:30 +0000 (07:48 +0000)]
Errors to STDERR please

p4raw-id: //depot/perl@34949

15 years agoS_mro_get_linear_isa_*() should have an *un*signed level.
Nicholas Clark [Thu, 27 Nov 2008 22:37:41 +0000 (22:37 +0000)]
S_mro_get_linear_isa_*() should have an *un*signed level.
[Unless it's a signed concept, use an usigned type.]

p4raw-id: //depot/perl@34948

15 years agoav_fake is undead. :-(
Nicholas Clark [Thu, 27 Nov 2008 20:01:05 +0000 (20:01 +0000)]
av_fake is undead. :-(
Hopefully it will get the message this time.

p4raw-id: //depot/perl@34947

15 years agoNote (hopefully) all the use cases of all the rest of the non-public but
Nicholas Clark [Thu, 27 Nov 2008 19:13:28 +0000 (19:13 +0000)]
Note (hopefully) all the use cases of all the rest of the non-public but
exported APIs.

p4raw-id: //depot/perl@34946

15 years agoSmall eval documentation tweak
Bo Lindbergh [Wed, 26 Nov 2008 10:54:53 +0000 (11:54 +0100)]
Small eval documentation tweak
Message-Id: <F5D05263-9E5C-4B6D-8233-E11DE1D207E8@hagernas.com>

p4raw-id: //depot/perl@34945

15 years agoav_fake() isn't in the public API, and isn't used anywhere, so it can
Nicholas Clark [Thu, 27 Nov 2008 10:10:06 +0000 (10:10 +0000)]
av_fake() isn't in the public API, and isn't used anywhere, so it can
go.

p4raw-id: //depot/perl@34944

15 years ago[perl #32979] [PATCH] perlrun #!/bin/sh incantation n.g. 4 linux
Steve Peters [Tue, 21 Dec 2004 17:36:12 +0000 (17:36 +0000)]
[perl #32979] [PATCH] perlrun #!/bin/sh incantation n.g. 4 linux
From: "Steve Peters via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32979-103402.11.4873424142094@perl.org>

Applying a four year old patch from myself.  w00t!

p4raw-id: //depot/perl@34943

15 years agoNote where (nearly) all the other private non-static functions are used.
Nicholas Clark [Wed, 26 Nov 2008 23:50:06 +0000 (23:50 +0000)]
Note where (nearly) all the other private non-static functions are used.

p4raw-id: //depot/perl@34942

15 years agoywarn() is actually only used inside toke.c, so it can be static.
Nicholas Clark [Wed, 26 Nov 2008 23:35:59 +0000 (23:35 +0000)]
ywarn() is actually only used inside toke.c, so it can be static.

p4raw-id: //depot/perl@34941

15 years agosetenv_getix() is not used anywhere other than util.c (and the "special
Nicholas Clark [Wed, 26 Nov 2008 23:20:31 +0000 (23:20 +0000)]
setenv_getix() is not used anywhere other than util.c (and the "special
biologist word for stable" Msql-Mysql-modules-1.2219) so make it
static.

p4raw-id: //depot/perl@34940

15 years agoChange 34931 missed a second update to perlintern.pod
Nicholas Clark [Wed, 26 Nov 2008 23:13:18 +0000 (23:13 +0000)]
Change 34931 missed a second update to perlintern.pod

p4raw-id: //depot/perl@34939