platform/upstream/perl.git
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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoAddendum to bug #38809: fix assertion failure, more tests
Vincent Pit [Wed, 26 Nov 2008 18:49:48 +0000 (19:49 +0100)]
Addendum to bug #38809: fix assertion failure, more tests
Message-ID: <492D8C3C.1010003@profvince.com>

p4raw-id: //depot/perl@34921

15 years agolistkids() can be static in op.c
Nicholas Clark [Wed, 26 Nov 2008 16:24:07 +0000 (16:24 +0000)]
listkids() can be static in op.c

p4raw-id: //depot/perl@34920

15 years agoFollowing on from change 34918, scalarkids() and scalarseq() can also
Nicholas Clark [Wed, 26 Nov 2008 16:04:04 +0000 (16:04 +0000)]
Following on from change 34918, scalarkids() and scalarseq() can also
be static in op.c, so make it so.

p4raw-id: //depot/perl@34919

15 years ago"If it's not private, it's public somehow." states Rafael. The most
Nicholas Clark [Wed, 26 Nov 2008 15:41:49 +0000 (15:41 +0000)]
"If it's not private, it's public somehow." states Rafael. The most
reliable way I can see to keep our (unsupported) privates private is
to make them static whenever we can.

p4raw-id: //depot/perl@34918

15 years agoReplace Perl_my() with a small shell script. er. macro.
Nicholas Clark [Wed, 26 Nov 2008 11:57:59 +0000 (11:57 +0000)]
Replace Perl_my() with a small shell script. er. macro.

p4raw-id: //depot/perl@34917

15 years agothreads::shared 1.27
Jerry D. Hedden [Tue, 25 Nov 2008 11:52:12 +0000 (06:52 -0500)]
threads::shared 1.27
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510811250852r17a88593h373ca49c74ea0ffa@mail.gmail.com>
Date: Tue, 25 Nov 2008 11:52:12 -0500

p4raw-id: //depot/perl@34915

15 years agoA correction to change 34909 - we want *different* constants.
Nicholas Clark [Tue, 25 Nov 2008 17:47:11 +0000 (17:47 +0000)]
A correction to change 34909 - we want *different* constants.

p4raw-id: //depot/perl@34914

15 years agoAdd Rainer Tammer and Torsten Schönfeld to AUTHORS.
Nicholas Clark [Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)]
Add Rainer Tammer and Torsten Schönfeld to AUTHORS.

p4raw-id: //depot/perl@34910

15 years agoTweak the constants used in testing to constants that Win32 also has.
Nicholas Clark [Tue, 25 Nov 2008 15:48:04 +0000 (15:48 +0000)]
Tweak the constants used in testing to constants that Win32 also has.

p4raw-id: //depot/perl@34909

15 years agoRe: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to...
Luke Ross [Tue, 30 Sep 2008 22:41:50 +0000 (23:41 +0100)]
Re: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to method and can result in needless calls to FETCHSIZE
From: "Luke Ross" <lukeross@gmail.com>
Message-ID: <970a62710809301441v1d8d1877tfc30d7b91cd4dc1a@mail.gmail.com>

p4raw-id: //depot/perl@34908

