perl.git
12 years agoRe: [perl #41574] cond_wait hang ups under MSWin32
Jerry D. Hedden [Wed, 18 Apr 2007 14:32:16 +0000 (10:32 -0400)] 
Re: [perl #41574] cond_wait hang ups under MSWin32
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704181132qf94b413mfda6aaa0f347df28@mail.gmail.com>

Makes the test "TODO" on Win32, where it is not reliable, and turns
the 50 separate tests in one single test for less line noise

p4raw-id: //depot/perl@30978

12 years ago1. Move #30327 to the generation location
H.Merijn Brand [Wed, 18 Apr 2007 19:04:40 +0000 (19:04 +0000)] 
1. Move #30327 to the generation location
2. Regen after backports
3. Include Jarkko's $run and \n patch

p4raw-id: //depot/perl@30977

12 years agoAdd a test for the bug fixed by #30970
Steve Hay [Wed, 18 Apr 2007 08:40:42 +0000 (08:40 +0000)] 
Add a test for the bug fixed by #30970

p4raw-id: //depot/perl@30973

12 years agoSys::Syslog was missing from Maintainers.pl
Rafael Garcia-Suarez [Wed, 18 Apr 2007 08:36:24 +0000 (08:36 +0000)] 
Sys::Syslog was missing from Maintainers.pl

p4raw-id: //depot/perl@30972

12 years agoThese test scripts probably wanted BEGIN blocks,
Steve Hay [Tue, 17 Apr 2007 17:12:23 +0000 (17:12 +0000)] 
These test scripts probably wanted BEGIN blocks,
not just blocks with "BEGIN:" labels.

p4raw-id: //depot/perl@30971

12 years agoFix kill(0, $pid) on Windows
Jan Dubois [Mon, 16 Apr 2007 17:35:48 +0000 (10:35 -0700)] 
Fix kill(0, $pid) on Windows
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <01df01c78088$59718d30$0c54a790$@com>

Fixes breakage caused by #29605.

p4raw-id: //depot/perl@30970

12 years agoRemove the "performance hack" that suppressed used only once warnings
Nicholas Clark [Mon, 16 Apr 2007 16:17:05 +0000 (16:17 +0000)] 
Remove the "performance hack" that suppressed used only once warnings
for files in the standard library.

p4raw-id: //depot/perl@30969

12 years agoRe: [PATCH] Mention sorting MANIFEST in perlhack.pod
Jerry D. Hedden [Mon, 16 Apr 2007 10:44:36 +0000 (06:44 -0400)] 
Re: [PATCH] Mention sorting MANIFEST in perlhack.pod
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704160744j9ae934cv9fef077afe3ca516@mail.gmail.com>

p4raw-id: //depot/perl@30968

12 years agoRe: Thread.t hangs, even under normal test...
Jerry D. Hedden [Mon, 16 Apr 2007 09:31:39 +0000 (05:31 -0400)] 
Re: Thread.t hangs, even under normal test...
From: "Jerry D. Hedden" <jdhedden@gmail.com>
Message-ID: <1ff86f510704160631ue286a97kb66a0ce649c9aae4@mail.gmail.com>

p4raw-id: //depot/perl@30967

12 years agosv.c: %d ne size_t
Jarkko Hietaniemi [Mon, 16 Apr 2007 14:31:42 +0000 (17:31 +0300)] 
sv.c: %d ne size_t
Message-Id: <200704161131.l3GBVg3n104476@kosh.hut.fi>

p4raw-id: //depot/perl@30966

12 years agofix casting warning in pp_ord()
Dave Mitchell [Sun, 15 Apr 2007 23:33:13 +0000 (23:33 +0000)] 
fix casting warning in pp_ord()

p4raw-id: //depot/perl@30965

12 years agoget rid of warning due to empty dangling else in malloc.c
Dave Mitchell [Sun, 15 Apr 2007 23:24:21 +0000 (23:24 +0000)] 
get rid of warning due to empty dangling else in malloc.c

p4raw-id: //depot/perl@30964

12 years agofollow PL_watchaddr when cloning a thread
Dave Mitchell [Sun, 15 Apr 2007 21:10:55 +0000 (21:10 +0000)] 
follow PL_watchaddr when cloning a thread

p4raw-id: //depot/perl@30963

12 years agowith DEBUG_LEAKING_SCALARS, dump multiply-freed scalars
Dave Mitchell [Sun, 15 Apr 2007 16:32:42 +0000 (16:32 +0000)] 
with DEBUG_LEAKING_SCALARS, dump multiply-freed scalars

p4raw-id: //depot/perl@30962

12 years agoRemove wince/ from checkcfgvar.pl, now that it is gone in 5.8.x too.
Nicholas Clark [Sun, 15 Apr 2007 12:37:44 +0000 (12:37 +0000)] 
Remove wince/ from checkcfgvar.pl, now that it is gone in 5.8.x too.

p4raw-id: //depot/perl@30958

12 years agoAdd the Default Unicode Collation Element Table for UCD 5.0.0
Rafael Garcia-Suarez [Sun, 15 Apr 2007 12:35:38 +0000 (12:35 +0000)] 
Add the Default Unicode Collation Element Table for UCD 5.0.0
to Unicode::Collate

p4raw-id: //depot/perl@30957

12 years agoChange prototype of async() to be compatible with the one
Rafael Garcia-Suarez [Sun, 15 Apr 2007 07:26:28 +0000 (07:26 +0000)] 
Change prototype of async() to be compatible with the one
of threads::async()

p4raw-id: //depot/perl@30955

12 years agoRemove 5005threads from Thread.pm
Jerry D. Hedden [Fri, 13 Apr 2007 13:19:26 +0000 (09:19 -0400)] 
Remove 5005threads from Thread.pm
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704131019i3ea1f99es7067ba2ef60171ca@mail.gmail.com>

p4raw-id: //depot/perl@30954

12 years agoFix Thread.pm
Jerry D. Hedden [Fri, 13 Apr 2007 12:51:40 +0000 (08:51 -0400)] 
Fix Thread.pm
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704130951t5f66baa0m4ed13018539976a3@mail.gmail.com>

p4raw-id: //depot/perl@30953

12 years agoMove PL_comppad nulling from do_clean_all to sv_clear
Dave Mitchell [Sat, 14 Apr 2007 21:53:17 +0000 (21:53 +0000)] 
Move PL_comppad nulling from do_clean_all to sv_clear

p4raw-id: //depot/perl@30952

12 years agoTypo in croak message
H.Merijn Brand [Sat, 14 Apr 2007 20:52:56 +0000 (20:52 +0000)] 
Typo in croak message

p4raw-id: //depot/perl@30951

12 years agoTypo in =item say
Abigail [Sat, 14 Apr 2007 19:22:41 +0000 (21:22 +0200)] 
Typo in =item say
Message-ID: <20070414172241.GB3191@abigail.nl>

p4raw-id: //depot/perl@30950

12 years agoRE: [PATCH] Restore Win64 compilation with the Windows Platform SDK
Jan Dubois [Tue, 10 Apr 2007 16:49:21 +0000 (09:49 -0700)] 
RE: [PATCH] Restore Win64 compilation with the Windows Platform SDK
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <001b01c77bca$dcae7720$960b6560$@com>

p4raw-id: //depot/perl@30943

12 years agoIntegrate:
Alexey Tourbin [Sat, 24 Feb 2007 15:52:23 +0000 (18:52 +0300)] 
Integrate:
[ 30391]
Subject: [PATCH] ExtUtils/Constant/Base.pm: use constant folding to eliminated dead code
Message-ID: <20070224125223.GA17227@localhost.localdomain>

[ 30940]
Bump the VERSION of ExtUtils::Constant::Base.
p4raw-link: @30940 on //depot/perl: 1abe45988edc1c4df0edabb952007ef1b6fe20e5
p4raw-link: @30391 on //depot/perl: 47520512bcc7563438628185c4d388f7da46a22c

p4raw-id: //depot/perl@30941
p4raw-edited: from //depot/maint-5.8/perl@30940 'copy'
lib/ExtUtils/Constant/Base.pm (@28114..)

12 years agoBump the VERSION of ExtUtils::Constant::Base.
Nicholas Clark [Thu, 12 Apr 2007 21:03:08 +0000 (21:03 +0000)] 
Bump the VERSION of ExtUtils::Constant::Base.

p4raw-id: //depot/perl@30940

12 years agoPL_madskills is a bool, so save it as one (else Solaris rightly
Nicholas Clark [Thu, 12 Apr 2007 20:45:21 +0000 (20:45 +0000)] 
PL_madskills is a bool, so save it as one (else Solaris rightly
SIGBUSes)

p4raw-id: //depot/perl@30939

12 years agoFix two errors in the OP debugging code. Now all test errors relate
Nicholas Clark [Thu, 12 Apr 2007 18:52:49 +0000 (18:52 +0000)] 
Fix two errors in the OP debugging code. Now all test errors relate
to newCONSTSUB().

p4raw-id: //depot/perl@30936

12 years agoRe: [PATCH] Add CPANPLUS 0.78 to the core
Yves Orton [Tue, 10 Apr 2007 18:31:28 +0000 (20:31 +0200)] 
Re: [PATCH] Add CPANPLUS 0.78 to the core
Message-ID: <9b18b3110704100931t5c0c97e0n9d3c059e6f404dd5@mail.gmail.com>

p4raw-id: //depot/perl@30932

12 years agoChange 18797 (Patch for [perl #9402], known also as "glibc _moddi3 bug
Nicholas Clark [Thu, 12 Apr 2007 15:51:58 +0000 (15:51 +0000)] 
Change 18797 (Patch for [perl #9402], known also as "glibc _moddi3 bug
with negative quads", or also as RedHat bug #65612.) was a bit brute
force. In reality, we don't need to have an auto-detecting pp_i_modulo
unless we're compiled with 64 bit IVs and on glibc.

p4raw-id: //depot/perl@30931

12 years agoRun buildtoc --build-all
Rafael Garcia-Suarez [Thu, 12 Apr 2007 14:50:04 +0000 (14:50 +0000)] 
Run buildtoc --build-all

p4raw-id: //depot/perl@30926

12 years agoAdd $VERSION to Module::Build::Version
Jerry D. Hedden [Wed, 11 Apr 2007 12:45:19 +0000 (08:45 -0400)] 
Add $VERSION to Module::Build::Version
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704110945q173f2ac8p399171428fd182cd@mail.gmail.com>

p4raw-id: //depot/perl@30925

12 years agoUpgrade to Archive::Extract 0.18
Rafael Garcia-Suarez [Thu, 12 Apr 2007 14:33:33 +0000 (14:33 +0000)] 
Upgrade to Archive::Extract 0.18

p4raw-id: //depot/perl@30923

12 years agoAdd the perlreapi man page, by Ã\86var Arnfjörð Bjarmason
Rafael Garcia-Suarez [Thu, 12 Apr 2007 14:27:23 +0000 (14:27 +0000)] 
Add the perlreapi man page, by Ã\86var Arnfjörð Bjarmason
(largely from perlreguts)

p4raw-id: //depot/perl@30922

12 years agoRe: [PATCH] extflags/pmflags Change 30841, in dump.c:pm_description regex does not...
Ævar Arnfjörð Bjarmason [Wed, 11 Apr 2007 20:54:43 +0000 (20:54 +0000)] 
Re: [PATCH] extflags/pmflags Change 30841, in dump.c:pm_description regex does not have to exist
Message-ID: <51dd1af80704111354h4bbd0212hc96a9f1911d2ffb4@mail.gmail.com>

p4raw-id: //depot/perl@30921

12 years agoRe: [PATCH] perlreguts.pod: use the unicode name for ß and show the codepoint
Ævar Arnfjörð Bjarmason [Fri, 6 Apr 2007 21:41:57 +0000 (21:41 +0000)] 
Re: [PATCH] perlreguts.pod: use the unicode name for ß and show the codepoint
Message-ID: <51dd1af80704061441v4b972257ta4c95230bdbc47c5@mail.gmail.com>

p4raw-id: //depot/perl@30920

12 years agoWhen removing the test program source, also remove the compiled
Nicholas Clark [Thu, 12 Apr 2007 11:57:26 +0000 (11:57 +0000)] 
When removing the test program source, also remove the compiled
executable.

p4raw-id: //depot/perl@30919

12 years agog++ in Tru64: align sockaddr and sockaddr_in defs
Jarkko Hietaniemi [Thu, 12 Apr 2007 05:19:30 +0000 (08:19 +0300)] 
g++ in Tru64: align sockaddr and sockaddr_in defs
Message-Id: <200704120219.l3C2JUGZ294947@kosh.hut.fi>

p4raw-id: //depot/perl@30918

12 years agoFor symbolic references test the defined path through the pp functions.
Nicholas Clark [Wed, 11 Apr 2007 19:48:36 +0000 (19:48 +0000)] 
For symbolic references test the defined path through the pp functions.

p4raw-id: //depot/perl@30915

12 years agoBe a bit more specific in what our second typeglob isn't. It is actually
Nicholas Clark [Wed, 11 Apr 2007 17:51:02 +0000 (17:51 +0000)] 
Be a bit more specific in what our second typeglob isn't. It is actually
expected to be undef.

p4raw-id: //depot/perl@30913

12 years agoFix spelling nit.
Steve Peters [Wed, 11 Apr 2007 17:16:00 +0000 (17:16 +0000)] 
Fix spelling nit.

p4raw-id: //depot/perl@30912

12 years agoRun pod/buildtoc --build-all
Nicholas Clark [Wed, 11 Apr 2007 14:15:19 +0000 (14:15 +0000)] 
Run pod/buildtoc --build-all

p4raw-id: //depot/perl@30910

12 years agoperl5.9.5delta is about 5, not 4.
Nicholas Clark [Wed, 11 Apr 2007 14:09:31 +0000 (14:09 +0000)] 
perl5.9.5delta is about 5, not 4.

p4raw-id: //depot/perl@30909

12 years agoUpdate MANIFEST to include 3 files added in change 30893.
Nicholas Clark [Wed, 11 Apr 2007 13:52:43 +0000 (13:52 +0000)] 
Update MANIFEST to include 3 files added in change 30893.

p4raw-id: //depot/perl@30908

12 years agoCorrect Shell.pm POD regarding $Shell::capture_stderr
Jerry D. Hedden [Tue, 10 Apr 2007 13:54:10 +0000 (09:54 -0400)] 
Correct Shell.pm POD regarding $Shell::capture_stderr
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510704101054q2ccc7c10l66d62971716877f9@mail.gmail.com>

p4raw-id: //depot/perl@30907

12 years agoAdd Shell.pm to the list of dual-life modules
Rafael Garcia-Suarez [Wed, 11 Apr 2007 13:06:49 +0000 (13:06 +0000)] 
Add Shell.pm to the list of dual-life modules

p4raw-id: //depot/perl@30906

12 years agoUpgrade to Shell 0.72 (noticed by Jerry D. Hedden)
Rafael Garcia-Suarez [Wed, 11 Apr 2007 13:05:28 +0000 (13:05 +0000)] 
Upgrade to Shell 0.72 (noticed by Jerry D. Hedden)

p4raw-id: //depot/perl@30905

12 years agoIf the test programs for strtoul(), strtoull() or strtouq() fail, don't
Nicholas Clark [Wed, 11 Apr 2007 08:02:43 +0000 (08:02 +0000)] 
If the test programs for strtoul(), strtoull() or strtouq() fail, don't
assume that the functions work.

p4raw-id: //depot/perl@30904

12 years agoWork round what appears to be a bug in Sun C++ 5.8 2005/10/13
Nicholas Clark [Wed, 11 Apr 2007 07:39:21 +0000 (07:39 +0000)] 
Work round what appears to be a bug in Sun C++ 5.8 2005/10/13
If we just cast GvSVn(gv) to void, it ignores evaluating it for
its side effect.

p4raw-id: //depot/perl@30903

12 years agoFully VMSify CPANPLUS util names following #30885
Craig A. Berry [Wed, 11 Apr 2007 04:08:47 +0000 (04:08 +0000)] 
Fully VMSify CPANPLUS util names following #30885

p4raw-id: //depot/perl@30902

12 years agoSilence the g++ warnings "right-hand operand of comma has no effect"
Nicholas Clark [Tue, 10 Apr 2007 19:39:01 +0000 (19:39 +0000)] 
Silence the g++ warnings "right-hand operand of comma has no effect"

p4raw-id: //depot/perl@30900

12 years agoCast needed to get POSIX compiling with g++ on FreeBSD.
Nicholas Clark [Tue, 10 Apr 2007 18:56:17 +0000 (18:56 +0000)] 
Cast needed to get POSIX compiling with g++ on FreeBSD.

p4raw-id: //depot/perl@30898

12 years agoMake the don't-use-nm symbol table probes work under C++.
Nicholas Clark [Tue, 10 Apr 2007 18:30:04 +0000 (18:30 +0000)] 
Make the don't-use-nm symbol table probes work under C++.

p4raw-id: //depot/perl@30897

12 years agoVersion change to ExtUtils::MM_Unix missed in change #30380.
Steve Peters [Tue, 10 Apr 2007 16:36:08 +0000 (16:36 +0000)] 
Version change to ExtUtils::MM_Unix missed in change #30380.
p4raw-link: @30380 on //depot/perl: 1e65eb70bcb514e61cdd8408bdbe4e5a20b7fd95

p4raw-id: //depot/perl@30896

12 years agoSomehow, version.pm was missed from change #30629.
Steve Peters [Tue, 10 Apr 2007 16:23:10 +0000 (16:23 +0000)] 
Somehow, version.pm was missed from change #30629.
p4raw-link: @30629 on //depot/perl: ac0e6a2fd2970df72270aecb94d407fe170b43a7

p4raw-id: //depot/perl@30895

12 years agoUndo the non-maint part of change 30816. Silly Nicholas.
Nicholas Clark [Tue, 10 Apr 2007 16:11:41 +0000 (16:11 +0000)] 
Undo the non-maint part of change 30816. Silly Nicholas.

p4raw-id: //depot/perl@30894

12 years agoUpgrade to Module-Build-0.2807
Steve Peters [Tue, 10 Apr 2007 15:44:51 +0000 (15:44 +0000)] 
Upgrade to Module-Build-0.2807

p4raw-id: //depot/perl@30893

12 years agoS_forget_pmop() only needs a flags argument for the ithreads case,
Nicholas Clark [Tue, 10 Apr 2007 14:49:31 +0000 (14:49 +0000)] 
S_forget_pmop() only needs a flags argument for the ithreads case,
because PmopSTASH_free() is a no-op in an unthreaded perl.

p4raw-id: //depot/perl@30891

12 years agoIf PL_curpm is pointing to an op that is getting freed, reset it to
Nicholas Clark [Tue, 10 Apr 2007 11:48:07 +0000 (11:48 +0000)] 
If PL_curpm is pointing to an op that is getting freed, reset it to
NULL. Otherwise we have a pointer dangling into undefined behaviour.

p4raw-id: //depot/perl@30888

12 years agoCould someone explain why this file was added twice.
Rafael Garcia-Suarez [Tue, 10 Apr 2007 09:43:34 +0000 (09:43 +0000)] 
Could someone explain why this file was added twice.

p4raw-id: //depot/perl@30887

12 years agoUpgrade to threads::shared 1.09 :
Rafael Garcia-Suarez [Tue, 10 Apr 2007 09:41:00 +0000 (09:41 +0000)] 
Upgrade to threads::shared 1.09 :
- Fix casting issue under MSWin32
- Modify stress test to not hang under MSWin32

p4raw-id: //depot/perl@30886

12 years agoAdd the new CPANPLUS utilities to the VMS build process.
Rafael Garcia-Suarez [Tue, 10 Apr 2007 09:23:43 +0000 (09:23 +0000)] 
Add the new CPANPLUS utilities to the VMS build process.

p4raw-id: //depot/perl@30885

12 years agoSync MANIFEST. Files have disappeared ?
Rafael Garcia-Suarez [Tue, 10 Apr 2007 07:44:50 +0000 (07:44 +0000)] 
Sync MANIFEST. Files have disappeared ?

p4raw-id: //depot/perl@30884

12 years agoAdd CPANPLUS 0.78
Rafael Garcia-Suarez [Tue, 10 Apr 2007 07:42:33 +0000 (07:42 +0000)] 
Add CPANPLUS 0.78

p4raw-id: //depot/perl@30883

12 years agoFix new tests
Rafael Garcia-Suarez [Tue, 10 Apr 2007 06:46:54 +0000 (06:46 +0000)] 
Fix new tests

p4raw-id: //depot/perl@30882

12 years agoRe: [PATCH] length() on magic capture variables
Ævar Arnfjörð Bjarmason [Mon, 9 Apr 2007 22:02:42 +0000 (22:02 +0000)] 
Re: [PATCH] length() on magic capture variables
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704091502m19130c28y29e6e656516fabfd@mail.gmail.com>

p4raw-id: //depot/perl@30881

12 years agoTest for the qr// construct
Ævar Arnfjörð Bjarmason [Mon, 9 Apr 2007 20:36:58 +0000 (20:36 +0000)] 
Test for the qr// construct
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704091336q335f0584o602b5e245bc210fe@mail.gmail.com>

Includes add to the MANIFEST

p4raw-id: //depot/perl@30880

12 years agoCast markstack values to I32
Jan Dubois [Mon, 9 Apr 2007 18:11:32 +0000 (11:11 -0700)] 
Cast markstack values to I32
Message-ID: <prol131i8b27re246alnhmem4mj13fcl2b@4ax.com>

p4raw-id: //depot/perl@30879

12 years agoRestore Win64 compilation with the Windows Platform SDK
Jan Dubois [Mon, 9 Apr 2007 17:27:17 +0000 (10:27 -0700)] 
Restore Win64 compilation with the Windows Platform SDK
Message-ID: <4kll13df3tndn8alp54gi9ur9jmq063aij@4ax.com>

p4raw-id: //depot/perl@30878

12 years agoUpgrade to bignum-0.20 and Math-BigRat-0.18.
Steve Peters [Tue, 10 Apr 2007 02:18:24 +0000 (02:18 +0000)] 
Upgrade to bignum-0.20 and Math-BigRat-0.18.

p4raw-id: //depot/perl@30877

12 years agoBigInt, FastCalc, BitRat, bignum released to CPAN [PATCH]
Tels [Mon, 9 Apr 2007 20:59:22 +0000 (20:59 +0000)] 
BigInt, FastCalc, BitRat, bignum released to CPAN [PATCH]
Message-Id: <200704092059.24058@bloodgate.com>

p4raw-id: //depot/perl@30876

12 years agoUpgrade to CPAN-1.90.
Steve Peters [Mon, 9 Apr 2007 14:06:22 +0000 (14:06 +0000)] 
Upgrade to CPAN-1.90.

p4raw-id: //depot/perl@30875

12 years agoRXf_WHITE never used due to small bug in regcomp.c
Ævar Arnfjörð Bjarmason [Sat, 7 Apr 2007 00:17:05 +0000 (00:17 +0000)] 
RXf_WHITE never used due to small bug in regcomp.c
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80704061717s44107fb9jf468ef28080d33a6@mail.gmail.com>

p4raw-id: //depot/perl@30871

12 years agomakedepend.SH syntax error
Yitzchak Scott-Thoennes [Sat, 7 Apr 2007 23:32:44 +0000 (16:32 -0700)] 
makedepend.SH syntax error
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <41520.67.40.29.216.1176013964.squirrel@webmail.efn.org>

p4raw-id: //depot/perl@30870

12 years agoUpgrade to Module-Pluggable 3.6
Nicholas Clark [Sat, 7 Apr 2007 21:36:19 +0000 (21:36 +0000)] 
Upgrade to Module-Pluggable 3.6

p4raw-id: //depot/perl@30869

12 years agoEnsure PL_last_in_gv doesn't end up pointing to garbage by NULLing it
Nicholas Clark [Sat, 7 Apr 2007 20:43:14 +0000 (20:43 +0000)] 
Ensure PL_last_in_gv doesn't end up pointing to garbage by NULLing it
if the GV it is pointing to gets freed.

p4raw-id: //depot/perl@30868

12 years agoUnder PERL_DEBUG_READONLY_OPS don't panic if you can't find the slab
Nicholas Clark [Sat, 7 Apr 2007 17:14:11 +0000 (17:14 +0000)] 
Under PERL_DEBUG_READONLY_OPS don't panic if you can't find the slab
being freed. Also, need to set the slab to read/write before
incrementing or decrementing an op's reference count.
With this we can build all extentions, and run test_harness.

p4raw-id: //depot/perl@30867

12 years agoUpgrade to Encode 2.19
Nicholas Clark [Sat, 7 Apr 2007 12:45:44 +0000 (12:45 +0000)] 
Upgrade to Encode 2.19

p4raw-id: //depot/perl@30866

12 years agoTurn op_pmreplroot in struct pmop into a real union.
Nicholas Clark [Sat, 7 Apr 2007 12:15:40 +0000 (12:15 +0000)] 
Turn op_pmreplroot in struct pmop into a real union.

p4raw-id: //depot/perl@30865

12 years agoRemove a now un-needed goto from Perl_peep().
Nicholas Clark [Sat, 7 Apr 2007 10:48:08 +0000 (10:48 +0000)] 
Remove a now un-needed goto from Perl_peep().

p4raw-id: //depot/perl@30863

12 years agoRejig Perl_peep() to assume that ops are optimised by default. The
Nicholas Clark [Sat, 7 Apr 2007 10:43:37 +0000 (10:43 +0000)] 
Rejig Perl_peep() to assume that ops are optimised by default. The
source code is simpler, and the object code slightly smaller.

p4raw-id: //depot/perl@30862

12 years agoRe-ordering OP_STUB in the switch statement in Perl_peep saves a goto.
Nicholas Clark [Sat, 7 Apr 2007 08:32:46 +0000 (08:32 +0000)] 
Re-ordering OP_STUB in the switch statement in Perl_peep saves a goto.

p4raw-id: //depot/perl@30861

12 years agoMerge op_pmreplstart and op_pmstash/op_pmstashpv into a union in
Nicholas Clark [Fri, 6 Apr 2007 23:31:14 +0000 (23:31 +0000)] 
Merge op_pmreplstart and op_pmstash/op_pmstashpv into a union in
PMOP, as both pointers never need to be set at the same time.

p4raw-id: //depot/perl@30860

12 years agoassert() that OP_QR and OP_MATCH never set op_pmreplstart, which
Nicholas Clark [Fri, 6 Apr 2007 22:32:02 +0000 (22:32 +0000)] 
assert() that OP_QR and OP_MATCH never set op_pmreplstart, which
simplifies the peep hole optimiser slightly.

p4raw-id: //depot/perl@30859

12 years agoAdd editor block.
Nicholas Clark [Fri, 6 Apr 2007 22:08:20 +0000 (22:08 +0000)] 
Add editor block.

p4raw-id: //depot/perl@30858

12 years agoOnly append ?? match ops to the list used by reset. This saves memory
Nicholas Clark [Fri, 6 Apr 2007 21:53:46 +0000 (21:53 +0000)] 
Only append ?? match ops to the list used by reset. This saves memory
and time.

p4raw-id: //depot/perl@30857

12 years agoAvoid accessing free()d memory when calling reset in one thread, after
Nicholas Clark [Fri, 6 Apr 2007 20:57:34 +0000 (20:57 +0000)] 
Avoid accessing free()d memory when calling reset in one thread, after
deleting pattern match ops in another thread.

p4raw-id: //depot/perl@30856

12 years agoGive accurate failure diagnostics when unlike() fails.
Nicholas Clark [Fri, 6 Apr 2007 20:46:47 +0000 (20:46 +0000)] 
Give accurate failure diagnostics when unlike() fails.

p4raw-id: //depot/perl@30855

12 years agoOoops. Forgot to update proto.h in change 30853.
Nicholas Clark [Fri, 6 Apr 2007 20:17:14 +0000 (20:17 +0000)] 
Ooops. Forgot to update proto.h in change 30853.

p4raw-id: //depot/perl@30854

12 years agoRemove op_pmnext from PMOPs, and instead store the list for reset as
Nicholas Clark [Fri, 6 Apr 2007 19:50:12 +0000 (19:50 +0000)] 
Remove op_pmnext from PMOPs, and instead store the list for reset as
an array hanging from the mg_ptr of the symbol table magic.
(Previously the linked list head was in the mg_obj member)

p4raw-id: //depot/perl@30853

12 years agoAllow any *DBM_File to work for DynaLoader testing
Jerry D. Hedden [Wed, 4 Apr 2007 09:57:16 +0000 (05:57 -0400)] 
Allow any *DBM_File to work for DynaLoader testing
From: "Jerry D. Hedden" <jdhedden@1979.usna.com>
Message-ID: <1ff86f510704040657t732af552jbcbdb8804d134ff7@mail.gmail.com>

p4raw-id: //depot/perl@30852

12 years agoMAD do not ignore errors from 'use'
Gerard Goossen [Thu, 29 Mar 2007 18:02:29 +0000 (20:02 +0200)] 
MAD do not ignore errors from 'use'
Message-ID: <20070329160229.GF20231@ostwald>

plus another similar correction

p4raw-id: //depot/perl@30851

12 years agomadprop about forced words
Gerard Goossen [Thu, 29 Mar 2007 18:10:42 +0000 (20:10 +0200)] 
madprop about forced words
Message-ID: <20070329161042.GG20231@ostwald>

p4raw-id: //depot/perl@30850

12 years agoRe: Proposed changes and to regular expression interfaces in core
Ævar Arnfjörð Bjarmason [Thu, 29 Mar 2007 22:52:49 +0000 (22:52 +0000)] 
Re: Proposed changes and to regular expression interfaces in core
From: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>
Message-ID: <51dd1af80703291552y1073bcb6r954b043eb68a4459@mail.gmail.com>

p4raw-id: //depot/perl@30849

12 years agog++ on NetBSD needs to have environ declared as well.
Steve Peters [Thu, 5 Apr 2007 16:32:19 +0000 (16:32 +0000)] 
g++ on NetBSD needs to have environ declared as well.

p4raw-id: //depot/perl@30848

12 years agoC++ compilation fix by Steve Peters
Rafael Garcia-Suarez [Thu, 5 Apr 2007 16:26:18 +0000 (16:26 +0000)] 
C++ compilation fix by Steve Peters

p4raw-id: //depot/perl@30847

12 years agoS_op_destroy() was not static. Also tidy all other STATIC/static
Nicholas Clark [Thu, 5 Apr 2007 08:56:10 +0000 (08:56 +0000)] 
S_op_destroy() was not static. Also tidy all other STATIC/static
declarations onto the same line as the return type, to make checking
this easier.

p4raw-id: //depot/perl@30846

12 years agoAdd TODO tests for the (sometimes) crashing threads/op deletion/reset
Nicholas Clark [Wed, 4 Apr 2007 21:42:26 +0000 (21:42 +0000)] 
Add TODO tests for the (sometimes) crashing threads/op deletion/reset
combination.

p4raw-id: //depot/perl@30845

12 years agoA test for reset.
Nicholas Clark [Wed, 4 Apr 2007 19:55:23 +0000 (19:55 +0000)] 
A test for reset.

p4raw-id: //depot/perl@30844

12 years agoGet further through the build with read-only optrees. Free()ing cops
Nicholas Clark [Wed, 4 Apr 2007 17:22:02 +0000 (17:22 +0000)] 
Get further through the build with read-only optrees. Free()ing cops
as currently implemented seems to want write activity to them. Also we
save a field in PL_curcop at one point, and sometimes this can be in
a read only COP. If so, the end of scope restoration is always to the
same value, but it's easier to cheat and skip the restoration than to
dig around and avoid the save.

p4raw-id: //depot/perl@30843

12 years agoSymbol export nit, found by Yves
Rafael Garcia-Suarez [Wed, 4 Apr 2007 08:40:52 +0000 (08:40 +0000)] 
Symbol export nit, found by Yves

p4raw-id: //depot/perl@30842