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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoChange Tels' contact address
Rafael Garcia-Suarez [Sat, 27 Jan 2007 09:42:32 +0000 (09:42 +0000)]
Change Tels' contact address

p4raw-id: //depot/perl@30025

17 years agoA test to exercise the smallbuf overflow code in S_incline, and a
Nicholas Clark [Sat, 27 Jan 2007 00:45:30 +0000 (00:45 +0000)]
A test to exercise the smallbuf overflow code in S_incline, and a
refactoring of that code to use only one 128 char array, not two.

p4raw-id: //depot/perl@30024

17 years agocflags.SH was broken: it was compiling a C file for testing available
Rafael Garcia-Suarez [Fri, 26 Jan 2007 18:28:42 +0000 (18:28 +0000)]
cflags.SH was broken: it was compiling a C file for testing available
command-line options, but this C file was including perl.h, which in
turn includes config.h, which might not be present at that time. So
force the generation of config.h.

p4raw-id: //depot/perl@30019

17 years agoSilence a few pedantic warnings
Rafael Garcia-Suarez [Fri, 26 Jan 2007 16:41:52 +0000 (16:41 +0000)]
Silence a few pedantic warnings

p4raw-id: //depot/perl@30017

17 years agoIf we have specified -Dgccansipedantic on the Configure command-line,
Rafael Garcia-Suarez [Fri, 26 Jan 2007 16:39:40 +0000 (16:39 +0000)]
If we have specified -Dgccansipedantic on the Configure command-line,
assume we really want it

p4raw-id: //depot/perl@30016

17 years agoStop S_incline needing to temporarily write a '\0' into its passed-in
Nicholas Clark [Fri, 26 Jan 2007 16:16:29 +0000 (16:16 +0000)]
Stop S_incline needing to temporarily write a '\0' into its passed-in
buffer. (Requires adding gv_fetchfile_flags(), savesharedpvn() and
CopFILE_setn() to provide pointer/length versions of APIs)

p4raw-id: //depot/perl@30015

17 years agoFix ext/POSIX/t/sysconf.t failures on Cygwin.
Steve Peters [Fri, 26 Jan 2007 16:12:58 +0000 (16:12 +0000)]
Fix ext/POSIX/t/sysconf.t failures on Cygwin.

p4raw-id: //depot/perl@30014

