This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoA few more details in perldelta
Rafael Garcia-Suarez [Tue, 13 Feb 2007 15:30:12 +0000 (15:30 +0000)]
A few more details in perldelta

p4raw-id: //depot/perl@30257

14 years agoUpgrade to CPAN-1.88_72
Steve Peters [Tue, 13 Feb 2007 15:23:00 +0000 (15:23 +0000)]
Upgrade to CPAN-1.88_72

p4raw-id: //depot/perl@30256

14 years agoChange 26487 left some debugging code in, and through the wonders of
Nicholas Clark [Tue, 13 Feb 2007 14:22:32 +0000 (14:22 +0000)]
Change 26487 left some debugging code in, and through the wonders of
autovivification, that code actually introduced a bug, most easily
visible for the for the non-5.9.x case.

p4raw-id: //depot/perl@30255

14 years agoFwd: CPAN Upload: J/JP/JPEACOCK/version-0.70.tar.gz
John Peacock [Mon, 12 Feb 2007 21:51:23 +0000 (16:51 -0500)]
Fwd: CPAN Upload: J/JP/JPEACOCK/version-0.70.tar.gz
Message-ID: <45D127AB.3050904@rowman.com>

p4raw-id: //depot/perl@30254

14 years agoIntegrate:
Nicholas Clark [Mon, 12 Feb 2007 20:29:43 +0000 (20:29 +0000)]
Integrate:
[ 29832]
Avoid a SEGV in DBI's test suite, discovered by Andreas.
Probably need to go through and audit to see if there are analagous
places that need tweaking.
p4raw-link: @29832 on //depot/maint-5.8/perl: 42a5fb548791baca026f93036e91df33f2efb5be

p4raw-id: //depot/perl@30240
p4raw-integrated: from //depot/maint-5.8/perl@29832 'merge in' perl.c
(@29809..)

