This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
18 years agoMake MAD at least compile and link once more. Although it's now failing
Nicholas Clark [Wed, 8 Mar 2006 23:33:05 +0000 (23:33 +0000)]
Make MAD at least compile and link once more. Although it's now failing
6 regression tests.

p4raw-id: //depot/perl@27429

18 years agoFurther MAD changes.
Nicholas Clark [Wed, 8 Mar 2006 22:36:30 +0000 (22:36 +0000)]
Further MAD changes.

p4raw-id: //depot/perl@27428

18 years agoOops. Didn't mean to commit 27426 to maint first. Integrate it:
Nicholas Clark [Wed, 8 Mar 2006 21:53:06 +0000 (21:53 +0000)]
Oops. Didn't mean to commit 27426 to maint first. Integrate it:
Avoid writing over the input string in the case 'F' in moreswitches.

p4raw-id: //depot/perl@27427
p4raw-integrated: from //depot/maint-5.8/perl@27425 'merge in' perl.c
(@27318..)

18 years agoThe last MAD change to op.c changes the pad offsets of the test that
Nicholas Clark [Wed, 8 Mar 2006 21:18:58 +0000 (21:18 +0000)]
The last MAD change to op.c changes the pad offsets of the test that
ext/B/t/f_map.t is using.

p4raw-id: //depot/perl@27425

18 years agoAlmost all the MAD changes for op.c
Nicholas Clark [Wed, 8 Mar 2006 20:34:16 +0000 (20:34 +0000)]
Almost all the MAD changes for op.c

p4raw-id: //depot/perl@27424

18 years agoChange from Larry in the MAD code which seems to be unrelated to MAD.
Nicholas Clark [Wed, 8 Mar 2006 18:17:09 +0000 (18:17 +0000)]
Change from Larry in the MAD code which seems to be unrelated to MAD.

p4raw-id: //depot/perl@27423

18 years agoMAD changes to dump.c
Nicholas Clark [Wed, 8 Mar 2006 16:29:26 +0000 (16:29 +0000)]
MAD changes to dump.c

p4raw-id: //depot/perl@27422

18 years agoGet rid of unnecessary "rmdir /s" calls in Win32 makefiles
Steve Hay [Wed, 8 Mar 2006 16:25:23 +0000 (16:25 +0000)]
Get rid of unnecessary "rmdir /s" calls in Win32 makefiles

They only existed for the benefit of old shells that didn't
understand "rmdir /s /q", but since change #27195 effectively
drops support for old shells that don't understand "xcopy /y"
it seems unnecessary now.

Windows NT4, 2000, XP and onwards all support "rmdir /s /q", so
it's probably only the Windows 9x shells that lose out.
p4raw-link: @27195 on //depot/perl: b6ed73147a6df30ce6f460cb8d6857100c9a83be

p4raw-id: //depot/perl@27421

18 years agoSort the ext/ and lib/ tests when running under t/harness
Steve Hay [Wed, 8 Mar 2006 15:20:28 +0000 (15:20 +0000)]
Sort the ext/ and lib/ tests when running under t/harness

