18 years agolcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
Nicholas Clark [Sat, 29 Apr 2006 15:55:51 +0000]
lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
returned by overloaded stringification.

p4raw-id: //depot/perl@28013

18 years agouc plus an 8 bit locale could get confused by UTF-8 values returned by
Nicholas Clark [Sat, 29 Apr 2006 14:05:55 +0000]
uc plus an 8 bit locale could get confused by UTF-8 values returned by
overloaded stringification.

p4raw-id: //depot/perl@28012

18 years agolc plus an 8 bit locale could mangle UTF-8 values returned by
Nicholas Clark [Sat, 29 Apr 2006 13:43:26 +0000]
lc plus an 8 bit locale could mangle UTF-8 values returned by
overloaded stringification.

p4raw-id: //depot/perl@28011

18 years agomore -ansi -pedantic cleanliness
Jarkko Hietaniemi [Sat, 29 Apr 2006 11:13:24 +0000]
more -ansi -pedantic cleanliness
Message-ID: <44532024.9070303@gmail.com>

p4raw-id: //depot/perl@28010

18 years agoRe: [ANNOUNCE] Module::Build 0.28 -> CPAN
Randy W. Sims [Fri, 28 Apr 2006 15:31:55 +0000]
Re: [ANNOUNCE] Module::Build 0.28 -> CPAN
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <44526DAB.8070408@thepierianspring.org>

p4raw-id: //depot/perl@28009

18 years agoreduce gcc -ansi -pedantic noise plus a suggestion
Jarkko Hietaniemi [Fri, 28 Apr 2006 22:58:58 +0000]
reduce gcc -ansi -pedantic noise plus a suggestion
Message-ID: <44527402.8000506@gmail.com>

p4raw-id: //depot/perl@28008

