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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoRe: pmdynflags and thread safety
Yves Orton [Wed, 4 Apr 2007 01:46:26 +0000 (03:46 +0200)]
Re: pmdynflags and thread safety
Message-ID: <9b18b3110704031646p7ac8dbearf9e41397a5f884d8@mail.gmail.com>

p4raw-id: //depot/perl@30841

15 years agoext\ExtUtils\t\Embed.t fails test when upgrading a perl with different core headers.
Yves Orton [Wed, 4 Apr 2007 03:17:21 +0000 (05:17 +0200)]
ext\ExtUtils\t\Embed.t fails test when upgrading a perl with different core headers.
Message-ID: <9b18b3110704031817l37c034d3gf3d2b1cd205ac517@mail.gmail.com>

p4raw-id: //depot/perl@30840

15 years agoRe: [PATCH] microperl plus missing config vars
Jarkko Hietaniemi [Tue, 3 Apr 2007 18:28:30 +0000 (14:28 -0400)]
Re: [PATCH] microperl plus missing config vars
Message-ID: <4612D50E.5010105@iki.fi>

p4raw-id: //depot/perl@30839

15 years agoRe: [PATCH] MAD prototype checking
Gerard Goossen [Thu, 29 Mar 2007 17:34:23 +0000 (19:34 +0200)]
Re: [PATCH] MAD prototype checking
Message-ID: <20070329153423.GE20231@ostwald>

p4raw-id: //depot/perl@30838

15 years agoRe: [PATCH] MAD disable constant inlining
Gerard Goossen [Thu, 29 Mar 2007 17:31:32 +0000 (19:31 +0200)]
Re: [PATCH] MAD disable constant inlining
Message-ID: <20070329153132.GD20231@ostwald>

p4raw-id: //depot/perl@30837

15 years agoC++ compilation patch by Jarkko
Rafael Garcia-Suarez [Tue, 3 Apr 2007 08:34:09 +0000 (08:34 +0000)]
C++ compilation patch by Jarkko

p4raw-id: //depot/perl@30836

15 years agoWe may not even have a list of slabs when Perl_Slab_Free is called.
Nicholas Clark [Mon, 2 Apr 2007 21:27:26 +0000 (21:27 +0000)]
We may not even have a list of slabs when Perl_Slab_Free is called.

p4raw-id: //depot/perl@30835

15 years agoCleanups for PERL_DEBUG_READONLY_OPS debugging code - remove a now-
Nicholas Clark [Mon, 2 Apr 2007 21:25:03 +0000 (21:25 +0000)]
Cleanups for PERL_DEBUG_READONLY_OPS debugging code - remove a now-
unneeded include of <sys/mman.h>, and make PERL_DEBUG_READONLY_OPS
appear in -V output.

p4raw-id: //depot/perl@30834

15 years agoAllow testing of DBM_Filter with any *DBM_File
Jerry D. Hedden [Mon, 2 Apr 2007 10:15:47 +0000 (03:15 -0700)]
Allow testing of DBM_Filter with any *DBM_File
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <642435.53086.qm@web30215.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30833

15 years agoFor Perl_Slab_Alloc(), eliminate the unused parameter 'm'.
Nicholas Clark [Mon, 2 Apr 2007 19:53:06 +0000 (19:53 +0000)]
For Perl_Slab_Alloc(), eliminate the unused parameter 'm'.

p4raw-id: //depot/perl@30832

15 years agoDon't install dbm_filter_util.pl
Jerry D. Hedden [Mon, 2 Apr 2007 09:31:13 +0000 (02:31 -0700)]
Don't install dbm_filter_util.pl
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <721682.89546.qm@web30209.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30831

15 years agoThe op slab allocator can call calloc() instead of malloc(), and save
Nicholas Clark [Mon, 2 Apr 2007 19:25:53 +0000 (19:25 +0000)]
The op slab allocator can call calloc() instead of malloc(), and save
a Zero(). Also, argument m is unused.