17 years agoRe: [perl #32135] File::Copy module
Adriano Ferreira [Fri, 26 Jan 2007 12:56:18 +0000 (10:56 -0200)]
Re: [perl #32135] File::Copy module
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Message-ID: <73ddeb6c0701260656i1c35b207r1f9624edd3503fa6@mail.gmail.com>

p4raw-id: //depot/perl@30013

17 years agoAdd Archive::Extract 0.16 to the core
Jos I. Boumans [Fri, 26 Jan 2007 15:02:36 +0000 (16:02 +0100)]
Add Archive::Extract 0.16 to the core
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <21170.80.127.35.68.1169820156.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@30012

17 years agoSmall bugfixes to uupacktool.pl
Jos I. Boumans [Fri, 26 Jan 2007 14:50:29 +0000 (15:50 +0100)]
Small bugfixes to uupacktool.pl
From: "Jos Boumans" <kane@dwim.org>
Message-ID: <16773.80.127.35.68.1169819429.squirrel@webmail.xs4all.nl>

p4raw-id: //depot/perl@30010

17 years agostill some Symbian/S90 tweaks
Jarkko Hietaniemi [Fri, 26 Jan 2007 15:40:58 +0000 (17:40 +0200)]
still some Symbian/S90 tweaks
Message-Id: <20070126134058.83B0643A57@anubis.hut.fi>

p4raw-id: //depot/perl@30009

17 years agoUpgrade to File::Fetch 0.10, by Jos Boumans
Rafael Garcia-Suarez [Fri, 26 Jan 2007 13:56:29 +0000 (13:56 +0000)]
Upgrade to File::Fetch 0.10, by Jos Boumans

p4raw-id: //depot/perl@30008

17 years agoLet File::Path report the extended system error message
Rafael Garcia-Suarez [Fri, 26 Jan 2007 11:21:17 +0000 (11:21 +0000)]
Let File::Path report the extended system error message
when available (Ilya Zakharevich)

p4raw-id: //depot/perl@30002

17 years agoAs we're not passing over (or copying in) a NUL, don't need that extra
Nicholas Clark [Fri, 26 Jan 2007 11:18:02 +0000 (11:18 +0000)]
As we're not passing over (or copying in) a NUL, don't need that extra
byte for it, so correct the < to <= so that we use the smallbuf
whenever possible.

p4raw-id: //depot/perl@30000

17 years agoMention //w in perltodo.
Rafael Garcia-Suarez [Fri, 26 Jan 2007 10:55:50 +0000 (10:55 +0000)]
Mention //w in perltodo.

p4raw-id: //depot/perl@29998

17 years agoUpgrade to Time::Local 1.17
Rafael Garcia-Suarez [Fri, 26 Jan 2007 09:17:56 +0000 (09:17 +0000)]
Upgrade to Time::Local 1.17

p4raw-id: //depot/perl@29994

17 years agoutf8.pm doc patch
Audrey Tang [Fri, 26 Jan 2007 05:38:39 +0000 (13:38 +0800)]
utf8.pm doc patch
Message-Id: <5BDAD0DE-3434-4A29-82C6-35AE3EFD27CC@audreyt.org>

p4raw-id: //depot/perl@29992

17 years agoSome variables are used only with DEBUGGING
Rafael Garcia-Suarez [Fri, 26 Jan 2007 09:01:01 +0000 (09:01 +0000)]
Some variables are used only with DEBUGGING

p4raw-id: //depot/perl@29991

17 years agofurther Symbian/S90 fixes from alexander smishlajev
Jarkko Hietaniemi [Fri, 26 Jan 2007 05:51:50 +0000 (07:51 +0200)]
further Symbian/S90 fixes from alexander smishlajev
Message-Id: <20070126035150.41A4143A67@anubis.hut.fi>

p4raw-id: //depot/perl@29990

17 years agoUpgrade to Module::Load::Conditional 0.16, by Jos Boumans
Rafael Garcia-Suarez [Fri, 26 Jan 2007 08:27:23 +0000 (08:27 +0000)]
Upgrade to Module::Load::Conditional 0.16, by Jos Boumans

p4raw-id: //depot/perl@29989

17 years agoConvert the last remaining 256 byte "small"bufs to 128 bytes.
Nicholas Clark [Thu, 25 Jan 2007 23:18:25 +0000 (23:18 +0000)]
Convert the last remaining 256 byte "small"bufs to 128 bytes.
(The actual size doesn't matter, as the buffers are only there to
save a malloc() for the common, short, case. Coverage reports suggest
that we aren't actually testing the long case. Yet - will fix this)

p4raw-id: //depot/perl@29987

17 years agoNeither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
Nicholas Clark [Thu, 25 Jan 2007 22:39:08 +0000 (22:39 +0000)]
Neither gv_fetchpvn_flags() nor hv_fetch() need a NUL terminated
string, so don't bother allocating buffer space or adding a NUL.

p4raw-id: //depot/perl@29983

17 years agoIntegrate:
Andy Lester [Thu, 11 May 2006 22:41:01 +0000 (17:41 -0500)]
Integrate:
[ 28144]
In Perl_Gv_AMupdate(), there's no need to call sv_unmagic() if we know
the magic isn't there.

[ 28145]
Simplify the non-printable name error reporting code in Perl_allocmy().

[ 28176]
Subject: [PATCH] Speed up utf8.c a bit
Date: Thu, 11 May 2006 22:41:01 -0500
Message-ID: <20060512034101.GA10709@petdance.com>

[ 28178]
The upgrade/croak order in Perl_sv_utf8_encode() seemed utterly
backwards. It now checks for readonly *first*.

[ 28179]
Subject: [PATCH] Proper use of static funcs in toke.c and pp_sys.c
From: andy@petdance.com (Andy Lester)
Date: Tue, 9 May 2006 12:27:30 -0500
Message-ID: <20060509172730.GA5272@petdance.com>

[ 28180]
Subject: [PATCH]  upgrade bytes_to_uni
From: andy@petdance.com (Andy Lester)
Date: Fri, 12 May 2006 00:21:23 -0500
Message-ID: <20060512052123.GA21648@petdance.com>

[ 28194]
Subject: [PATCH] S_reguni should return its length
From: andy@petdance.com (Andy Lester)
Date: Sun, 14 May 2006 09:46:32 -0500
Message-ID: <20060514144632.GA20935@petdance.com>

ooops, and also something in blead that wasn't meant to sneak in:
Change PERL_WARNHOOK_FATAL to &PL_sv_placeholder, rather than some
evil cast relative to NULL.
p4raw-link: @28194 on //depot/perl: 71207a3462fa4c2b33c5608a4362ac40e975ecdb
p4raw-link: @28180 on //depot/perl: 64844641e1be28fdf8b7bba9436537339624f40b
p4raw-link: @28179 on //depot/perl: 931e0695c454f4c18f68d30775151862650cc4d8
p4raw-link: @28178 on //depot/perl: a5f5288a1ce96404c41043e92557b8c1a5ad9e30
p4raw-link: @28176 on //depot/perl: 3ebfea2846d81f58e86dfcb7f9e09300e5dfcd17
p4raw-link: @28145 on //depot/perl: d1544d85966c2f41014a6f408fd81b36501caa7c
p4raw-link: @28144 on //depot/perl: 14899595d82ccba509ac7743655764129ed32177

p4raw-id: //depot/perl@29980