18 years agotwo [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Jarkko Hietaniemi [Fri, 28 Apr 2006 21:04:59 +0000]
two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
Message-ID: <4452594B.4040609@gmail.com>

p4raw-id: //depot/perl@28007

18 years agoFix bug 34297 (length of overloaded UTF-8 strings)
Nicholas Clark [Fri, 28 Apr 2006 16:34:14 +0000]
Fix bug 34297 (length of overloaded UTF-8 strings)

p4raw-id: //depot/perl@28006

18 years agoTypo in MANIFEST from change #27997. Mustn't touch Perl before coffee.
Steve Peters [Fri, 28 Apr 2006 16:15:25 +0000]
Typo in MANIFEST from change #27997.  Mustn't touch Perl before coffee.
p4raw-link: @27997 on //depot/perl: dc8021d3927849eb56a64fd135702ae6516a52e2

p4raw-id: //depot/perl@28005

18 years agoAdded Changes file left out from change #28001.
Steve Peters [Fri, 28 Apr 2006 15:35:37 +0000]
Added Changes file left out from change #28001.
p4raw-link: @28001 on //depot/perl: ff235dd6d6f5e19e11c9202d4a82fb8e5fbadadd

p4raw-id: //depot/perl@28004

18 years agoMerge WinCE and Win32 directories -- Initial patch
Yves Orton [Thu, 27 Apr 2006 23:30:00 +0000]
Merge WinCE and Win32 directories -- Initial patch
Message-ID: <9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com>

p4raw-id: //depot/perl@28003

18 years agoUpgrade to Pathtools-3.18
Steve Peters [Fri, 28 Apr 2006 13:34:39 +0000]
Upgrade to Pathtools-3.18

p4raw-id: //depot/perl@28001

18 years agot/op/defins.pl using test.pl
David Landgren [Fri, 28 Apr 2006 14:27:39 +0000]
t/op/defins.pl using test.pl
Message-ID: <44520A3B.1080707@landgren.net>

p4raw-id: //depot/perl@28000

18 years agot/op/delete.t using test.pl
David Landgren [Fri, 28 Apr 2006 15:03:39 +0000]
t/op/delete.t using test.pl
Message-ID: <445212AB.4080404@landgren.net>

p4raw-id: //depot/perl@27999

18 years agot/op/auto.pl using test.pl
David Landgren [Fri, 28 Apr 2006 13:56:30 +0000]
t/op/auto.pl using test.pl
Message-ID: <445202EE.6000604@landgren.net>

p4raw-id: //depot/perl@27998

18 years agoUpgrade to Module-Build-0.28
Steve Peters [Fri, 28 Apr 2006 13:29:41 +0000]
Upgrade to Module-Build-0.28

p4raw-id: //depot/perl@27997

18 years agoAnton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
Nicholas Clark [Fri, 28 Apr 2006 12:48:27 +0000]
Anton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
should just be using -pthread on the linker line.
This stops the new taint tests looping infinitely. It also seems to
cure the TODO test in posix.t - masked SIGINT is now received.

p4raw-id: //depot/perl@27995

18 years agothreads - miscellaneous
Jerry D. Hedden [Wed, 26 Apr 2006 11:24:05 +0000]
threads - miscellaneous
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060426112405.fb30e530d17747c2b054d625b8945d88.4331e666e7.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27994

18 years agot/op/sort.t using test.pl
David Landgren [Thu, 27 Apr 2006 18:25:56 +0000]
t/op/sort.t using test.pl
Message-ID: <4450F094.2010907@landgren.net>

p4raw-id: //depot/perl@27993

18 years agoRemoving another context parm
Andy Lester [Thu, 27 Apr 2006 10:31:56 +0000]
Removing another context parm
Message-ID: <20060427153156.GA11445@petdance.com>

p4raw-id: //depot/perl@27992

18 years agot/op/loopctl.t using test.pl
David Landgren [Thu, 27 Apr 2006 19:13:28 +0000]
t/op/loopctl.t using test.pl
Message-ID: <4450FBB8.8070203@landgren.net>

p4raw-id: //depot/perl@27991

18 years agodVAR (-DPERL_GLOBAL_STRUCT_PRIVATE) update
Jarkko Hietaniemi [Thu, 27 Apr 2006 21:18:30 +0000]
dVAR (-DPERL_GLOBAL_STRUCT_PRIVATE) update
Message-ID: <44510AF6.6040603@gmail.com>

p4raw-id: //depot/perl@27990

18 years agoTypo fix in perlretut by Simon Taylor
Rafael Garcia-Suarez [Fri, 28 Apr 2006 08:41:25 +0000]
Typo fix in perlretut by Simon Taylor

p4raw-id: //depot/perl@27989

18 years agoFix typo in function call
Rafael Garcia-Suarez [Fri, 28 Apr 2006 07:58:16 +0000]
Fix typo in function call

p4raw-id: //depot/perl@27988

18 years agoRe: [PATCH] use snprintf/strlcpy/strlcat when useful
Jarkko Hietaniemi [Tue, 25 Apr 2006 18:23:39 +0000]
Re: [PATCH] use snprintf/strlcpy/strlcat when useful
Message-ID: <444E3EFB.8020503@gmail.com>

p4raw-id: //depot/perl@27987

18 years ago[perl #39012] another REIFY bug
Dave Mitchell [Thu, 27 Apr 2006 23:15:02 +0000]
[perl #39012] another REIFY bug

p4raw-id: //depot/perl@27986

18 years agoUpgrade to ExtUtils-Install-1.39
Steve Peters [Thu, 27 Apr 2006 18:06:12 +0000]
Upgrade to ExtUtils-Install-1.39

p4raw-id: //depot/perl@27983

18 years agoUpgrade to Encode-2.15
Steve Peters [Thu, 27 Apr 2006 17:53:11 +0000]
Upgrade to Encode-2.15

p4raw-id: //depot/perl@27982

18 years agoRemoving unused context
Andy Lester [Thu, 27 Apr 2006 00:32:15 +0000]
Removing unused context
Message-ID: <20060427053215.GA31445@petdance.com>

p4raw-id: //depot/perl@27976

18 years agoChange type of temporary padoff_du used in dUNDERBAR
Marcus Holland-Moritz [Wed, 26 Apr 2006 19:18:09 +0000]
Change type of temporary padoff_du used in dUNDERBAR
from I32 to PADOFFSET, which is more correct (and fixes
a warning in Devel::PPPort).

p4raw-id: //depot/perl@27968

18 years agoRe: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Marcus Holland-Moritz [Mon, 24 Apr 2006 23:20:38 +0000]
Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060424232038.7550f9b6@r2d2>

p4raw-id: //depot/perl@27962

18 years agothreads - consolidate XS functions
Jerry D. Hedden [Tue, 25 Apr 2006 07:50:05 +0000]
threads - consolidate XS functions
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060425075005.fb30e530d17747c2b054d625b8945d88.e23f2fed42.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27961

18 years agoMake Module-Build aware of new Test-Harness output
Steve Hay [Tue, 25 Apr 2006 16:23:38 +0000]
Make Module-Build aware of new Test-Harness output

See also:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00755.html

p4raw-id: //depot/perl@27960

18 years agoCoverity has started to notice another inconsistency in our NULL
Nicholas Clark [Tue, 25 Apr 2006 12:51:40 +0000]
Coverity has started to notice another inconsistency in our NULL
pointer checking.

p4raw-id: //depot/perl@27959

18 years agouse NOOP macro
Andy Lester [Mon, 24 Apr 2006 13:44:51 +0000]
use NOOP macro
Message-ID: <20060424184451.GA1479@petdance.com>

p4raw-id: //depot/perl@27958

18 years agoContinuing threads sync
Jerry D. Hedden [Mon, 24 Apr 2006 13:00:23 +0000]
Continuing threads sync
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060424130023.fb30e530d17747c2b054d625b8945d88.969ed54130.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27957

18 years agoPerl_unpack_str() is a mathom!
Nicholas Clark [Mon, 24 Apr 2006 16:38:09 +0000]
Perl_unpack_str() is a mathom!

p4raw-id: //depot/perl@27956

18 years agoReally bump the version of File::Find.
Steve Peters [Mon, 24 Apr 2006 16:31:24 +0000]
Really bump the version of File::Find.

p4raw-id: //depot/perl@27955

18 years agoReverting change #27953, as it appears that File::Find has
Steve Peters [Mon, 24 Apr 2006 16:29:59 +0000]
Reverting change #27953, as it appears that File::Find has
localized the C<$_> usable by the wanted function since
version 1.04 (change #18501, to be exact).  Update the
docs to express this change.  Finally, bump the version.
p4raw-link: @27953 on //depot/perl: 668a78bfe3bf9a6d16f5b059341fb64b1e120158
p4raw-link: @18501 on //depot/perl: 17ab9c147afa44f9f620bca432b3948e42711043

p4raw-id: //depot/perl@27954

18 years agoRe: [perl #38965] File::Find documentation - is "Don't modify thesevariables" still...
David Landgren [Mon, 24 Apr 2006 13:02:02 +0000]
Re: [perl #38965] File::Find documentation - is "Don't modify thesevariables" still valid?
Message-ID: <444CB02A.2000604@landgren.net>

p4raw-id: //depot/perl@27953

18 years agoRe: recursion now removed from the regex engine
Yves Orton [Sun, 23 Apr 2006 21:10:34 +0000]
Re: recursion now removed from the regex engine
Message-ID: <9b18b3110604231210w5deff59el3a1a79c98f34e0fd@mail.gmail.com>
Date: Sun, 23 Apr 2006 21:10:34 +0200

p4raw-id: //depot/perl@27952

18 years ago[perl #38709] Opening '|-' triggers unjustified taint check
Martin Hasch [Fri, 10 Mar 2006 20:10:49 +0000]
[perl #38709] Opening '|-' triggers unjustified taint check
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38709-130993.2.89182805885773@perl.org>

p4raw-id: //depot/perl@27951

18 years agoAdd regression test for bug #38475
Rafael Garcia-Suarez [Mon, 24 Apr 2006 11:59:25 +0000]
Add regression test for bug #38475

p4raw-id: //depot/perl@27950

18 years agoChange 27947 forgot to remove one now-unneeded cast.
Nicholas Clark [Mon, 24 Apr 2006 10:52:09 +0000]
Change 27947 forgot to remove one now-unneeded cast.

p4raw-id: //depot/perl@27949

18 years ago[perl #38475] attribute multiline fix (in tokenizer)
Bas van Sisseren [Thu, 9 Feb 2006 06:33:51 +0000]
[perl #38475] attribute multiline fix (in tokenizer)
From: bas@quarantainenet.nl (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38475-129844.11.5904582303176@perl.org>

p4raw-id: //depot/perl@27948

18 years agoFollowing change 27942 it's clear that the return type of
Nicholas Clark [Mon, 24 Apr 2006 09:40:58 +0000]
Following change 27942 it's clear that the return type of
glob_2inpuv_number() should change. Rename it and glob_2inpuv() to
reflect what they do.

p4raw-id: //depot/perl@27947

18 years agoCleanup some gcc warnings
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000]
Cleanup some gcc warnings
Third and fourth patches from:
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

p4raw-id: //depot/perl@27946

18 years agoA couple of casts to PADOFFSET.
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000]
A couple of casts to PADOFFSET.
2nd patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

p4raw-id: //depot/perl@27945

18 years agoEnsure GvNAME doesn't return NULL
Marcus Holland-Moritz [Sun, 23 Apr 2006 04:47:04 +0000]
Ensure GvNAME doesn't return NULL
First patch from :
Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
Message-ID: <20060423044704.6a383ee8@r2d2>

p4raw-id: //depot/perl@27944

18 years agodoop.c consting, take 2
Andy Lester [Sun, 23 Apr 2006 20:45:09 +0000]
doop.c consting, take 2
Message-ID: <20060424014509.GA29642@petdance.com>

p4raw-id: //depot/perl@27943

18 years agoRefactor S_glob_2inpuv
Andy Lester [Sun, 23 Apr 2006 21:12:39 +0000]
Refactor S_glob_2inpuv
Message-ID: <20060424021239.GA5449@petdance.com>

p4raw-id: //depot/perl@27942

18 years agoInlining static funcs in perl.c
Andy Lester [Sun, 23 Apr 2006 21:50:27 +0000]
Inlining static funcs in perl.c
Message-ID: <20060424025027.GA25998@petdance.com>

p4raw-id: //depot/perl@27941

18 years agoAssimilate Test::Harness 2.57_06
Nicholas Clark [Sun, 23 Apr 2006 20:48:25 +0000]
Assimilate Test::Harness 2.57_06

p4raw-id: //depot/perl@27940

18 years agoUpdate to AUTHORS file
Joshua Rodd [Sat, 22 Apr 2006 14:39:11 +0000]
Update to AUTHORS file
Message-ID: <20060422183911.GA19435@rodd.us>

p4raw-id: //depot/perl@27939

18 years ago"Don't Repeat Yourself" on the "We *really* need to overwrite these
Nicholas Clark [Sat, 22 Apr 2006 09:31:16 +0000]
"Don't Repeat Yourself" on the "We *really* need to overwrite these
symbols" section.
Minor tweaks to make it possible to use the code unchanged with 5.8.x

p4raw-id: //depot/perl@27938

18 years agoRemove the enable_debugging member from the structure, and instead
Nicholas Clark [Fri, 21 Apr 2006 23:08:59 +0000]
Remove the enable_debugging member from the structure, and instead
decree that state & 1 indicates debugging. This is simpler.

p4raw-id: //depot/perl@27937

18 years agoUse a struct to hold the regexp engine state information, to make
Nicholas Clark [Fri, 21 Apr 2006 21:40:49 +0000]
Use a struct to hold the regexp engine state information, to make
swapping possible between more two alternatives.

p4raw-id: //depot/perl@27936

18 years agoMerge the install and uninstall routines.
Nicholas Clark [Fri, 21 Apr 2006 21:01:42 +0000]
Merge the install and uninstall routines.

p4raw-id: //depot/perl@27935

18 years agoRefactor re.pm slightly. This has no change to documented behaviour,
Nicholas Clark [Fri, 21 Apr 2006 20:38:15 +0000]
Refactor re.pm slightly. This has no change to documented behaviour,
but anyone mad enought to set ${^RE_DEBUG_FLAGS} and then do
no re 'Debug'; will now find that it will load the debuging version of
the regexp engine.

p4raw-id: //depot/perl@27934

18 years agoRework threads destruct call
Jerry D. Hedden [Thu, 20 Apr 2006 13:53:20 +0000]
Rework threads destruct call
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060420135320.fb30e530d17747c2b054d625b8945d88.ef565d84db.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27933

18 years agoRe: [perl #38904] Text::ParseWords doesn't always handle backslashes correctly
Alexey Toptygin [Thu, 20 Apr 2006 15:42:20 +0000]
Re: [perl #38904] Text::ParseWords doesn't always handle backslashes correctly
Message-ID: <Pine.NEB.4.62.0604201539380.20332@otaku.freeshell.org>

p4raw-id: //depot/perl@27932

18 years agoWhy hide functions (and duplicate them) when you can just avoid
Nicholas Clark [Fri, 21 Apr 2006 12:46:43 +0000]
Why hide functions (and duplicate them) when you can just avoid
compiling them in the first place?

p4raw-id: //depot/perl@27931

18 years agoGiven that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
Nicholas Clark [Fri, 21 Apr 2006 11:38:24 +0000]
Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
build, we cannot assume that PL_reg_starttry isn't needed. So copy it
in Perl_ss_dup.

p4raw-id: //depot/perl@27930

18 years agoRemove the last traces of explicitly setting HINT_LOCALIZE_HH from
Nicholas Clark [Thu, 20 Apr 2006 21:27:21 +0000]
Remove the last traces of explicitly setting HINT_LOCALIZE_HH from
perl modules.

p4raw-id: //depot/perl@27927

18 years agoRe: TODO tests and test::harness
Yves Orton [Thu, 20 Apr 2006 22:36:08 +0000]
Re: TODO tests and test::harness
Message-ID: <9b18b3110604201336k5a974f28h732a2819853b995@mail.gmail.com>

p4raw-id: //depot/perl@27925

18 years agoAdd test boilerplate and use test.pl instead of Test::More
Rafael Garcia-Suarez [Thu, 20 Apr 2006 20:24:46 +0000]
Add test boilerplate and use test.pl instead of Test::More

p4raw-id: //depot/perl@27923

18 years agoAdd new tests for bug #32840 provided by David Landgren,
Rafael Garcia-Suarez [Thu, 20 Apr 2006 20:22:23 +0000]
Add new tests for bug #32840 provided by David Landgren,
as a new file rxcode.t (they mostly test $^R for now)

p4raw-id: //depot/perl@27922

18 years agoTweak change 23256 to continue passing on 5.8.x
Nicholas Clark [Thu, 20 Apr 2006 18:51:02 +0000]
Tweak change 23256 to continue passing on 5.8.x

p4raw-id: //depot/perl@27919

18 years agoConvert two ok()s to better constructions.
Nicholas Clark [Thu, 20 Apr 2006 17:37:31 +0000]
Convert two ok()s to better constructions.

p4raw-id: //depot/perl@27918

18 years ago[REPOST] [PATCH] Remove superfluous counter in threads
Jerry D. Hedden [Wed, 19 Apr 2006 05:32:14 +0000]
[REPOST] [PATCH] Remove superfluous counter in threads
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060419053214.fb30e530d17747c2b054d625b8945d88.4606123135.wbe@email.secureserver.net>

p4raw-id: //depot/perl@27917

18 years agoFix typo in the description of change 21323.
Nicholas Clark [Thu, 20 Apr 2006 13:54:45 +0000]
Fix typo in the description of change 21323.

p4raw-id: //depot/perl@27913

18 years agoNew test for the "Assignment to both a list and a scalar" error,
Rafael Garcia-Suarez [Thu, 20 Apr 2006 12:59:50 +0000]
New test for the "Assignment to both a list and a scalar" error,
suggested by Stephen McCamant

p4raw-id: //depot/perl@27912

18 years agoregmatch(): replace magic value -1000 with symbolic CHRTEST_VOID
Dave Mitchell [Thu, 20 Apr 2006 12:33:09 +0000]
regmatch(): replace magic value -1000 with symbolic CHRTEST_VOID

p4raw-id: //depot/perl@27911

18 years agoop_type shrinking
Andy Lester [Wed, 19 Apr 2006 23:16:53 +0000]
op_type shrinking
Message-ID: <20060420041653.GA28523@petdance.com>

p4raw-id: //depot/perl@27910

18 years agoregexec consting & localizing
Andy Lester [Wed, 19 Apr 2006 12:35:43 +0000]
regexec consting & localizing
Message-ID: <20060419173543.GA8268@petdance.com>

p4raw-id: //depot/perl@27909

18 years agoLocalizing vars
Andy Lester [Wed, 19 Apr 2006 23:44:01 +0000]
Localizing vars
Message-ID: <20060420044401.GA2792@petdance.com>

p4raw-id: //depot/perl@27908

18 years agoregmatch: merge the greedy and non-greedy branches of CURLYM
Dave Mitchell [Thu, 20 Apr 2006 00:30:53 +0000]
regmatch: merge the greedy and non-greedy branches of CURLYM

p4raw-id: //depot/perl@27907

18 years ago[perl #38892] PATCH: remove spurious warning from Benchmark.pm
Linda Walsh [Mon, 10 Apr 2006 18:53:46 +0000]
[perl #38892] PATCH: remove spurious warning from Benchmark.pm
From: Linda Walsh (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38892-132143.0.516271519365361@perl.org>

p4raw-id: //depot/perl@27906

18 years agoChanges to perlfaq8 "How do I find out if I'm running interactively
Steve Peters [Wed, 19 Apr 2006 16:32:26 +0000]
Changes to perlfaq8 "How do I find out if I'm running interactively
or not?" suggested by Slaven Rezic in RT #38901: perlfaq8 correction

p4raw-id: //depot/perl@27905

18 years agoAdd a TODO test for RT #1085: "what should be output of perl -we
Steve Peters [Wed, 19 Apr 2006 14:57:36 +0000]
Add a TODO test for RT #1085: "what should be output of perl -we
 'print do { foreach (1, 2) { 1; } }'"

p4raw-id: //depot/perl@27904

18 years agoregmatch(): make IFMATCH use PUSH_STACK rather than fake recursion
Dave Mitchell [Wed, 19 Apr 2006 13:56:07 +0000]
regmatch(): make IFMATCH use PUSH_STACK rather than fake recursion

p4raw-id: //depot/perl@27903

18 years agoUpgrade to Test::Harness 2.57_05
Rafael Garcia-Suarez [Wed, 19 Apr 2006 11:38:11 +0000]
Upgrade to Test::Harness 2.57_05

p4raw-id: //depot/perl@27902

18 years agonewCONSTSUB needs to be robust in case CopFILE is NULL.
Nicholas Clark [Wed, 19 Apr 2006 11:20:08 +0000]
newCONSTSUB needs to be robust in case CopFILE is NULL.

p4raw-id: //depot/perl@27901

18 years agoOops. Need a macro to convert cv_ckproto() to cv_ckproto_len().
Nicholas Clark [Wed, 19 Apr 2006 09:58:19 +0000]
Oops. Need a macro to convert cv_ckproto() to cv_ckproto_len().

p4raw-id: //depot/perl@27900

18 years agoThere's a macro to get ${^RE_DEBUG_FLAGS} when debugging,
Rafael Garcia-Suarez [Wed, 19 Apr 2006 09:34:48 +0000]
There's a macro to get ${^RE_DEBUG_FLAGS} when debugging,
so use it (and this fixes a valgrind memory access error)

p4raw-id: //depot/perl@27899

18 years agoAvoid temporarily writing over the prototype when reporting an error.
Nicholas Clark [Wed, 19 Apr 2006 09:22:03 +0000]
Avoid temporarily writing over the prototype when reporting an error.
(And beef up the relevant tests to really check that it all works).

p4raw-id: //depot/perl@27898

18 years agoReplace some Copy() by Move() calls, because valgrind reports
Rafael Garcia-Suarez [Wed, 19 Apr 2006 09:09:14 +0000]
Replace some Copy() by Move() calls, because valgrind reports
we can have overlapping memory areas here

p4raw-id: //depot/perl@27897

18 years agoCalling cv_undef() on the CV created by newCONSTSUB() would leak like
Nicholas Clark [Wed, 19 Apr 2006 08:42:18 +0000]
Calling cv_undef() on the CV created by newCONSTSUB() would leak like
a Jumblie's preferred maritime craft. To free CvFILE for this case,
take advantage of the 0 length prototype that will also be there,
and hang it from the prototype. To do this properly means changing
code to actually pay attention to SvCUR() on prototypes. It turns out
that we always know the length of the prototype string, so this may
be faster. Certainly, it's a memory saving (even ignoring the leak).

p4raw-id: //depot/perl@27896

18 years agoFix compilation of microperl, which doesn't have INT_MAX.
Nicholas Clark [Wed, 19 Apr 2006 07:55:18 +0000]
Fix compilation of microperl, which doesn't have INT_MAX.

p4raw-id: //depot/perl@27895

18 years agoRevert 27869 at Jarkko's request.
Nicholas Clark [Tue, 18 Apr 2006 19:52:19 +0000]
Revert 27869 at Jarkko's request.

p4raw-id: //depot/perl@27894

18 years agoregmatch: fix a || vs | typo in CACHEsayYES and add a test from Hugo.
Dave Mitchell [Tue, 18 Apr 2006 17:03:15 +0000]
regmatch: fix a || vs | typo in CACHEsayYES and add a test from Hugo.
Also defer altering the cache bit until CACHEsayYES/NO is called

p4raw-id: //depot/perl@27893

18 years agoAdd a TODO regarding merging the win32 and wince codebases.
Steve Peters [Tue, 18 Apr 2006 16:47:58 +0000]
Add a TODO regarding merging the win32 and wince codebases.

p4raw-id: //depot/perl@27892

18 years agoWhen checking whether perl is built with -g in optimisation
Rafael Garcia-Suarez [Tue, 18 Apr 2006 16:05:15 +0000]
When checking whether perl is built with -g in optimisation
flags, use a more tolerant regexp, because we can now have
things like '-O2 -g'.

p4raw-id: //depot/perl@27891

18 years agoExpand "am I hot or not" into a more general "Profile Perl" section.
Nicholas Clark [Tue, 18 Apr 2006 16:03:10 +0000]
Expand "am I hot or not" into a more general "Profile Perl" section.

p4raw-id: //depot/perl@27890

18 years agoA fix to change #27845 to get it to compile with -DPERL_MAD.
Steve Peters [Tue, 18 Apr 2006 15:47:48 +0000]
A fix to change #27845 to get it to compile with -DPERL_MAD.
p4raw-link: @27845 on //depot/perl: 4199688e3d699f53e17448d3bad6e93e57d49dcc

p4raw-id: //depot/perl@27889

18 years agowin32/Makefile changes for Windows 64 bit
Jan Dubois [Mon, 17 Apr 2006 01:48:34 +0000]
win32/Makefile changes for Windows 64 bit
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <036401c661fb$bc7a1200$2217a8c0@candy>

and make similar changes to win32/makefile.mk
and delete a spurious extra line from that file

p4raw-id: //depot/perl@27888

18 years agoAddition to README.riscos suggested by Nicholas
Rafael Garcia-Suarez [Tue, 18 Apr 2006 14:02:23 +0000]
Addition to README.riscos suggested by Nicholas

p4raw-id: //depot/perl@27887

18 years agoNote that Rafael has done the first cut of state variables.
Nicholas Clark [Tue, 18 Apr 2006 13:18:27 +0000]
Note that Rafael has done the first cut of state variables.
Document that UTF-8 cleansing the tokeniser and the pads is TODO.

p4raw-id: //depot/perl@27886

18 years agoRelocatable @INC and parallel builds pretty much work now.
Nicholas Clark [Tue, 18 Apr 2006 13:10:35 +0000]
Relocatable @INC and parallel builds pretty much work now.

p4raw-id: //depot/perl@27885

18 years agoSupport compiling for RISC OS
Alex Waugh [Mon, 17 Apr 2006 00:14:26 +0000]
Support compiling for RISC OS
Message-ID: <2498b2184e.ajw498@caramel.cp15.org>

p4raw-id: //depot/perl@27884