This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agosv_add_arena() is now only called from sv.c, so it can be static.
Nicholas Clark [Wed, 26 Nov 2008 23:02:47 +0000 (23:02 +0000)]
sv_add_arena() is now only called from sv.c, so it can be static.

p4raw-id: //depot/perl@34938

13 years agoPerl_oopsCV() is not part of the public API, not used anywhere, so can
Nicholas Clark [Wed, 26 Nov 2008 22:44:03 +0000 (22:44 +0000)]
Perl_oopsCV() is not part of the public API, not used anywhere, so can
go.

p4raw-id: //depot/perl@34937

13 years agoUpgrade to IPC::SysV 2.00_01
Marcus Holland-Moritz [Wed, 26 Nov 2008 22:34:54 +0000 (22:34 +0000)]
Upgrade to IPC::SysV 2.00_01

p4raw-id: //depot/perl@34936

13 years agorxres_free() and rxres_restore() are only used in pp_ctl.c, so can be
Nicholas Clark [Wed, 26 Nov 2008 22:25:18 +0000 (22:25 +0000)]
rxres_free() and rxres_restore() are only used in pp_ctl.c, so can be
static. Macros PUSHSUBST() and POPSUBST() are only viable in PERL_CORE.

p4raw-id: //depot/perl@34935

13 years agoJust s/Perl_/S_/ isn't good enough - you also need to add the C<static>
Nicholas Clark [Wed, 26 Nov 2008 22:04:01 +0000 (22:04 +0000)]
Just s/Perl_/S_/ isn't good enough - you also need to add the C<static>

p4raw-id: //depot/perl@34934

13 years agopmtrans() and refkids() can be static in op.c.
Nicholas Clark [Wed, 26 Nov 2008 21:56:46 +0000 (21:56 +0000)]
pmtrans() and refkids() can be static in op.c.

p4raw-id: //depot/perl@34933

13 years agopidgone() is only used in util.c, so it can be static.
Nicholas Clark [Wed, 26 Nov 2008 21:33:54 +0000 (21:33 +0000)]
pidgone() is only used in util.c, so it can be static.

p4raw-id: //depot/perl@34932

13 years agoMerge S_is_gv_magical() into Perl_is_gv_magical_sv().
Nicholas Clark [Wed, 26 Nov 2008 21:18:58 +0000 (21:18 +0000)]
Merge S_is_gv_magical() into Perl_is_gv_magical_sv().

p4raw-id: //depot/perl@34931

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

p4raw-id: //depot/perl@34930

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

p4raw-id: //depot/perl@34929

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

p4raw-id: //depot/perl@34927

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

p4raw-id: //depot/perl@34926

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

p4raw-id: //depot/perl@34925

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

p4raw-id: //depot/perl@34924

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

p4raw-id: //depot/perl@34923

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

p4raw-id: //depot/perl@34922