p4raw-id: //depot/perl@30830

15 years agoAdd a new compile option PERL_DEBUG_READONLY_OPS which marks the optree
Nicholas Clark [Mon, 2 Apr 2007 19:03:55 +0000 (19:03 +0000)]
Add a new compile option PERL_DEBUG_READONLY_OPS which marks the optree
as read only (or as much of it as it practical). This makes it trivial
to detect buggy code that is modifying the optree at runtime.

p4raw-id: //depot/perl@30829

15 years agoperlfunc.pod: Lexical visibility hint in require docu
Christian Winter [Sun, 1 Apr 2007 18:01:24 +0000 (20:01 +0200)]
perlfunc.pod: Lexical visibility hint in require docu
Message-ID: <460FD754.8050106@linux-config.de>

p4raw-id: //depot/perl@30828

15 years agoUpdate name of Perl executable on VMS following #30414.
Craig A. Berry [Sun, 1 Apr 2007 18:11:28 +0000 (18:11 +0000)]
Update name of Perl executable on VMS following #30414.

p4raw-id: //depot/perl@30827

15 years agoMark new regex glob test as a TODO on VMS.
Craig A. Berry [Sun, 1 Apr 2007 18:01:01 +0000 (18:01 +0000)]
Mark new regex glob test as a TODO on VMS.

p4raw-id: //depot/perl@30826

15 years agoREADME.$OS URLs
Steffen Müller [Sat, 31 Mar 2007 16:37:56 +0000 (18:37 +0200)]
README.$OS URLs
Message-ID: <20070331143757.26271.qmail@lists.develooper.com>

p4raw-id: //depot/perl@30825

15 years agoSymbian sync
Jarkko Hietaniemi [Sat, 31 Mar 2007 15:30:09 +0000 (11:30 -0400)]
Symbian sync
Message-ID: <460EB6C1.4020406@iki.fi>

p4raw-id: //depot/perl@30824

15 years agomicroperl plus missing config vars
Jarkko Hietaniemi [Sat, 31 Mar 2007 17:50:18 +0000 (13:50 -0400)]
microperl plus missing config vars
Message-ID: <460ED79A.5030809@iki.fi>

p4raw-id: //depot/perl@30823

15 years agoMake parser_free() be called slightly later,
Dave Mitchell [Sun, 1 Apr 2007 01:27:57 +0000 (01:27 +0000)]
Make parser_free() be called slightly later,
i.e. at the point where lexer vars are being restored in a LEAVE,
rather than at the end of yyparse()

p4raw-id: //depot/perl@30822

15 years agoEliminate the use of PL_curforce outside of toke.c
Dave Mitchell [Sun, 1 Apr 2007 01:22:20 +0000 (01:22 +0000)]
Eliminate the use of PL_curforce outside of toke.c

p4raw-id: //depot/perl@30821

15 years agoEliminate the use of PL_bufend outside of toke.c:
Dave Mitchell [Sun, 1 Apr 2007 01:20:02 +0000 (01:20 +0000)]
Eliminate the use of PL_bufend outside of toke.c:
give Perl_scan_vstring() an explicit 'end' arg rather than using
PL_bufend, and replace it with a local var in Perl_find_script()

p4raw-id: //depot/perl@30820

15 years agofree backtrack track when on unexpected exit, eg /(?{ die })/
Dave Mitchell [Sun, 1 Apr 2007 00:51:00 +0000 (00:51 +0000)]
free backtrack track when on unexpected exit, eg /(?{ die })/

p4raw-id: //depot/perl@30819

15 years agofix $^R scoping bug.
Dave Mitchell [Sun, 1 Apr 2007 00:27:02 +0000 (00:27 +0000)]
fix $^R scoping bug.
By setting the outer saved $^R to the current $^R just at the
end of a successful match, and ensuring that that the savestack
doesn't get popped beforehand, the code is simplified and fixes a
bug.