14 years agoRe: [perl #41492] Incorrect match with /(?(DEFINE)(?<A> (?&B)+)(?<B> a))/
Yves Orton [Mon, 12 Feb 2007 19:15:33 +0000 (20:15 +0100)]
Re: [perl #41492] Incorrect match with /(?(DEFINE)(?<A> (?&B)+)(?<B> a))/
Message-ID: <9b18b3110702121015o1c84ff6hfd69cfa645fae0bf@mail.gmail.com>

p4raw-id: //depot/perl@30236

14 years agoIntegrate:
Jan Dubois [Fri, 13 May 2005 12:21:40 +0000 (05:21 -0700)]
Integrate:
[ 24458]
Fix from Steve Peters

[ 24464]
Subject: RE: 5.8.7-tobe fails to compile on AIX 4.3.3
From: "Jan Dubois" <jand@ActiveState.com>
Message-Id: <200505131921.j4DJLgG5007986@smtp3.ActiveState.com>

and then regenerate reentr.h, with the , no longer inside
REENTR_MEMZERO(). This keeps macros looking like functions.
p4raw-link: @24464 on //depot/maint-5.8/perl: 65af2a75d112159ec53912329b2e01abfb9a3fb4
p4raw-link: @24458 on //depot/maint-5.8/perl: ef0ef25c116d419e8978d636281fda0a90743c2a

p4raw-id: //depot/perl@30235
p4raw-integrated: from //depot/maint-5.8/perl@24464 'edit in' reentr.pl
(@24458..)

14 years agoRe: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Paul Johnson [Sat, 10 Feb 2007 23:10:31 +0000 (00:10 +0100)]
Re: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Message-ID: <20070210221031.GB31280@pjcj.net>

p4raw-id: //depot/perl@30234

14 years agoSkip this test if "use open" fails due to an unknown encoding
Rafael Garcia-Suarez [Mon, 12 Feb 2007 17:00:09 +0000 (17:00 +0000)]
Skip this test if "use open" fails due to an unknown encoding

p4raw-id: //depot/perl@30233

14 years agoUn-TODO tests avec change #30228
Rafael Garcia-Suarez [Mon, 12 Feb 2007 15:31:56 +0000 (15:31 +0000)]
Un-TODO tests avec change #30228
p4raw-link: @30228 on //depot/perl: ebca63ee5f1955c84450c209cba0b49a23ad2f27

p4raw-id: //depot/perl@30229

14 years agoRe: PL_copline inconsistency
Rick Delaney [Sat, 27 Jan 2007 20:29:02 +0000 (15:29 -0500)]
Re: PL_copline inconsistency
Message-ID: <20070128012902.GA21572@bort.ca>

p4raw-id: //depot/perl@30228

14 years agoNote why storing a reference as an integer in %^H is not threadsafe.
Nicholas Clark [Mon, 12 Feb 2007 10:52:28 +0000 (10:52 +0000)]
Note why storing a reference as an integer in %^H is not threadsafe.

p4raw-id: //depot/perl@30221

14 years agoDocument that m//k works, by Ævar Arnfjörð Bjarmason
Rafael Garcia-Suarez [Mon, 12 Feb 2007 09:05:38 +0000 (09:05 +0000)]
Document that m//k works, by Ævar Arnfjörð Bjarmason

p4raw-id: //depot/perl@30220

14 years agoApply #30197 to win32/makefile.mk too
Steve Hay [Mon, 12 Feb 2007 09:04:41 +0000 (09:04 +0000)]
Apply #30197 to win32/makefile.mk too

p4raw-id: //depot/perl@30219

14 years agoFAQ sync
Rafael Garcia-Suarez [Mon, 12 Feb 2007 09:01:30 +0000 (09:01 +0000)]
FAQ sync

p4raw-id: //depot/perl@30218

14 years agoCheck for the presence of signbit() on VMS. It currently only works
Craig A. Berry [Sun, 11 Feb 2007 23:52:35 +0000 (23:52 +0000)]
Check for the presence of signbit() on VMS. It currently only works
on IEEE double, not IEEE long double or any other floating point format.
Also, begin to disentangle -Duselongdouble configuration support from
its other 64-bit brethren.

p4raw-id: //depot/perl@30217

14 years agoIn vms/vms.c's declaration of the LIB$INITIALIZE psect, try to get
Craig A. Berry [Sun, 11 Feb 2007 23:48:46 +0000 (23:48 +0000)]
In vms/vms.c's declaration of the LIB$INITIALIZE psect, try to get
all of the attributes we need without any of the ones we don't, and
try to be friendly to older compilers without too much damage to
readability.  Thanks to Saku Setala for the problem report.

p4raw-id: //depot/perl@30216

14 years agoAnother tiny typo in File::Copy (found by Ruud.)
Rafael Garcia-Suarez [Sun, 11 Feb 2007 17:29:04 +0000 (17:29 +0000)]
Another tiny typo in File::Copy (found by Ruud.)

p4raw-id: //depot/perl@30215

14 years agoExplicitly load PerlIO::encoding when testing it.
Rafael Garcia-Suarez [Sun, 11 Feb 2007 17:23:51 +0000 (17:23 +0000)]
Explicitly load PerlIO::encoding when testing it.
(so we know what we're testing)

p4raw-id: //depot/perl@30214

14 years agoRe: [perl #41442] segfault (dead loop) with Encoding, use open :locale, print STDERR
Slaven Rezic [Mon, 5 Feb 2007 23:04:07 +0000 (00:04 +0100)]
Re: [perl #41442] segfault (dead loop) with Encoding, use open :locale, print STDERR
Message-ID: <87veiggt2g.fsf@biokovo.herceg.de>

p4raw-id: //depot/perl@30213

14 years agoConvert new test to using t/test.pl.
Rafael Garcia-Suarez [Sun, 11 Feb 2007 16:26:47 +0000 (16:26 +0000)]
Convert new test to using t/test.pl.
(No idea where it could fit better. And since it uses the stack,
it's a bit fragile)

p4raw-id: //depot/perl@30212

14 years ago[perl #41484] qr// stack bug
knew-p5p@pimb.org [Sat, 10 Feb 2007 19:32:17 +0000 (11:32 -0800)]
[perl #41484] qr// stack bug
From: knew-p5p@pimb.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-14573-1171164736-117.41484-75-0@perl.org>

p4raw-id: //depot/perl@30211

14 years agoRe: [NL-PM] Fw: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Yves Orton [Sat, 10 Feb 2007 21:31:55 +0000 (22:31 +0100)]
Re: [NL-PM] Fw: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Message-ID: <9b18b3110702101231j5e91cc20g780a8c581af02dd5@mail.gmail.com>

p4raw-id: //depot/perl@30200

14 years agoDefend against cmd.exe stupidity (on Win2k at least)
Yves Orton [Sat, 10 Feb 2007 20:00:10 +0000 (21:00 +0100)]
Defend against cmd.exe stupidity (on Win2k at least)
Message-ID: <9b18b3110702101100n76f65136ke65113bf0dbd01f@mail.gmail.com>
Date: Sat, 10 Feb 2007 20:00:10 +0100

p4raw-id: //depot/perl@30197

14 years agoThese casts to GV are no longer needed.
Nicholas Clark [Sat, 10 Feb 2007 18:51:31 +0000 (18:51 +0000)]
These casts to GV are no longer needed.

p4raw-id: //depot/perl@30195

14 years agosignbit detection (was [perl #39875] -0.0 loses signedness upon numeric comparison)
Andy Dougherty [Fri, 9 Feb 2007 11:40:51 +0000 (06:40 -0500)]
signbit detection (was [perl #39875] -0.0 loses signedness upon numeric comparison)
Message-ID: <Pine.LNX.4.62.0702091121400.10202@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@30192

14 years agoFix Pod errors.
Nicholas Clark [Fri, 9 Feb 2007 23:36:46 +0000 (23:36 +0000)]
Fix Pod errors.

p4raw-id: //depot/perl@30188

14 years agoRe: [NL-PM] Fw: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Yves Orton [Fri, 9 Feb 2007 20:40:17 +0000 (21:40 +0100)]
Re: [NL-PM] Fw: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Message-ID: <9b18b3110702091140k12d60712uf9fffbf77141247c@mail.gmail.com>

p4raw-id: //depot/perl@30184

14 years agoUnknown formatting code U<> spotted by Jesse - presumably it should be
Nicholas Clark [Fri, 9 Feb 2007 19:39:45 +0000 (19:39 +0000)]
Unknown formatting code U<> spotted by Jesse - presumably it should be
L<>

p4raw-id: //depot/perl@30183

14 years agoUpdate the lists of files that makerel needs to process. Remove the
Nicholas Clark [Fri, 9 Feb 2007 12:20:49 +0000 (12:20 +0000)]
Update the lists of files that makerel needs to process. Remove the
"used only once" warning.

p4raw-id: //depot/perl@30178

14 years agoSwitch from Carp to plain old warn in vms/ext/XSSymSet.pm
Craig A. Berry [Thu, 8 Feb 2007 18:42:44 +0000 (18:42 +0000)]
Switch from Carp to plain old warn in vms/ext/XSSymSet.pm
because Carp now in some cases depends on things that may not
be available from miniperl or before extensions are built.

p4raw-id: //depot/perl@30177

14 years agoTypo fix, by John P. Linderman
Rafael Garcia-Suarez [Thu, 8 Feb 2007 14:14:25 +0000 (14:14 +0000)]
Typo fix, by John P. Linderman

p4raw-id: //depot/perl@30172

14 years agoRe: Change 29193 is a regression
Rick Delaney [Thu, 8 Feb 2007 08:21:37 +0000 (03:21 -0500)]
Re: Change 29193 is a regression
Message-ID: <20070208132137.GA24202@bort.ca>

p4raw-id: //depot/perl@30171

14 years agoRemove dead code that was emitting warnings.
Rafael Garcia-Suarez [Thu, 8 Feb 2007 10:16:14 +0000 (10:16 +0000)]
Remove dead code that was emitting warnings.

p4raw-id: //depot/perl@30170

14 years agoRe: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Yves Orton [Wed, 7 Feb 2007 22:53:25 +0000 (23:53 +0100)]
Re: [PATCH - provisional] H. Merijn Brands idea of buffer numbering.
Message-ID: <9b18b3110702071353l250d8a67x188c4e234e8905c7@mail.gmail.com>

p4raw-id: //depot/perl@30169

14 years agoopening $0 doesn't work if you change directory. So use test.pl
Nicholas Clark [Wed, 7 Feb 2007 23:54:53 +0000 (23:54 +0000)]
opening $0 doesn't work if you change directory. So use test.pl

p4raw-id: //depot/perl@30168

14 years agoTODO tests for eval of tainted scalars. (change 29193's regression)
Nicholas Clark [Wed, 7 Feb 2007 23:49:44 +0000 (23:49 +0000)]
TODO tests for eval of tainted scalars. (change 29193's regression)

p4raw-id: //depot/perl@30167

14 years agoUpgrade to Time-HiRes-1.9705
Steve Peters [Wed, 7 Feb 2007 14:56:05 +0000 (14:56 +0000)]
Upgrade to Time-HiRes-1.9705

p4raw-id: //depot/perl@30157

14 years agoFix to Dynaloader.t for missing modules
Jerry D. Hedden [Wed, 7 Feb 2007 05:18:43 +0000 (21:18 -0800)]
Fix to Dynaloader.t for missing modules
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <618512.39885.qm@web30212.mail.mud.yahoo.com>

p4raw-id: //depot/perl@30156

14 years agolibdb may require pthread
Jonathan Stowe [Wed, 7 Feb 2007 11:56:17 +0000 (11:56 +0000)]
libdb may require pthread
Message-Id: <1170849377.13207.14.camel@coriolanus.gellyfish.com>

p4raw-id: //depot/perl@30155

14 years agoWrap the SvTYPE macro definition in parens.
Rafael Garcia-Suarez [Wed, 7 Feb 2007 09:04:56 +0000 (09:04 +0000)]
Wrap the SvTYPE macro definition in parens.

p4raw-id: //depot/perl@30153

14 years agoUpgrade to threads.pm 1.59 (doc tweaks)
Rafael Garcia-Suarez [Tue, 6 Feb 2007 22:37:34 +0000 (22:37 +0000)]
Upgrade to threads.pm 1.59 (doc tweaks)

p4raw-id: //depot/perl@30152

14 years agoUpgrade to threads::shared 1.07 (doc tweaks)
Rafael Garcia-Suarez [Tue, 6 Feb 2007 22:35:29 +0000 (22:35 +0000)]
Upgrade to threads::shared 1.07 (doc tweaks)

p4raw-id: //depot/perl@30151

14 years agoperlop.pod - proposal to add an explanation of \c
Wolfgang Laun [Sat, 3 Feb 2007 16:23:48 +0000 (17:23 +0100)]
perlop.pod - proposal to add an explanation of \c
From: "Wolfgang Laun" <wolfgang.laun@gmail.com>
Message-ID: <17de7ee80702030723m4265bbfkc83644d55a24aa0@mail.gmail.com>

p4raw-id: //depot/perl@30150

14 years agoAvoid obscure failures when a regexp hasn't matched
Rafael Garcia-Suarez [Tue, 6 Feb 2007 22:29:45 +0000 (22:29 +0000)]
Avoid obscure failures when a regexp hasn't matched

p4raw-id: //depot/perl@30149

14 years agocurrent status on Unicode Regular Expressions
SADAHIRO Tomoyuki [Sat, 3 Feb 2007 17:01:52 +0000 (02:01 +0900)]
current status on Unicode Regular Expressions
Message-Id: <20070203170135.3B43.BQW10602@nifty.com>

p4raw-id: //depot/perl@30148

14 years agofix 2 environment handling bugs
Jan Dubois [Mon, 5 Feb 2007 21:45:36 +0000 (13:45 -0800)]
fix 2 environment handling bugs
Message-ID: <p81gs2pggh04cngqjam0ejite7ksamiprt@4ax.com>

p4raw-id: //depot/perl@30147

14 years agoUpgrade to ExtUtils-Command-1.13
Steve Peters [Tue, 6 Feb 2007 21:43:13 +0000 (21:43 +0000)]
Upgrade to ExtUtils-Command-1.13

p4raw-id: //depot/perl@30146

14 years agoUpgrade to libnet-1.20. Includes some additional version bumps where bleadperl
Steve Peters [Tue, 6 Feb 2007 17:29:09 +0000 (17:29 +0000)]
Upgrade to libnet-1.20.  Includes some additional version bumps where bleadperl
differs from the CPAN version (Net::FTP and Net::NNTP).

p4raw-id: //depot/perl@30144

14 years agoUpgrade to Module-Pluggable-3.5
Steve Peters [Tue, 6 Feb 2007 16:42:50 +0000 (16:42 +0000)]
Upgrade to Module-Pluggable-3.5

p4raw-id: //depot/perl@30143

14 years agoMake a dummy OPpPAD_STATE and a dummy PL_unitcheck_save available to
Nicholas Clark [Mon, 5 Feb 2007 23:52:23 +0000 (23:52 +0000)]
Make a dummy OPpPAD_STATE and a dummy PL_unitcheck_save available to
pre 5.9.x.

p4raw-id: //depot/perl@30142

14 years agot/lib/common.pl can be warnings clean.
Nicholas Clark [Mon, 5 Feb 2007 18:53:18 +0000 (18:53 +0000)]
t/lib/common.pl can be warnings clean.

p4raw-id: //depot/perl@30136

14 years agoUpgrade to ExtUtils-ParseXS-2.18
Nicholas Clark [Mon, 5 Feb 2007 18:35:47 +0000 (18:35 +0000)]
Upgrade to ExtUtils-ParseXS-2.18

p4raw-id: //depot/perl@30134

14 years agocygwin: disable effect of -ansi -std=c89 on system include
Yitzchak Scott-Thoennes [Mon, 5 Feb 2007 03:32:59 +0000 (19:32 -0800)]
cygwin: disable effect of -ansi -std=c89 on system include
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <1344.63.226.247.186.1170675179.squirrel@63.226.247.186>

p4raw-id: //depot/perl@30129

14 years agoUpgrade to DB_File 1.815
Rafael Garcia-Suarez [Mon, 5 Feb 2007 12:24:24 +0000 (12:24 +0000)]
Upgrade to DB_File 1.815

p4raw-id: //depot/perl@30128

14 years agominor improvements for perlre.pod
Wolfgang Laun [Sun, 4 Feb 2007 16:26:14 +0000 (17:26 +0100)]
minor improvements for perlre.pod
From: "Wolfgang Laun" <wolfgang.laun@gmail.com>
Message-ID: <17de7ee80702040726v23f54266g3c352d353a30c430@mail.gmail.com>

p4raw-id: //depot/perl@30126

14 years agoQuote fix by Jarkko
Rafael Garcia-Suarez [Mon, 5 Feb 2007 10:05:10 +0000 (10:05 +0000)]
Quote fix by Jarkko

p4raw-id: //depot/perl@30125

14 years agoUse the new conditional TODOs to mark as TODO the warning tests
Nicholas Clark [Mon, 5 Feb 2007 00:13:08 +0000 (00:13 +0000)]
Use the new conditional TODOs to mark as TODO the warning tests
failing due to HEKs leaked by OPs for unthreaded perls tested with
a UTF-8 locale.

p4raw-id: //depot/perl@30124

14 years agoEnhance t/lib/common.pl to provide conditional TODOs using eval'd code.
Nicholas Clark [Mon, 5 Feb 2007 00:12:25 +0000 (00:12 +0000)]
Enhance t/lib/common.pl to provide conditional TODOs using eval'd code.

p4raw-id: //depot/perl@30123

14 years agoIn vms/gen_shrfls.pl, consider EXTERN_C declarations as function
Craig A. Berry [Sun, 4 Feb 2007 20:43:46 +0000 (20:43 +0000)]
In vms/gen_shrfls.pl, consider EXTERN_C declarations as function
candidates, not global variable candidates.  Currently only needed
for PerlIO_teardown.

p4raw-id: //depot/perl@30120

14 years agoChange 23753 wasn't quite a perfect refactoring, as it omitted calling
Nicholas Clark [Sun, 4 Feb 2007 20:32:13 +0000 (20:32 +0000)]
Change 23753 wasn't quite a perfect refactoring, as it omitted calling
PERL_SET_THX(my_perl); when !PL_curinterp for non-ithreads.
However, this would not have made a difference for any configuration
buildable from the blead source alone.

p4raw-id: //depot/perl@30119

14 years agoCurrently Changes is in ISO-8859-1, not UTF-8, so correct change 28226
Nicholas Clark [Sun, 4 Feb 2007 18:38:59 +0000 (18:38 +0000)]
Currently Changes is in ISO-8859-1, not UTF-8, so correct change 28226
which had an e accute in UTF-8.

p4raw-id: //depot/perl@30114

14 years agoInstall overload.h on VMS, plus more case fix-ups in descrip_mms.template.
Craig A. Berry [Sat, 3 Feb 2007 23:53:06 +0000 (23:53 +0000)]
Install overload.h on VMS, plus more case fix-ups in descrip_mms.template.

p4raw-id: //depot/perl@30111

14 years agoInstall parser.h on VMS, plus fix some case typos in descrip_mms.template.
Craig A. Berry [Sat, 3 Feb 2007 18:52:02 +0000 (18:52 +0000)]
Install parser.h on VMS, plus fix some case typos in descrip_mms.template.

p4raw-id: //depot/perl@30108

14 years agoPurge all references to 5005 threads variables in the code.
Nicholas Clark [Sat, 3 Feb 2007 15:23:52 +0000 (15:23 +0000)]
Purge all references to 5005 threads variables in the code.
(Retain the aides memoire in makedef.pl)

p4raw-id: //depot/perl@30105

14 years agoRe: prerelease checklist for Perl 5.10
Yves Orton [Thu, 1 Feb 2007 17:06:37 +0000 (18:06 +0100)]
Re: prerelease checklist for Perl 5.10
Date: Thu, 1 Feb 2007 17:06:37 +0100
Message-ID: <9b18b3110702010806n7e095317v77f5dc1eb765f8d@mail.gmail.com>

Subject: Re: prerelease checklist for Perl 5.10
From: demerphq <demerphq@gmail.com>
Date: Fri, 2 Feb 2007 18:10:14 +0100
Message-ID: <9b18b3110702020910l31c7784fi5e37bf777b6eafb3@mail.gmail.com>

Regular expression changes to fix failing tests in XML::Twig and
Mail::SpamAssassin.  The breakages occured in changes #28785 and
#29279.

p4raw-id: //depot/perl@30104

14 years agoRe: [perl #41421] glob() produces spurious results with brackets in braces
Slaven Rezic [Fri, 2 Feb 2007 23:08:28 +0000 (00:08 +0100)]
Re: [perl #41421] glob() produces spurious results with brackets in braces
Message-ID: <87r6t81acj.fsf@biokovo.herceg.de>
Date: 02 Feb 2007 23:08:28 +0100

p4raw-id: //depot/perl@30103

14 years agoA few more places where we know the length for sv_setpv() or sv_catpv()
Nicholas Clark [Fri, 2 Feb 2007 22:10:39 +0000 (22:10 +0000)]
A few more places where we know the length for sv_setpv() or sv_catpv()

p4raw-id: //depot/perl@30101

14 years agoTesting every pattern by also upgrading to UTF-8 would have caught the
Nicholas Clark [Fri, 2 Feb 2007 16:25:23 +0000 (16:25 +0000)]
Testing every pattern by also upgrading to UTF-8 would have caught the
bug added by change 29502, fixed in change 30092.

p4raw-id: //depot/perl@30093

14 years agoChange 29502 wasn't perfect - you need to remove any extra trailing
Nicholas Clark [Fri, 2 Feb 2007 14:37:31 +0000 (14:37 +0000)]
Change 29502 wasn't perfect - you need to remove any extra trailing
"\n" added by fbm_compile(), before recompiling with the same flags.
In turn, to do that, it's best to store the flags even for short
"PVBM"s.

p4raw-id: //depot/perl@30092

14 years agoBetter dump reporting of "PVBM"s.
Nicholas Clark [Fri, 2 Feb 2007 14:35:51 +0000 (14:35 +0000)]
Better dump reporting of "PVBM"s.

p4raw-id: //depot/perl@30091

14 years agoAllow regexp.t to take a command line argument for the filename of
Nicholas Clark [Thu, 1 Feb 2007 23:32:22 +0000 (23:32 +0000)]
Allow regexp.t to take a command line argument for the filename of
tests. Read the tests into memory, to avoid seeking the FH.

p4raw-id: //depot/perl@30090

14 years agoMake t/op/regexp.t warnings clean.
Nicholas Clark [Thu, 1 Feb 2007 16:49:12 +0000 (16:49 +0000)]
Make t/op/regexp.t warnings clean.

p4raw-id: //depot/perl@30089

14 years agoMake t/op/regexp.t run under use strict; including removing the
Nicholas Clark [Thu, 1 Feb 2007 16:27:00 +0000 (16:27 +0000)]
Make t/op/regexp.t run under use strict; including removing the
vestiges of change 1195 not removed by change 1244.

p4raw-id: //depot/perl@30088

14 years agoalloca () might end up unreferenced during linking.
H.Merijn Brand [Wed, 31 Jan 2007 15:38:06 +0000 (15:38 +0000)]
alloca () might end up unreferenced during linking.
Thanks Steve

p4raw-id: //depot/perl@30087

14 years agoUpgrade to Getopt::Long 2.36
Rafael Garcia-Suarez [Wed, 31 Jan 2007 13:58:40 +0000 (13:58 +0000)]
Upgrade to Getopt::Long 2.36

p4raw-id: //depot/perl@30086

14 years agoYou can't have special blocks if the subroutine has an "anonymous"
Nicholas Clark [Wed, 31 Jan 2007 12:14:05 +0000 (12:14 +0000)]
You can't have special blocks if the subroutine has an "anonymous"
name for the debugger, so don't bother checking.

p4raw-id: //depot/perl@30085

14 years agoImprove regex stringification code
Yves Orton [Tue, 30 Jan 2007 23:58:31 +0000 (00:58 +0100)]
Improve regex stringification code
Message-ID: <9b18b3110701301458k2f6a8254hea6c6db28489c38b@mail.gmail.com>

p4raw-id: //depot/perl@30084

14 years agoregcomp.c: remove some gotos that cause compiler consternation.
Yves Orton [Wed, 31 Jan 2007 10:28:34 +0000 (11:28 +0100)]
regcomp.c: remove some gotos that cause compiler consternation.
Date: Wed, 31 Jan 2007 10:28:34 +0100

p4raw-id: //depot/perl@30083

14 years agoImprove regex stringification code
Yves Orton [Tue, 30 Jan 2007 23:58:31 +0000 (00:58 +0100)]
Improve regex stringification code
Message-ID: <9b18b3110701301458k2f6a8254hea6c6db28489c38b@mail.gmail.com>

p4raw-id: //depot/perl@30082

14 years ago$1 in nested regex EVAL doesnt work correctly.
Yves Orton [Tue, 30 Jan 2007 23:51:27 +0000 (00:51 +0100)]
$1 in nested regex EVAL doesnt work correctly.
Message-ID: <9b18b3110701301451l1443a186p39df7a6e8b65ea3c@mail.gmail.com>

p4raw-id: //depot/perl@30081

14 years agoRefactor the code used to check/execute BEGIN/UNITCHECK/CHECK/INIT/END
Nicholas Clark [Tue, 30 Jan 2007 23:53:56 +0000 (23:53 +0000)]
Refactor the code used to check/execute BEGIN/UNITCHECK/CHECK/INIT/END
duplicated in newATTRSUB and newXS into a new static function
process_special_blocks()

p4raw-id: //depot/perl@30080

14 years agoone more iteration on PerlIO_teardown prototype
Jarkko Hietaniemi [Tue, 30 Jan 2007 04:20:21 +0000 (06:20 +0200)]
one more iteration on PerlIO_teardown prototype
Message-Id: <20070130022021.6051443A67@anubis.hut.fi>

p4raw-id: //depot/perl@30079

14 years agoRe: run/cloexec.t is failing
Marcus Holland-Moritz [Sat, 13 Jan 2007 18:44:53 +0000 (19:44 +0100)]
Re: run/cloexec.t is failing
Message-ID: <20070113184453.7cd54bcf@r2d2>

p4raw-id: //depot/perl@30078

14 years agoAlso check BEGIN/UNITCHECK/CHECK/INIT/END for require.
Nicholas Clark [Mon, 29 Jan 2007 23:36:02 +0000 (23:36 +0000)]
Also check BEGIN/UNITCHECK/CHECK/INIT/END for require.

p4raw-id: //depot/perl@30076

14 years agoUNITCHECK for XS code. Turned out to be harder that expected.
Nicholas Clark [Mon, 29 Jan 2007 22:40:01 +0000 (22:40 +0000)]
UNITCHECK for XS code. Turned out to be harder that expected.
We need to get the XS BOOT section to run any UNITCHECK blocks for us.

p4raw-id: //depot/perl@30072

14 years agoBEGIN blocks in XS should work. (Given that CHECK, INIT and END all do)
Nicholas Clark [Mon, 29 Jan 2007 20:05:52 +0000 (20:05 +0000)]
BEGIN blocks in XS should work. (Given that CHECK, INIT and END all do)

p4raw-id: //depot/perl@30067

14 years agoAdd av_create_and_push() and av_create_and_unshift_one() to refactor
Nicholas Clark [Mon, 29 Jan 2007 18:28:16 +0000 (18:28 +0000)]
Add av_create_and_push() and av_create_and_unshift_one() to refactor
out two repeated idioms.

p4raw-id: //depot/perl@30064

14 years agoAvoid test failure with for a -Dusesitecustomize perl.
Gisle Aas [Mon, 29 Jan 2007 16:54:38 +0000 (16:54 +0000)]
Avoid test failure with for a -Dusesitecustomize perl.

p4raw-id: //depot/perl@30059

14 years agoConvert ext/B/t/debug.t to Test::More. (Diagnostics are good, m'kay)
Nicholas Clark [Sun, 28 Jan 2007 22:30:18 +0000 (22:30 +0000)]
Convert ext/B/t/debug.t to Test::More. (Diagnostics are good, m'kay)

p4raw-id: //depot/perl@30052

14 years agog++ wants cast
Jarkko Hietaniemi [Sun, 28 Jan 2007 17:04:44 +0000 (19:04 +0200)]
g++ wants cast
Message-Id: <20070128150444.AC62043A57@anubis.hut.fi>

p4raw-id: //depot/perl@30050

14 years agoAs we're not using UVf in the core, don't even define in when PERL_CORE
Nicholas Clark [Sat, 27 Jan 2007 22:49:10 +0000 (22:49 +0000)]
As we're not using UVf in the core, don't even define in when PERL_CORE
is true.

p4raw-id: //depot/perl@30044

14 years agoChange 30034 wasn't enough to silence the warnings - also need to
Nicholas Clark [Sat, 27 Jan 2007 22:48:39 +0000 (22:48 +0000)]
Change 30034 wasn't enough to silence the warnings - also need to
pass a never-NULL parameter to newPADOP from newGVOP

p4raw-id: //depot/perl@30043

14 years ago[perl@30030] blead on OpenVMS doesn't build
Abe Timmerman [Sat, 27 Jan 2007 17:26:47 +0000 (18:26 +0100)]
[perl@30030] blead on OpenVMS doesn't build
Message-Id: <200701271726.48347.abe@ztreet.demon.nl>

Disable DECterm support by default, and when we enable it,
make sure the image we need is installed, not merely present.

p4raw-id: //depot/perl@30041

14 years agoFor FindBin to work as advertised on VMS, $FindBin::Bin
Craig A. Berry [Sat, 27 Jan 2007 17:45:27 +0000 (17:45 +0000)]
For FindBin to work as advertised on VMS, $FindBin::Bin
must be in unix syntax.

p4raw-id: //depot/perl@30037

14 years agoFor VMS, a belated entry into the $^O jungle that is File::Find::_find_dir.
Craig A. Berry [Sat, 27 Jan 2007 17:19:12 +0000 (17:19 +0000)]
For VMS, a belated entry into the $^O jungle that is File::Find::_find_dir.

p4raw-id: //depot/perl@30035

14 years agonewPADOP()'s sv parameter is never NULL, so mark it as so.
Nicholas Clark [Sat, 27 Jan 2007 17:03:59 +0000 (17:03 +0000)]
newPADOP()'s sv parameter is never NULL, so mark it as so.
(Well, in theory it could be NULL if someone is creating ops during
symbol table destruction, but snowballs in hell, etc.
This is usually the point where Jarkko observes that the aliens are
looking for a free slot in their diaries...)

p4raw-id: //depot/perl@30034

14 years agonewPADOP is only used under ithreads, so don't waste space by compiling
Nicholas Clark [Sat, 27 Jan 2007 15:36:49 +0000 (15:36 +0000)]
newPADOP is only used under ithreads, so don't waste space by compiling
it for non-threaded builds.

p4raw-id: //depot/perl@30032

14 years agoOne last gv_fetchpv() that should be GV_ADD rather than TRUE.
Nicholas Clark [Sat, 27 Jan 2007 14:03:01 +0000 (14:03 +0000)]
One last gv_fetchpv() that should be GV_ADD rather than TRUE.

p4raw-id: //depot/perl@30030

14 years agoUsing gv_stashsv() and sv_setsv() in Perl_package reduces source and
Nicholas Clark [Sat, 27 Jan 2007 12:55:31 +0000 (12:55 +0000)]
Using gv_stashsv() and sv_setsv() in Perl_package reduces source and
object code size.

p4raw-id: //depot/perl@30028