Unless they are sorted then they are run in the same order in which
they are listed in MANIFEST, which is not always ideal. In particular,
the ext/Compress/IO/Zlib/t/*.t tests are not run in the correct order,
which causes some files to be left behind afterwards.

ExtUtils::Command::MM::test_harness() sorts test files, so it seems
sensible for t/harness to do likewise, rather than relying on the
ordering in MANIFEST.

p4raw-id: //depot/perl@27420

18 years agoAdd MAD changes to pad code (new function Perl_pad_peg)
Nicholas Clark [Wed, 8 Mar 2006 13:40:48 +0000 (13:40 +0000)]
Add MAD changes to pad code (new function Perl_pad_peg)

p4raw-id: //depot/perl@27419

18 years agoAdjust Win32 distclean as per changes #27411 and #27417
Steve Hay [Wed, 8 Mar 2006 13:37:28 +0000 (13:37 +0000)]
Adjust Win32 distclean as per changes #27411 and #27417
p4raw-link: @27411 on //depot/perl: af39be2fd6c4d2b16b9660b0f3beb455fa5cf866

p4raw-id: //depot/perl@27418

18 years ago"make distclean" fix noticed by Steve Hay
Rafael Garcia-Suarez [Wed, 8 Mar 2006 13:29:26 +0000 (13:29 +0000)]
"make distclean" fix noticed by Steve Hay

p4raw-id: //depot/perl@27417

18 years agoCleanup Archive-Tar temporary test files
Steve Hay [Wed, 8 Mar 2006 12:15:04 +0000 (12:15 +0000)]
Cleanup Archive-Tar temporary test files

I've done this twice before already (changes #25043 and #26785),
but it keeps getting accidentally removed. Third time lucky?
p4raw-link: @25043 on //depot/perl: d2f9954da5cf024584e2642e8a40c50dd202ef16

p4raw-id: //depot/perl@27416

18 years agoRe: [perl #38684] O::Deparse not working as expected
Stephen McCamant [Tue, 7 Mar 2006 20:00:30 +0000 (12:00 -0800)]
Re: [perl #38684] O::Deparse not working as expected
Message-ID: <17422.22238.570532.2771@apocalypse.OCF.Berkeley.EDU>

p4raw-id: //depot/perl@27415

18 years agoRemoved unused check and assignment in pp_hot.c
Andy Lester [Wed, 8 Mar 2006 00:45:29 +0000 (18:45 -0600)]
Removed unused check and assignment in pp_hot.c
Message-ID: <20060308064529.GA16499@petdance.com>

p4raw-id: //depot/perl@27414

18 years agoDon't try to export PL_madskills/PL_xmlfp when they're not defined
Steve Hay [Wed, 8 Mar 2006 09:36:50 +0000 (09:36 +0000)]
Don't try to export PL_madskills/PL_xmlfp when they're not defined
(Fixes Win32 linker error introduced by change #27408)
p4raw-link: @27408 on //depot/perl: 598921a7d8d43baa942b750d26a55dadca2c13d5

p4raw-id: //depot/perl@27413

18 years agoComplete change #27407/27410 on Win32 and tidy up change #27372
Steve Hay [Wed, 8 Mar 2006 08:42:44 +0000 (08:42 +0000)]
Complete change #27407/27410 on Win32 and tidy up change #27372
p4raw-link: @27407 on //depot/perl: a724edfe531a4a4cce2d4bbb94e1f583d86bc9a3
p4raw-link: @27372 on //depot/perl: df012815e587b94cd356692431756ba265085fbf

p4raw-id: //depot/perl@27412

18 years ago"make distclean" adjustments for the new Compress modules
Rafael Garcia-Suarez [Wed, 8 Mar 2006 08:23:54 +0000 (08:23 +0000)]
"make distclean" adjustments for the new Compress modules

p4raw-id: //depot/perl@27411

18 years agoBackport #27407
H.Merijn Brand [Wed, 8 Mar 2006 08:10:25 +0000 (08:10 +0000)]
Backport #27407
Add a Configure question for mad (Misc Attribute Decoration - Larry's
perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h

p4raw-id: //depot/perl@27410

18 years agoSome of the MAD structures in headers, plus PL_madskills and PL_xmlfp,
Nicholas Clark [Tue, 7 Mar 2006 23:24:55 +0000 (23:24 +0000)]
Some of the MAD structures in headers, plus PL_madskills and PL_xmlfp,
and default definitions for the 2 variables. (Which will save a lot of
conditional complilation, by instead letting the C compiler optimiser
remove dead code.)

p4raw-id: //depot/perl@27408

18 years agoAdd a Configure question for mad (Misc Attribute Decoration - Larry's
Nicholas Clark [Tue, 7 Mar 2006 22:16:55 +0000 (22:16 +0000)]
Add a Configure question for mad (Misc Attribute Decoration - Larry's
perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h

p4raw-id: //depot/perl@27407

18 years agoTwo more TODOs for those with C knowledge.
Nicholas Clark [Tue, 7 Mar 2006 19:31:49 +0000 (19:31 +0000)]
Two more TODOs for those with C knowledge.

p4raw-id: //depot/perl@27406

18 years agoRemove the #define - ARENASETS are always on now.
Nicholas Clark [Tue, 7 Mar 2006 19:27:28 +0000 (19:27 +0000)]
Remove the #define - ARENASETS are always on now.

p4raw-id: //depot/perl@27405

18 years agoTPF++ # http://www.perlfoundation.org/gc/grants/2006-perl5-improve.html
Nicholas Clark [Tue, 7 Mar 2006 19:23:14 +0000 (19:23 +0000)]
TPF++ # perlfoundation.org/gc/grants/2006-perl5-improve.html
Shrinking PVGVs, PVLVs, PVCVs and PVFMs is TODOne.

p4raw-id: //depot/perl@27404

18 years agoThis looks like a memory leak.
Rafael Garcia-Suarez [Tue, 7 Mar 2006 17:09:54 +0000 (17:09 +0000)]
This looks like a memory leak.

p4raw-id: //depot/perl@27403

18 years ago$[ = 2 should not warn.
Rafael Garcia-Suarez [Tue, 7 Mar 2006 16:49:58 +0000 (16:49 +0000)]
$[ = 2 should not warn.

p4raw-id: //depot/perl@27402

18 years agoFix lib/Module/Build/t/compat.t
Steve Hay [Tue, 7 Mar 2006 14:58:20 +0000 (14:58 +0000)]
Fix lib/Module/Build/t/compat.t
(e.g. see http://www.nntp.perl.org/group/perl.daily-build.reports/36431)

p4raw-id: //depot/perl@27401

18 years agoMake report on bad filenames easier to read
Rafael Garcia-Suarez [Tue, 7 Mar 2006 14:36:00 +0000 (14:36 +0000)]
Make report on bad filenames easier to read

p4raw-id: //depot/perl@27400

18 years agoFAQ sync. (FAQ now moved to svn)
Rafael Garcia-Suarez [Tue, 7 Mar 2006 14:15:46 +0000 (14:15 +0000)]
FAQ sync. (FAQ now moved to svn)

p4raw-id: //depot/perl@27399

18 years agoUpgrade to PathTools-3.17
Steve Peters [Tue, 7 Mar 2006 04:48:29 +0000 (04:48 +0000)]
Upgrade to PathTools-3.17

p4raw-id: //depot/perl@27398

18 years agoRe: [PATCH] Removed a redundant o->op_type
Paul Johnson [Tue, 28 Feb 2006 20:17:31 +0000 (21:17 +0100)]
Re: [PATCH] Removed a redundant o->op_type
Message-ID: <20060228191731.GD20933@pjcj.net>

p4raw-id: //depot/perl@27397

18 years agoDon't free thread memory if PERL_DESTRUCT_LEVEL is set to a non-zero
Marcus Holland-Moritz [Mon, 6 Mar 2006 22:18:52 +0000 (22:18 +0000)]
Don't free thread memory if PERL_DESTRUCT_LEVEL is set to a non-zero
value as we're probably hunting memory leaks then

p4raw-id: //depot/perl@27396

18 years agoUpdate David Dyck's e-mail address.
Nicholas Clark [Mon, 6 Mar 2006 20:44:02 +0000 (20:44 +0000)]
Update David Dyck's e-mail address.

p4raw-id: //depot/perl@27393

18 years agoAdd all new utilities in the perlutil man page.
Rafael Garcia-Suarez [Mon, 6 Mar 2006 17:26:43 +0000 (17:26 +0000)]
Add all new utilities in the perlutil man page.
Includes lots of work by Zsban Ambrus.

p4raw-id: //depot/perl@27390

18 years agoadd Module::Build 0.27_08
Yitzchak Scott-Thoennes [Sun, 5 Mar 2006 12:08:30 +0000 (04:08 -0800)]
add Module::Build 0.27_08
Message-ID: <20060305200830.GA2660@efn.org>

p4raw-id: //depot/perl@27389

18 years agoUpgrade to Archive::Tar 1.29
Rafael Garcia-Suarez [Mon, 6 Mar 2006 14:52:48 +0000 (14:52 +0000)]
Upgrade to Archive::Tar 1.29

p4raw-id: //depot/perl@27388

18 years agoAdd and remove files forgotten in change #27384
Rafael Garcia-Suarez [Mon, 6 Mar 2006 10:06:53 +0000 (10:06 +0000)]
Add and remove files forgotten in change #27384
p4raw-link: @27384 on //depot/perl: 25f0751fb55a0f87a7e18ae8960f9acf2407ae32

p4raw-id: //depot/perl@27387

18 years agoPATCH: 2 vms specific build files in perl @ 27383
Peter Prymmer [Sun, 5 Mar 2006 20:30:09 +0000 (15:30 -0500)]
PATCH: 2 vms specific build files in perl @ 27383
Message-id: <OFF0B19477.39D9ABEB-ON85257129.00070590-85257129.000840D3@factset.com>

p4raw-id: //depot/perl@27386

18 years agoRe: threads and VMS
John E. Malmberg [Sun, 5 Mar 2006 00:32:27 +0000 (19:32 -0500)]
Re: threads and VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <440A77EB.2030205@qsl.net>

p4raw-id: //depot/perl@27385

18 years agoCompress::Zlib
Paul Marquess [Fri, 3 Mar 2006 10:25:48 +0000 (10:25 +0000)]
Compress::Zlib
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <007101c63eac$d919c6c0$4c05140a@myopwv.com>

p4raw-id: //depot/perl@27384

18 years agoChange 27380 (HEK into the IV union failed to convert the code in the
Nicholas Clark [Sun, 5 Mar 2006 21:21:10 +0000 (21:21 +0000)]
Change 27380 (HEK into the IV union failed to convert the code in the
non-gcc-debugging ifdef. Whoops. Very lax of me)

p4raw-id: //depot/perl@27383

18 years agoPerl_gv_name_set should not leak the old HEK. Allow the flag GV_ADD
Nicholas Clark [Sun, 5 Mar 2006 19:07:12 +0000 (19:07 +0000)]
Perl_gv_name_set should not leak the old HEK. Allow the flag GV_ADD
to simplify GV initialisation.

p4raw-id: //depot/perl@27382

18 years agoChange hv_name_set to take U32 length and flags parameters.
Nicholas Clark [Sun, 5 Mar 2006 18:40:59 +0000 (18:40 +0000)]
Change hv_name_set to take U32 length and flags parameters.

p4raw-id: //depot/perl@27381

18 years agoMove the GvNAME HEK into the IV union - every GV is now 1 pointer
Nicholas Clark [Sun, 5 Mar 2006 18:13:42 +0000 (18:13 +0000)]
Move the GvNAME HEK into the IV union - every GV is now 1 pointer
smaller.

p4raw-id: //depot/perl@27380

18 years agoUse a HEK to store the GV's name, rather than a malloc()ed string.
Nicholas Clark [Sun, 5 Mar 2006 17:47:23 +0000 (17:47 +0000)]
Use a HEK to store the GV's name, rather than a malloc()ed string.
Saves 1 word in each GV (no more strlen), and will also save the memory
used by the string itself, as the HEK will exist already due to the
key used by the symbol table for this GV.

p4raw-id: //depot/perl@27379

18 years agoOnly #define PERL_DONT_CREATE_GVSV if it wasn't already defined.
Nicholas Clark [Sun, 5 Mar 2006 12:12:56 +0000 (12:12 +0000)]
Only #define PERL_DONT_CREATE_GVSV if it wasn't already defined.

p4raw-id: //depot/perl@27378

18 years agoProvide Perl_gv_name_set to replace LVALUE use of GvNAME and GvNAMESET.
Nicholas Clark [Sun, 5 Mar 2006 11:53:55 +0000 (11:53 +0000)]
Provide Perl_gv_name_set to replace LVALUE use of GvNAME and GvNAMESET.

p4raw-id: //depot/perl@27377

18 years agoRe: threads and VMS
John E. Malmberg [Sat, 4 Mar 2006 18:29:22 +0000 (13:29 -0500)]
Re: threads and VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <440A22D2.30009@qsl.net>

p4raw-id: //depot/perl@27376

18 years agopatch@27373 VMS build fix + more long pathname stuff
John E. Malmberg [Sat, 4 Mar 2006 00:36:03 +0000 (19:36 -0500)]
patch@27373 VMS build fix + more long pathname stuff
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <44092743.4030607@qsl.net>

p4raw-id: //depot/perl@27375

18 years agoRe: [PATCH] include configure.com in Porting/checkcfgvar.pl
Abe Timmerman [Fri, 3 Mar 2006 22:56:47 +0000 (23:56 +0100)]
Re: [PATCH] include configure.com in Porting/checkcfgvar.pl
Message-Id: <200603032256.47170.abe@ztreet.demon.nl>

p4raw-id: //depot/perl@27374

18 years agoAdd d_builtin_choose_expr and d_builtin_expect to configure.com as
Steve Peters [Fri, 3 Mar 2006 18:40:22 +0000 (18:40 +0000)]
Add d_builtin_choose_expr and d_builtin_expect to configure.com as
'undef'.

p4raw-id: //depot/perl@27373

18 years agoMake Win32 configuration changes for HAS_BUILTIN_CHOOSE_EXPR and
Steve Peters [Fri, 3 Mar 2006 18:34:18 +0000 (18:34 +0000)]
Make Win32 configuration changes for HAS_BUILTIN_CHOOSE_EXPR and
HAS_BUILTIN_EXPECT.

p4raw-id: //depot/perl@27372

18 years agoinclude configure.com in Porting/checkcfgvar.pl
Abe Timmerman [Fri, 3 Mar 2006 18:43:24 +0000 (19:43 +0100)]
include configure.com in Porting/checkcfgvar.pl
Message-Id: <200603031843.24250.abe@ztreet.demon.nl>

p4raw-id: //depot/perl@27371

18 years agoSupport for __builtin_expect and __builtin_choose_expr
Andy Lester [Wed, 28 Dec 2005 15:34:08 +0000 (09:34 -0600)]
Support for __builtin_expect and __builtin_choose_expr
Message-ID: <20051228213408.GB26033@petdance.com>

p4raw-id: //depot/perl@27370

18 years agoRe: [perl #38657] -d:Foo=bar broke in 5.8.8
Jarkko Hietaniemi [Thu, 2 Mar 2006 20:21:26 +0000 (22:21 +0200)]
Re: [perl #38657] -d:Foo=bar broke in 5.8.8
Message-ID: <440737A6.4060606@gmail.com>

p4raw-id: //depot/perl@27368

18 years ago#27363 broke HP-UX (and others). if [[ ... ]] syntax not supported
H.Merijn Brand [Fri, 3 Mar 2006 07:35:51 +0000 (07:35 +0000)]
#27363 broke HP-UX (and others). if [[ ... ]] syntax not supported

p4raw-id: //depot/perl@27367

18 years agoRe: [PATCH] Re: [perl #38612] Data::Dumper core dump in 5.8.6, fixed by 5.8.7
Jarkko Hietaniemi [Thu, 2 Mar 2006 22:46:14 +0000 (00:46 +0200)]
Re: [PATCH] Re: [perl #38612] Data::Dumper core dump in 5.8.6, fixed by 5.8.7
Message-ID: <44075996.1000002@gmail.com>

p4raw-id: //depot/perl@27365

18 years agoTaint handling for runperl:
H.Merijn Brand [Thu, 2 Mar 2006 20:14:50 +0000 (20:14 +0000)]
Taint handling for runperl:
- better taint detection (switch -T in command)
- $ENV{PATH} stripping of writeable directories on unix/linux

p4raw-id: //depot/perl@27364

18 years ago[perl #38385] _h2ph_pre.ph / $Config{cppsymbols} omits gcc-3.4+ cpp "predefined macros"
Jason Vas Dias [Tue, 31 Jan 2006 09:50:32 +0000 (01:50 -0800)]
[perl #38385] _h2ph_pre.ph / $Config{cppsymbols} omits gcc-3.4+ cpp "predefined macros"
From: Jason Vas Dias (via RT) <perlbug-followup@perl.org>

p4raw-id: //depot/perl@27363

18 years agomgvtbl initialization
Andy Lester [Wed, 1 Mar 2006 22:52:20 +0000 (16:52 -0600)]
mgvtbl initialization
Message-ID: <20060302045220.GA15985@petdance.com>

p4raw-id: //depot/perl@27361

18 years agoNon-null optimizations
Andy Lester [Wed, 1 Mar 2006 22:13:45 +0000 (16:13 -0600)]
Non-null optimizations
Message-ID: <20060302041345.GA13731@petdance.com>

p4raw-id: //depot/perl@27360

18 years agoDon't put strings with embedded NULs in the environment.
Rafael Garcia-Suarez [Wed, 1 Mar 2006 22:39:24 +0000 (22:39 +0000)]
Don't put strings with embedded NULs in the environment.
This makes things like -d:Foo=bar work again.

p4raw-id: //depot/perl@27359

18 years agoGrammar nit in Locale::Maketext::TPJ13.pod, found by Justin Pryzby.
Steve Peters [Wed, 1 Mar 2006 20:15:27 +0000 (20:15 +0000)]
Grammar nit in Locale::Maketext::TPJ13.pod, found by Justin Pryzby.

p4raw-id: //depot/perl@27358

18 years agoUpgrade to podlators-2.04
Steve Peters [Wed, 1 Mar 2006 16:53:49 +0000 (16:53 +0000)]
Upgrade to podlators-2.04

p4raw-id: //depot/perl@27357

18 years agoUpgrade to assertions-0.03
Steve Peters [Wed, 1 Mar 2006 16:29:37 +0000 (16:29 +0000)]
Upgrade to assertions-0.03

p4raw-id: //depot/perl@27356

18 years agoa buglet in fakesdio.h
Anton Berezin [Wed, 1 Mar 2006 16:56:13 +0000 (17:56 +0100)]
a buglet in fakesdio.h
Message-ID: <20060301155613.GA30368@heechee.tobez.org>

p4raw-id: //depot/perl@27355

18 years agoUpgrade to CGI.pm-3.17, but continuing the version bump for
Steve Peters [Wed, 1 Mar 2006 16:08:17 +0000 (16:08 +0000)]
Upgrade to CGI.pm-3.17, but continuing the version bump for
unintegrated changes.

p4raw-id: //depot/perl@27354

18 years agoRe: Patch lint for grep { /.../ } and grep /.../,
Joshua ben Jore [Wed, 1 Mar 2006 01:14:14 +0000 (19:14 -0600)]
Re: Patch lint for grep { /.../ } and grep /.../,
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0602282314o19c54a3av92d1a3addbc895fb@mail.gmail.com>

p4raw-id: //depot/perl@27353

18 years agoSilence another VC++ warning
Steve Hay [Tue, 28 Feb 2006 12:51:55 +0000 (12:51 +0000)]
Silence another VC++ warning
(signed/unsigned mismatch)

p4raw-id: //depot/perl@27352

18 years agoSilence a VC++ warning with DEBUGGING builds
Steve Hay [Tue, 28 Feb 2006 12:40:06 +0000 (12:40 +0000)]
Silence a VC++ warning with DEBUGGING builds
(signed/unsigned mismatch)

p4raw-id: //depot/perl@27351

18 years agoIn Perl_sv_setsv_flags, swap the default in the type based switch to
Nicholas Clark [Mon, 27 Feb 2006 21:41:58 +0000 (21:41 +0000)]
In Perl_sv_setsv_flags, swap the default in the type based switch to
the "Bizarre copy" failure case.

p4raw-id: //depot/perl@27350

18 years agoRemoved a redundant o->op_type
Andy Lester [Mon, 27 Feb 2006 14:20:43 +0000 (08:20 -0600)]
Removed a redundant o->op_type
Message-ID: <20060227202043.GA7783@petdance.com>
Date: Mon, 27 Feb 2006 14:20:43 -0600

p4raw-id: //depot/perl@27349

18 years agoSilence a GCC warning
Steve Hay [Mon, 27 Feb 2006 17:48:55 +0000 (17:48 +0000)]
Silence a GCC warning
(assignment from incompatible pointer type)

p4raw-id: //depot/perl@27348

18 years agoSilence a VC++ warning
Steve Hay [Mon, 27 Feb 2006 17:24:37 +0000 (17:24 +0000)]
Silence a VC++ warning
(conversion from 'long ' to 'char ', possible loss of data)

p4raw-id: //depot/perl@27347

18 years agoUpgrade to CPAN 1.87
Rafael Garcia-Suarez [Mon, 27 Feb 2006 17:00:37 +0000 (17:00 +0000)]
Upgrade to CPAN 1.87

p4raw-id: //depot/perl@27346

18 years agoMove all the de-tainting logic for runperl into test.pl.
Nicholas Clark [Mon, 27 Feb 2006 16:13:05 +0000 (16:13 +0000)]
Move all the de-tainting logic for runperl into test.pl.

p4raw-id: //depot/perl@27345

18 years agofix up gv.c and gv.h
Andy Lester [Sat, 25 Feb 2006 20:52:16 +0000 (14:52 -0600)]
fix up gv.c and gv.h
Message-ID: <20060226025216.GA12758@petdance.com>

p4raw-id: //depot/perl@27344

18 years agoPERL_TRACK_MEMPOOL cripples environment after exit()
Marcus Holland-Moritz [Sun, 26 Feb 2006 20:47:21 +0000 (21:47 +0100)]
PERL_TRACK_MEMPOOL cripples environment after exit()
Message-ID: <20060226204721.00be2bff@r2d2>

p4raw-id: //depot/perl@27343

18 years ago[patch] dumping tied globs without FILENO method on the debugger fails
Salvador Fandiño [Sat, 25 Feb 2006 11:14:20 +0000 (12:14 +0100)]
[patch] dumping tied globs without FILENO method on the debugger fails
Message-ID: <20060225101254.726.qmail@lists.develooper.com>

p4raw-id: //depot/perl@27342

18 years agoFix op/utftaint.t on Win32 following change #27248
Steve Hay [Mon, 27 Feb 2006 14:39:46 +0000 (14:39 +0000)]
Fix op/utftaint.t on Win32 following change #27248
(Don't remove PATH completely because it'll break on Unix if you
have . in the PATH)
p4raw-link: @27248 on //depot/perl: 5316d14db4aade2e88cbb15cc065195245c0ec51

p4raw-id: //depot/perl@27341

18 years agoThere is now the potential for an upgrade from something without an
Nicholas Clark [Mon, 27 Feb 2006 14:19:32 +0000 (14:19 +0000)]
There is now the potential for an upgrade from something without an
offset (PVNV or PVMG) to something with one (PVCV, PVFM). Deal with
this correctly.

p4raw-id: //depot/perl@27340

18 years agoptr_table_find() is only defined with ithreads
Rafael Garcia-Suarez [Mon, 27 Feb 2006 13:40:44 +0000 (13:40 +0000)]
ptr_table_find() is only defined with ithreads

p4raw-id: //depot/perl@27339

18 years agoWorkaround for initialization errors on HP's pre-compiler
H.Merijn Brand [Mon, 27 Feb 2006 13:28:04 +0000 (13:28 +0000)]
Workaround for initialization errors on HP's pre-compiler
Do not ask me to explain. This re-definition works on AIX
and HP-UX. Let's await the smokes.

p4raw-id: //depot/perl@27338

18 years agoFix code-before-declaration error (under VC++) from change #27334
Steve Hay [Mon, 27 Feb 2006 12:21:14 +0000 (12:21 +0000)]
Fix code-before-declaration error (under VC++) from change #27334
p4raw-link: @27334 on //depot/perl: b37c2d43c8bccbefe3985273e9661833102148d0

p4raw-id: //depot/perl@27337

18 years agoChange 27330 failed to decontaminate SvCUR/GvFLAGS when upgrading an
Nicholas Clark [Mon, 27 Feb 2006 12:00:12 +0000 (12:00 +0000)]
Change 27330 failed to decontaminate SvCUR/GvFLAGS when upgrading an
SvPV acting as a prototype placeholder to a full typeglob.

p4raw-id: //depot/perl@27336

18 years agoTesting hash key stringification
Anno Siegel [Sun, 26 Feb 2006 23:30:01 +0000 (00:30 +0100)]
Testing hash key stringification
Message-Id: <4871E87D-4B59-40A3-A091-A7A3CFA221CF@mailbox.tu-berlin.de>

p4raw-id: //depot/perl@27335

18 years agoSpeedups and shrinkages of SvREFCNT_inc
Andy Lester [Fri, 24 Feb 2006 14:54:35 +0000 (08:54 -0600)]
Speedups and shrinkages of SvREFCNT_inc
Message-ID: <20060224205434.GA17867@petdance.com>

p4raw-id: //depot/perl@27334

18 years agoSuppress System V IPC for 64-bit Darwin builds
Dominic Dunlop [Fri, 24 Feb 2006 17:22:54 +0000 (18:22 +0100)]
Suppress System V IPC for 64-bit Darwin builds
Message-Id: <A685C5DB-23CE-430E-95F1-CC7A9480DDF9@mac.com>

p4raw-id: //depot/perl@27333

18 years ago[perl #38633] doc patch: perlfunc "new" section lacks lock and qr
Zsban Ambrus [Sat, 25 Feb 2006 05:11:03 +0000 (21:11 -0800)]
[perl #38633] doc patch: perlfunc "new" section lacks lock and qr
From: Zsban Ambrus (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38633-130596.7.22367548359067@perl.org>

p4raw-id: //depot/perl@27332

18 years agoFix argument grouping for some macros
Rafael Garcia-Suarez [Mon, 27 Feb 2006 07:33:53 +0000 (07:33 +0000)]
Fix argument grouping for some macros

p4raw-id: //depot/perl@27331

18 years agoGvFLAGS can be overlaid with SvCUR.
Nicholas Clark [Sat, 25 Feb 2006 17:16:24 +0000 (17:16 +0000)]
GvFLAGS can be overlaid with SvCUR.

p4raw-id: //depot/perl@27330

18 years agoRe: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and lc/uc)
SADAHIRO Tomoyuki [Sat, 25 Feb 2006 18:16:45 +0000 (03:16 +0900)]
Re: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and lc/uc)
Message-Id: <20060225180934.FCC3.BQW10602@nifty.com>

p4raw-id: //depot/perl@27329

18 years agoUse xpv_len rather than xpv_cur in GVs to store GvASSIGN_GENERATION.
Nicholas Clark [Sat, 25 Feb 2006 16:50:15 +0000 (16:50 +0000)]
Use xpv_len rather than xpv_cur in GVs to store GvASSIGN_GENERATION.
Assert that GVs do not access SvCUR or SvLEN.

p4raw-id: //depot/perl@27328

18 years agoAbstract the specific use of SvCUR in GVs for detecting variables on
Nicholas Clark [Sat, 25 Feb 2006 16:48:46 +0000 (16:48 +0000)]
Abstract the specific use of SvCUR in GVs for detecting variables on
both sides of an assignment using GvASSIGN_GENERATION() and
GvASSIGN_GENERATION_set().

p4raw-id: //depot/perl@27327

18 years agoxgv_stash can be stored as a union with the NV, reducing the size of
Nicholas Clark [Sat, 25 Feb 2006 15:38:25 +0000 (15:38 +0000)]
xgv_stash can be stored as a union with the NV, reducing the size of
PVGVs by another pointer.

p4raw-id: //depot/perl@27326

18 years agoCuriously none of the macros SvIVX, SvUVX or SvNVX are used on
Nicholas Clark [Sat, 25 Feb 2006 15:11:28 +0000 (15:11 +0000)]
Curiously none of the macros SvIVX, SvUVX or SvNVX are used on
typeglobs.

p4raw-id: //depot/perl@27325

18 years agoAmazingly, it seems that none of the other GV specific macros are
Nicholas Clark [Sat, 25 Feb 2006 14:50:38 +0000 (14:50 +0000)]
Amazingly, it seems that none of the other GV specific macros are
accessed unless the GV thinks that it is a GV.

p4raw-id: //depot/perl@27324

18 years agoStore GvGP in the SV head union. For all the common lookups [eg GvCV()]
Nicholas Clark [Sat, 25 Feb 2006 00:39:30 +0000 (00:39 +0000)]
Store GvGP in the SV head union. For all the common lookups [eg GvCV()]
this avoids 1 pointer dereference and the associated risk of a CPU
cache miss. Although this patch looks deceptively small, I fear its
CBV(*) might be rather high.
(* Crack By Volume)

p4raw-id: //depot/perl@27323

18 years agoWith PERL_DONT_CREATE_GVSV, don't need to create a new GvSV in
Nicholas Clark [Fri, 24 Feb 2006 23:30:50 +0000 (23:30 +0000)]
With PERL_DONT_CREATE_GVSV, don't need to create a new GvSV in
Perl_save_scalar.

p4raw-id: //depot/perl@27322

18 years agoGiven that SvPV on a typeglob is now irrelevant, really we only need
Nicholas Clark [Fri, 24 Feb 2006 22:43:14 +0000 (22:43 +0000)]
Given that SvPV on a typeglob is now irrelevant, really we only need
to store the GvGP.

p4raw-id: //depot/perl@27321