p4raw-id: //depot/perl@30818

15 years agoRearrange members of structures to reduce memory size on some
Nicholas Clark [Sat, 31 Mar 2007 23:15:15 +0000 (23:15 +0000)]
Rearrange members of structures to reduce memory size on some
platforms. On LP64 structs stackinfo, refcounted_he, and magic shrink
by 8 bytes, struct yy_parser by 16.

p4raw-id: //depot/perl@30817

15 years agoIntegrate:
Nicholas Clark [Sat, 31 Mar 2007 23:13:15 +0000 (23:13 +0000)]
Integrate:
[ 30652]
In safecalloc, use the system calloc() for the non-DEBUGGING case, as
it may be able to memset() to 0 for free.

[ 30661]
Remove the (sometimes) unused variable from change 30652.

[ 30670]
Subject: [PATCH] Change 30661 could result in undefined variable
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <915076.64236.qm@web30212.mail.mud.yahoo.com>
Date: Wed, 21 Mar 2007 12:47:52 -0700 (PDT)

[ 30771]
Subject: [PATCH] util.c [PATCH] perlhack.pod (Was: Re: threads crashes in Tru64)
From: Jarkko Hietaniemi <jhi@iki.fi>
Date: Mon, 26 Mar 2007 19:50:11 -0400
Message-ID: <46085C33.1030601@iki.fi>
p4raw-link: @30771 on //depot/perl: ad7244db27635ed088fc05a8a69e99bbb19c36d6
p4raw-link: @30670 on //depot/perl: 6460123ae692a9c25bc8c2253f12c8cf6f0ebdc0
p4raw-link: @30661 on //depot/perl: a93c8a9e4a51d34ca994257e736b80ca04ec6f9e
p4raw-link: @30652 on //depot/perl: e1a95402a0ef053bf8dd15ba3824743513f0725e

p4raw-id: //depot/perl@30816

15 years agoReorder the members of various regexp structs to reduce their size on
Nicholas Clark [Sat, 31 Mar 2007 20:52:53 +0000 (20:52 +0000)]
Reorder the members of various regexp structs to reduce their size on
LP64 platforms, by pairing up I32 and U32 members. Notably structs
_reg_trie_data, reg_ac_data, regexp and regmatch_state down by 8 bytes,
re_save_state by 16, and regmatch_slab up by 48 (ie one more state per
slab)

p4raw-id: //depot/perl@30815

15 years agoFix URL rot in README.vms
Craig A. Berry [Sat, 31 Mar 2007 19:42:35 +0000 (19:42 +0000)]
Fix URL rot in README.vms

p4raw-id: //depot/perl@30814

15 years agoMake Perl_vms_start_glob return the input pattern when there are
Craig A. Berry [Sat, 31 Mar 2007 19:40:43 +0000 (19:40 +0000)]
Make Perl_vms_start_glob return the input pattern when there are
no matches.

p4raw-id: //depot/perl@30813

15 years agoprecomp in struct regexp can be const char *.
Nicholas Clark [Sat, 31 Mar 2007 15:50:05 +0000 (15:50 +0000)]
precomp in struct regexp can be const char *.

p4raw-id: //depot/perl@30812

15 years agoFix bug #42224, perl -MO=Deparse -e 'print readpipe $x, $y' broken
Rafael Garcia-Suarez [Sat, 31 Mar 2007 14:11:40 +0000 (14:11 +0000)]
Fix bug #42224, perl -MO=Deparse -e 'print readpipe $x, $y' broken

p4raw-id: //depot/perl@30811

15 years agoFix the error message "Can't call method "DOES" on unblessed
Rafael Garcia-Suarez [Sat, 31 Mar 2007 06:23:12 +0000 (06:23 +0000)]
Fix the error message "Can't call method "DOES" on unblessed
reference".

p4raw-id: //depot/perl@30806

