platform/upstream/perl.git
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 (12:48 +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 (04:24 -0700)]
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 (20:25 +0200)]
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 (05:31 -0500)]
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 (21:13 +0200)]
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 (00:18 +0300)]
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 (08:41 +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 (07:58 +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 (21:23 +0300)]
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 (23:15 +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 (18:06 +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 (17:53 +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 (19:32 -0500)]
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 (19:18 +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 (01:20 +0200)]
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 (00:50 -0700)]
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 (16:23 +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 (12:51 +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 (08:44 -0500)]
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 (06:00 -0700)]
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 (16:38 +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 (16:31 +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 (16:29 +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 (15:02 +0200)]
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 (23:10 +0200)]
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 (12:10 -0800)]
[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 (11:59 +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 (10:52 +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 (22:33 -0800)]
[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 (09:40 +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 (06:47 +0200)]
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 (06:47 +0200)]
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 (06:47 +0200)]
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 (15:45 -0500)]
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 (16:12 -0500)]
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 (16:50 -0500)]
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 (20:48 +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 (10:39 -0400)]
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 (09:31 +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 (23:08 +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 (21:40 +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 (21:01 +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 (20:38 +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 (06:53 -0700)]
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 (15:42 +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 (12:46 +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 (11:38 +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 (21:27 +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 (00:36 +0200)]
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 (20:24 +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 (20:22 +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 (18:51 +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 (17:37 +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 (22:32 -0700)]
[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 (13:54 +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 (12:59 +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 (12:33 +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 (18:16 -0500)]
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 (07:35 -0500)]
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 (18:44 -0500)]
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 (00:30 +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 (11:53 -0700)]
[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 (16:32 +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 (14:57 +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 (13:56 +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 (11:38 +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 (11:20 +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 (09:58 +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 (09:34 +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 (09:22 +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 (09:09 +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 (08:42 +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 (07:55 +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 (19:52 +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 (17:03 +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 (16:47 +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 (16:05 +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 (16:03 +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 (15:47 +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 (18:48 -0700)]
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 (14:02 +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 (13:18 +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 (13:10 +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 (01:14 +0100)]
Support compiling for RISC OS
Message-ID: <2498b2184e.ajw498@caramel.cp15.org>

p4raw-id: //depot/perl@27884

18 years agoCoverity still thinks that there is a route through do_vop that can
Nicholas Clark [Tue, 18 Apr 2006 11:18:12 +0000 (11:18 +0000)]
Coverity still thinks that there is a route through do_vop that can
leak resources. I believe that it's spotted that you can skip all the
cases in the switch. Plug that hole.

p4raw-id: //depot/perl@27883

18 years agoCoverity insists that if we deference a pointer without checking, and
Nicholas Clark [Tue, 18 Apr 2006 10:54:15 +0000 (10:54 +0000)]
Coverity insists that if we deference a pointer without checking, and
subsequently check that same pointer before deferencing it, something
in our code or our logic is bogus. So assert() that it's safe the
first time and remove the second check.

p4raw-id: //depot/perl@27882

18 years agoFix an error, spotted by Tim Bunce.
Nicholas Clark [Mon, 17 Apr 2006 20:50:34 +0000 (20:50 +0000)]
Fix an error, spotted by Tim Bunce.

p4raw-id: //depot/perl@27881

18 years agoCoderefs in @INC are done and documented.
Nicholas Clark [Mon, 17 Apr 2006 20:41:00 +0000 (20:41 +0000)]
Coderefs in @INC are done and documented.

p4raw-id: //depot/perl@27880

18 years agoDocument all the return values that code references in @INC can return.
Nicholas Clark [Mon, 17 Apr 2006 20:35:52 +0000 (20:35 +0000)]
Document all the return values that code references in @INC can return.

p4raw-id: //depot/perl@27879

18 years agoPatch to fix RT #31227: perldoc -f, -q ignores extra arguments with no notice.
Steve Peters [Mon, 17 Apr 2006 20:05:03 +0000 (20:05 +0000)]
Patch to fix RT #31227: perldoc -f, -q ignores extra arguments with no notice.
Never made it to the mailing list though, so, was never found.  Patch
previously provided to the Pod-Perldoc CPAN RT queue.

p4raw-id: //depot/perl@27878

18 years agoCoverity is upset about a signed int in ext/Filter/Util/Call/Call.xs,
Nicholas Clark [Mon, 17 Apr 2006 19:12:23 +0000 (19:12 +0000)]
Coverity is upset about a signed int in ext/Filter/Util/Call/Call.xs,
but the real problem is down in Perl_filter_read() in toke.c.

p4raw-id: //depot/perl@27877

18 years agoCoverity is a persistent beast. Hot on the tails of fixing one leak,
Nicholas Clark [Mon, 17 Apr 2006 18:30:59 +0000 (18:30 +0000)]
Coverity is a persistent beast. Hot on the tails of fixing one leak,
it notices a slightly earlier leak.
(Which also suggests that marking bugs as RESOLVED isn't a great plan,
as it's not clear whether that calls off the dogs of war. I'd much
prefer it to be forced to scan again, and give a positve "all clear"
(or more accurately "nowt wrong I can see with that"))

p4raw-id: //depot/perl@27876

18 years agoTurn on UTF8 cache assertions with -Ca
Nicholas Clark [Mon, 17 Apr 2006 16:52:54 +0000 (16:52 +0000)]
Turn on UTF8 cache assertions with -Ca

p4raw-id: //depot/perl@27875

18 years agoOops. Change 27826 had an error in the definition of BGET_PADOFFSET().
Nicholas Clark [Mon, 17 Apr 2006 16:52:07 +0000 (16:52 +0000)]
Oops. Change 27826 had an error in the definition of BGET_PADOFFSET().

p4raw-id: //depot/perl@27874

18 years agoUpgrade to CGI.pm-3.19.
Steve Peters [Mon, 17 Apr 2006 16:49:51 +0000 (16:49 +0000)]
Upgrade to CGI.pm-3.19.

p4raw-id: //depot/perl@27873

18 years agoNote that PVIOs probably aren't worth shrinking. Note 3 possible
Nicholas Clark [Mon, 17 Apr 2006 15:33:21 +0000 (15:33 +0000)]
Note that PVIOs probably aren't worth shrinking. Note 3 possible
subflags for -C if the two Unicode TODOs are done.

p4raw-id: //depot/perl@27872

18 years agoRe: [PATCH] update to pp_complement() via Coverity
SADAHIRO Tomoyuki [Sun, 16 Apr 2006 18:45:37 +0000 (03:45 +0900)]
Re: [PATCH] update to pp_complement() via Coverity
Message-Id: <20060416184044.4ADB.BQW10602@nifty.com>
Date: Sun, 16 Apr 2006 18:45:37 +0900

Subject: Re: [PATCH] update to pp_complement() via Coverity
From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
Message-Id: <20060417230614.20A5.BQW10602@nifty.com>
Date: Mon, 17 Apr 2006 23:06:21 +0900

p4raw-id: //depot/perl@27871

18 years agoIn Change 27764 I forgot to at PL_hints_mutex to the list of symbols to
Nicholas Clark [Mon, 17 Apr 2006 14:48:13 +0000 (14:48 +0000)]
In Change 27764 I forgot to at PL_hints_mutex to the list of symbols to
exclude when not compiling with ithreads. It would be good to automate
the processing of this.

p4raw-id: //depot/perl@27870

18 years ago(tentative) regcomp.c: try convincing Coverity that data ptr in study_chunk is non...
Jarkko Hietaniemi [Sun, 16 Apr 2006 12:26:48 +0000 (15:26 +0300)]
(tentative) regcomp.c: try convincing Coverity that data ptr in study_chunk is non-NULL when needed
Message-Id: <20060416092648.812D36CF2D@aprikoosi.hut.fi>
Date: Sun, 16 Apr 2006 12:26:48 +0300 (EEST)

p4raw-id: //depot/perl@27869

18 years agoNote in av_store() that S_regclass relies on being able to pass NULL.
Nicholas Clark [Mon, 17 Apr 2006 13:15:34 +0000 (13:15 +0000)]
Note in av_store() that S_regclass relies on being able to pass NULL.

p4raw-id: //depot/perl@27868