This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years agomerge in changes
Leon Brocard [Fri, 19 Dec 2008 16:17:08 +0000 (16:17 +0000)]
merge in changes

13 years agoChange perl.git to perl-git to not confuse people (thanks #p5p)
Leon Brocard [Fri, 19 Dec 2008 16:12:19 +0000 (16:12 +0000)]
Change perl.git to perl-git to not confuse people (thanks #p5p)

13 years agofix thinko
Yves Orton [Fri, 19 Dec 2008 16:11:38 +0000 (17:11 +0100)]
fix thinko

13 years agoexplain how to switch a git from git:// protocol to ssh:// protocol
Yves Orton [Fri, 19 Dec 2008 16:07:52 +0000 (17:07 +0100)]
explain how to switch a git from git:// protocol to ssh:// protocol

13 years agoAdd other files modified by buildtoc
Leon Brocard [Fri, 19 Dec 2008 15:55:36 +0000 (15:55 +0000)]
Add other files modified by buildtoc

13 years agoAdd perlrepository to the list of pod
Leon Brocard [Fri, 19 Dec 2008 15:53:11 +0000 (15:53 +0000)]
Add perlrepository to the list of pod

13 years agoAdd perlhaiku into pod.lst
Leon Brocard [Fri, 19 Dec 2008 15:51:55 +0000 (15:51 +0000)]
Add perlhaiku into pod.lst

13 years agoadd a minimal pod/perlrepository.pod
Leon Brocard [Fri, 19 Dec 2008 15:40:32 +0000 (15:40 +0000)]
add a minimal pod/perlrepository.pod

13 years agoSubject: Re: [PATCH] Update Archive::Extract to 0.28
Steve Hay [Fri, 19 Dec 2008 15:13:01 +0000 (15:13 +0000)]
Subject: Re: [PATCH] Update Archive::Extract to 0.28
From: "Jos I. Boumans" <jos@dwim.org>
Date: Tue, 16 Dec 2008 17:41:03 +0100
Message-Id: <B8875390-49FC-4E14-B14D-C21A76E53475@dwim.org>

(Bump version to 0.30, which incorporates a local change that blead already has.)

13 years agoAdd pod page corresponding to README.haiku in .gitignore
Rafael Garcia-Suarez [Fri, 19 Dec 2008 14:59:03 +0000 (15:59 +0100)]
Add pod page corresponding to README.haiku in .gitignore

13 years agoFix new Module-Load-Conditional test, which otherwise fails on Win32.
Steve Hay [Fri, 19 Dec 2008 14:58:20 +0000 (14:58 +0000)]
Fix new Module-Load-Conditional test, which otherwise fails on Win32.

13 years agoSubject: [PATCH] Suppress diag msg from IPC::Cmd
Steve Hay [Fri, 19 Dec 2008 14:39:50 +0000 (14:39 +0000)]
Subject: [PATCH] Suppress diag msg from IPC::Cmd
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Date: Wed, 17 Dec 2008 10:09:41 -0500
Message-ID: <1ff86f510812170709v6589fbc5j205568b81394807e@mail.gmail.com>

13 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>

13 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>

13 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>

13 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>

13 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

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

13 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

13 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/.

13 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

13 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.

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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..)

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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..)

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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