15 years agoDon't use utf8.pm in the test (avoiding embedding utf8 in the test
Rafael Garcia-Suarez [Sat, 31 Mar 2007 06:16:09 +0000 (06:16 +0000)]
Don't use utf8.pm in the test (avoiding embedding utf8 in the test
file), and use greek to test for something out of 8-bit latin, as
Jarkko suggested. Everything flows.

p4raw-id: //depot/perl@30805

15 years agoThis was released as 2.16.
Abhijit Menon-Sen [Sat, 31 Mar 2007 00:51:55 +0000 (00:51 +0000)]
This was released as 2.16.

p4raw-id: //depot/perl@30804

15 years agoAdd new hints files.
Abhijit Menon-Sen [Sat, 31 Mar 2007 00:34:13 +0000 (00:34 +0000)]
Add new hints files.

p4raw-id: //depot/perl@30803

15 years agoBump File::Glob's VERSION to go with change 30103.
Nicholas Clark [Fri, 30 Mar 2007 16:17:25 +0000 (16:17 +0000)]
Bump File::Glob's VERSION to go with change 30103.

p4raw-id: //depot/perl@30791

15 years agoRemove the never-used numeric and character switch ops.
Nicholas Clark [Fri, 30 Mar 2007 11:52:43 +0000 (11:52 +0000)]
Remove the never-used numeric and character switch ops.

p4raw-id: //depot/perl@30785

15 years agoA logical rearrangement of ops, to get the post 5.005 ops to their
Nicholas Clark [Fri, 30 Mar 2007 11:48:54 +0000 (11:48 +0000)]
A logical rearrangement of ops, to get the post 5.005 ops to their
logical groups.

p4raw-id: //depot/perl@30784

15 years agoOops. Failed to remove the now obsolete comment about custom ops.
Nicholas Clark [Fri, 30 Mar 2007 10:53:31 +0000 (10:53 +0000)]
Oops. Failed to remove the now obsolete comment about custom ops.

p4raw-id: //depot/perl@30783

15 years agoRemove the restriction that op_custom has to be the last op.
Nicholas Clark [Fri, 30 Mar 2007 10:50:10 +0000 (10:50 +0000)]
Remove the restriction that op_custom has to be the last op.
This allows more ops to be added during the life of a stable release.

p4raw-id: //depot/perl@30782

15 years agoWhen dup'ing a filehandle, retain the :utf8 layer
Rafael Garcia-Suarez [Fri, 30 Mar 2007 08:30:35 +0000 (08:30 +0000)]
When dup'ing a filehandle, retain the :utf8 layer

p4raw-id: //depot/perl@30781

15 years agoAdd two deprecation warnings:
Rafael Garcia-Suarez [Fri, 30 Mar 2007 07:48:59 +0000 (07:48 +0000)]
Add two deprecation warnings:
Opening dirhandle %s also as a file
Opening filehandle %s also as a directory

p4raw-id: //depot/perl@30780

15 years agocflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
Jarkko Hietaniemi [Fri, 30 Mar 2007 04:44:11 +0000 (07:44 +0300)]
cflags.SH: 30327 wasn't portable Bourne (avoid '!: not found')
Message-Id: <200703300144.l2U1iBSA490663@kosh.hut.fi>

p4raw-id: //depot/perl@30779

15 years agoUpgrade to CGI.pm-3.28
Steve Peters [Thu, 29 Mar 2007 23:11:29 +0000 (23:11 +0000)]
Upgrade to CGI.pm-3.28

p4raw-id: //depot/perl@30778

15 years agoShorten 'skipping...' test message
Jerry D. Hedden [Thu, 29 Mar 2007 05:56:51 +0000 (22:56 -0700)]
Shorten 'skipping...' test message
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <213529.35369.qm@web30214.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30777

15 years agoBack out changes 30762 and 30763
Rafael Garcia-Suarez [Thu, 29 Mar 2007 07:56:11 +0000 (07:56 +0000)]
Back out changes 30762 and 30763

p4raw-id: //depot/perl@30776