15 years ago[perl #38809] return do { } : take 3 (or 4...)
Vincent Pit [Mon, 29 Sep 2008 17:36:09 +0000 (19:36 +0200)]
[perl #38809] return do { } : take 3 (or 4...)
Message-ID: <48E0F5E9.4050805@profvince.com>

p4raw-id: //depot/perl@34907

15 years agoRe: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Andy Dougherty [Fri, 11 Jul 2008 11:27:13 +0000 (07:27 -0400)]
Re: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Message-ID: <Pine.LNX.4.64.0807111112440.1349@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@34906

15 years ago[perl #7911] no warning for useless /d in tr/0-9//d
reneeb [Mon, 17 Nov 2008 06:13:57 +0000 (22:13 -0800)]
[perl #7911] no warning for useless /d in tr/0-9//d
From: "reneeb via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-10965-1226931231-1833.7911-15-0@perl.org>

p4raw-id: //depot/perl@34905

15 years agoPromote Perl_setdefout() to the public API.
Nicholas Clark [Mon, 24 Nov 2008 18:48:43 +0000 (18:48 +0000)]
Promote Perl_setdefout() to the public API.

p4raw-id: //depot/perl@34904

15 years agoChange 34831 missed running autodoc.pl
Nicholas Clark [Mon, 24 Nov 2008 18:37:22 +0000 (18:37 +0000)]
Change 34831 missed running autodoc.pl

p4raw-id: //depot/perl@34903

15 years agoRespecting inc_version_list while processing PERL_VENDORLIB_STEM
Mandalemula, Rajesh [Tue, 18 Nov 2008 14:55:03 +0000 (20:25 +0530)]
Respecting inc_version_list while processing PERL_VENDORLIB_STEM
From: "Mandalemula, Rajesh" <Rajesh.Mandalemula@deshaw.com>
Message-ID: <B911686319FBAC4BA4671AF36F8DC30902CEA28A@mailhyd2.hyd.deshaw.com>

p4raw-id: //depot/perl@34902

15 years ago[patch@34896] vms readdir() fixes for UNIX/EFS mode
John E. Malmberg [Sat, 22 Nov 2008 11:31:58 +0000 (05:31 -0600)]
[patch@34896] vms readdir() fixes for UNIX/EFS mode
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4928420E.2010607@qsl.net>

p4raw-id: //depot/perl@34901

16 years agoHard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Tim Bunce [Thu, 20 Nov 2008 13:17:19 +0000 (13:17 +0000)]
Hard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Message-ID: <20081120131719.GA32120@timac.local>

[tweaked for blead because of change 27941]

p4raw-id: //depot/perl@34896

16 years agoNote where there is a U8 of space.
Nicholas Clark [Tue, 18 Nov 2008 21:01:24 +0000 (21:01 +0000)]
Note where there is a U8 of space.

p4raw-id: //depot/perl@34887

16 years agoRename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
Nicholas Clark [Tue, 18 Nov 2008 20:32:23 +0000 (20:32 +0000)]
Rename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
the ANSI gods of VMS.

p4raw-id: //depot/perl@34886

16 years agoRemove the trailing NUL byte, and (hopefully) convert perforce to
Nicholas Clark [Tue, 18 Nov 2008 15:10:57 +0000 (15:10 +0000)]
Remove the trailing NUL byte, and (hopefully) convert perforce to
thinking that it is text, not binary.

p4raw-id: //depot/perl@34883

16 years agoImprove and restructure t/op/pat.t and split out some unicode related tests into...
Abigail [Tue, 18 Nov 2008 09:29:05 +0000 (10:29 +0100)]
Improve and restructure t/op/pat.t and split out some unicode related tests into a new test file

Subject: t/op/pat.t
Message-ID: <20081118082905.GJ3172@almanda>

With tweaks: Seems the new harness is quite picky about # signs in test names,
and doesnt like SKIP and TODO to be used together.

p4raw-id: //depot/perl@34882

16 years agoRe: 5.8.9 RC1 patches for AIX
Rainer Tammer [Tue, 18 Nov 2008 12:58:27 +0000 (13:58 +0100)]
Re: 5.8.9 RC1 patches for AIX
Message-ID: <4922ADE3.5030701@tammer.net>

p4raw-id: //depot/perl@34881

16 years agoUse only unsigned ints for comparisons to PL_breakable_sub_generation
Rafael Garcia-Suarez [Tue, 18 Nov 2008 11:12:56 +0000 (11:12 +0000)]
Use only unsigned ints for comparisons to PL_breakable_sub_generation

p4raw-id: //depot/perl@34880

16 years agoRafael noticed a bug in 34873 - I was comparing against the wrong
Nicholas Clark [Tue, 18 Nov 2008 11:09:47 +0000 (11:09 +0000)]
Rafael noticed a bug in 34873 - I was comparing against the wrong
variable, and hence (usually) saving all globs, not just those that
should be kept.

p4raw-id: //depot/perl@34879

16 years agoChange LONG_DOUBLESIZE macros to match config (ref change 34823)
Gisle Aas [Mon, 17 Nov 2008 22:56:42 +0000 (22:56 +0000)]
Change LONG_DOUBLESIZE macros to match config (ref change 34823)

p4raw-id: //depot/perl@34877

16 years agoS_save_lines() was using strchr() when it should have been using
Nicholas Clark [Mon, 17 Nov 2008 22:54:17 +0000 (22:54 +0000)]
S_save_lines() was using strchr() when it should have been using
memchr(). Result - eval""ed source with embedded NULs was not split
correctly into lines for the debugger. Obscure. But still a bug.
Maybe the Campaign for the Elimination of strlen() needs to take a long
hard stare at every strchr() too. And strmp() while we're looking.

p4raw-id: //depot/perl@34876

16 years agoNo need to str*cpy() a string of known fixed length ("_<(eval )") when
Nicholas Clark [Mon, 17 Nov 2008 22:31:07 +0000 (22:31 +0000)]
No need to str*cpy() a string of known fixed length ("_<(eval )") when
a simple 1 byte write has the same desired effect.
Clearly the Campaign for the Elimination of strlen() needs to branch
out into str*cat() and str*cpy().

p4raw-id: //depot/perl@34874

16 years agoFix the bug introduced with MRO, whereby the internals were not saving
Nicholas Clark [Mon, 17 Nov 2008 22:04:56 +0000 (22:04 +0000)]
Fix the bug introduced with MRO, whereby the internals were not saving
lines in subroutines defined inside eval ""s for the debugger.

p4raw-id: //depot/perl@34873

16 years agoFix a missing single quote in hints/solaris_2.sh
Andy Dougherty [Mon, 17 Nov 2008 13:11:59 +0000 (08:11 -0500)]
Fix a missing single quote in hints/solaris_2.sh
Message-ID: <Pine.LNX.4.64.0811171300350.16632@fractal.phys.lafayette.edu>
Date: Mon, 17 Nov 2008 13:11:59 -0500 (EST)

p4raw-id: //depot/perl@34870

16 years ago[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Renee Baecker [Sun, 31 Aug 2008 11:35:45 +0000 (13:35 +0200)]
[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Message-Id: <20080831093545.A15C4120011@rserv16.sitepush.net>

p4raw-id: //depot/perl@34867

16 years agoSkip two tests under ithreads, where the constant lives in the pad.
Rafael Garcia-Suarez [Mon, 17 Nov 2008 10:06:08 +0000 (10:06 +0000)]
Skip two tests under ithreads, where the constant lives in the pad.

p4raw-id: //depot/perl@34864

16 years agoUpgrade to Attribute::Handlers 0.81
Rafael Garcia-Suarez [Mon, 17 Nov 2008 08:30:52 +0000 (08:30 +0000)]
Upgrade to Attribute::Handlers 0.81

p4raw-id: //depot/perl@34862

16 years agoRe: 5.8.9 RC1 report
Rainer Tammer [Mon, 17 Nov 2008 08:53:34 +0000 (09:53 +0100)]
Re: 5.8.9 RC1 report
Message-ID: <492122FE.5020001@tammer.net>

p4raw-id: //depot/perl@34861

16 years agoRe: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are...
Chip Salzenberg [Sun, 16 Nov 2008 23:14:30 +0000 (15:14 -0800)]
Re: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are detainted
Message-ID: <20081117071429.GD5495@tytlal.topaz.cx>

p4raw-id: //depot/perl@34860

16 years agoAdd a $VERSION, strict and some documentation to Tie::StdHandle.
Nicholas Clark [Sun, 16 Nov 2008 23:05:35 +0000 (23:05 +0000)]
Add a $VERSION, strict and some documentation to Tie::StdHandle.

p4raw-id: //depot/perl@34859

16 years agoIntegrate:
Nicholas Clark [Sun, 16 Nov 2008 21:38:30 +0000 (21:38 +0000)]
Integrate:
[ 34841]
Change 34693 introduced a regression spotted by Devel::SmallProf.
p4raw-link: @34841 on //depot/maint-5.8/perl: 95d1ca54dd69844873c9f0e6981fcfd632fa4274

p4raw-id: //depot/perl@34857
p4raw-integrated: from //depot/maint-5.8/perl@34854 'merge in' pp_ctl.c
(@34726..)

16 years agoSync up with Digest-MD5-2.38 from CPAN
Gisle Aas [Sun, 16 Nov 2008 20:53:15 +0000 (20:53 +0000)]
Sync up with Digest-MD5-2.38 from CPAN

p4raw-id: //depot/perl@34854

16 years agoRe: 5.8.9 RC1 report
Rainer Tammer [Thu, 13 Nov 2008 15:14:46 +0000 (16:14 +0100)]
Re: 5.8.9 RC1 report
Message-ID: <491C3656.3010509@tammer.net>

p4raw-id: //depot/perl@34852

16 years agoMake B::walksymtable not recurse into packages that are actually main::, but have...
Florian Ragwitz [Thu, 13 Nov 2008 21:34:12 +0000 (22:34 +0100)]
Make B::walksymtable not recurse into packages that are actually main::, but have a different name.
Message-Id: <1226608453-25937-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34845

16 years agoDeparse inlined constants.
Florian Ragwitz [Thu, 13 Nov 2008 21:34:13 +0000 (22:34 +0100)]
Deparse inlined constants.
Message-Id: <1226608453-25937-2-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34844

16 years agoAdd Tom Wyant to AUTHORS.
Nicholas Clark [Sun, 16 Nov 2008 17:42:53 +0000 (17:42 +0000)]
Add Tom Wyant to AUTHORS.

p4raw-id: //depot/perl@34843

16 years agoTODO for fixing lvalue subs in the debugger is now to-done. Pointed
Steve Peters [Sun, 16 Nov 2008 17:07:24 +0000 (17:07 +0000)]
TODO for fixing lvalue subs in the debugger is now to-done.  Pointed
out by Florian Ragwitz.

p4raw-id: //depot/perl@34840

16 years agoMRO tests for isa() and package aliases
Torsten Schoenfeld [Sat, 15 Nov 2008 21:24:40 +0000 (22:24 +0100)]
MRO tests for isa() and package aliases
Message-ID: <491F3008.4060205@gmx.de>

p4raw-id: //depot/perl@34839

16 years agoUpgrade to File-Temp-0.21
Steve Peters [Sun, 16 Nov 2008 06:31:56 +0000 (06:31 +0000)]
Upgrade to File-Temp-0.21

p4raw-id: //depot/perl@34838

16 years agoAdd a dump to help tracing taint bugs, by Chip Salzenberg
Rafael Garcia-Suarez [Sat, 15 Nov 2008 10:15:22 +0000 (10:15 +0000)]
Add a dump to help tracing taint bugs, by Chip Salzenberg

p4raw-id: //depot/perl@34837

16 years agoForgot to include lib/perl5db.pl in change #34833
Steve Peters [Fri, 14 Nov 2008 19:17:13 +0000 (19:17 +0000)]
Forgot to include lib/perl5db.pl in change #34833
p4raw-link: @34833 on //depot/perl: 1ad62f649328dc563f7f21be3c384f5adf18af1d

p4raw-id: //depot/perl@34836