This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years agoUnder -DDEBUGGING (on gcc), assert that SvRV(sv) is being called on
Nicholas Clark [Sun, 23 Sep 2007 07:20:49 +0000 (07:20 +0000)]
Under -DDEBUGGING (on gcc), assert that SvRV(sv) is being called on
a valid SvTYPE().

p4raw-id: //depot/perl@31941

13 years agoFix bug 45607 - for the corner case *{"BONK"} = \&{"BONK"} the order
Nicholas Clark [Sat, 22 Sep 2007 15:46:44 +0000 (15:46 +0000)]
Fix bug 45607 - for the corner case *{"BONK"} = \&{"BONK"} the order
of op evaluation means that what had been a reference to a constant
can turn into a typeglob before the sassign gets to run.

p4raw-id: //depot/perl@31940

13 years agoUpgrade to Devel::PPPort 3.12
Marcus Holland-Moritz [Sat, 22 Sep 2007 08:01:59 +0000 (08:01 +0000)]
Upgrade to Devel::PPPort 3.12

p4raw-id: //depot/perl@31939

13 years agohv_stores() on a literal string is now fractionally more efficient than
Nicholas Clark [Fri, 21 Sep 2007 09:16:37 +0000 (09:16 +0000)]
hv_stores() on a literal string is now fractionally more efficient than
hv_store().

p4raw-id: //depot/perl@31938

13 years agoFix Win32 breakage caused by #31926
Steve Hay [Fri, 21 Sep 2007 08:25:47 +0000 (08:25 +0000)]
Fix Win32 breakage caused by #31926

p4raw-id: //depot/perl@31937

13 years agoSilence a load of "value computed is not used" warnings
Rafael Garcia-Suarez [Fri, 21 Sep 2007 07:54:47 +0000 (07:54 +0000)]
Silence a load of "value computed is not used" warnings

p4raw-id: //depot/perl@31936

13 years agoUpgrade to Win32-0.32
Steve Hay [Fri, 21 Sep 2007 07:39:02 +0000 (07:39 +0000)]
Upgrade to Win32-0.32

p4raw-id: //depot/perl@31935

13 years agoversion-0.73 (was Re: Change 31920: Don't use ~0 as a version
John Peacock [Thu, 20 Sep 2007 21:15:51 +0000 (17:15 -0400)]
version-0.73 (was Re: Change 31920: Don't use ~0 as a version
Message-ID: <46F31B47.6030601@cpan.org>

p4raw-id: //depot/perl@31934

13 years agoGet mad compiling as C++. (At least for me)
Nicholas Clark [Thu, 20 Sep 2007 19:34:51 +0000 (19:34 +0000)]
Get mad compiling as C++. (At least for me)

p4raw-id: //depot/perl@31933

13 years agoRemove now-unnecessary =cuts where POD is now adjacent to POD.
Nicholas Clark [Thu, 20 Sep 2007 16:52:06 +0000 (16:52 +0000)]
Remove now-unnecessary =cuts where POD is now adjacent to POD.

p4raw-id: //depot/perl@31932

13 years agoAdd a new function Perl_hv_common_key_len(), which contains the
Nicholas Clark [Thu, 20 Sep 2007 16:44:24 +0000 (16:44 +0000)]
Add a new function Perl_hv_common_key_len(), which contains the
manipulations to convert negative lengths to positive length + UTF-8
flag. hv_delete(), hv_exists(), hv_fetch(), hv_store() and
hv_store_flags() all become mathoms. The macros hv_fetchs() and
hv_stores() call hv_common() directly.

p4raw-id: //depot/perl@31931

13 years agoMove the SV dereference of Perl_hv_fetch()/Perl_hv_store()/
Nicholas Clark [Thu, 20 Sep 2007 15:11:01 +0000 (15:11 +0000)]
Move the SV dereference of Perl_hv_fetch()/Perl_hv_store()/
Perl_hv_store_flags() into Perl_hv_common(). All already pass in
HV_FETCH_JUST_SV, which only these three pass in.

p4raw-id: //depot/perl@31930

13 years agoext/XS/APITest/APITest.xs was suffering casting issues with g++
Steve Peters [Thu, 20 Sep 2007 14:00:07 +0000 (14:00 +0000)]
ext/XS/APITest/APITest.xs was suffering casting issues with g++
as well after the addition of Perl_hv_common().

p4raw-id: //depot/perl@31929

13 years agoArchive::Extract 0.24 (was Re: Archive::Extract test failures on Solaris)
Jos I. Boumans [Thu, 20 Sep 2007 15:46:24 +0000 (17:46 +0200)]
Archive::Extract 0.24 (was Re: Archive::Extract test failures on Solaris)
From: "Jos I. Boumans" <kane@dwim.org>
Message-Id: <174BF3BE-B640-4CCA-AB47-BE527382B236@dwim.org>

p4raw-id: //depot/perl@31928

13 years agoCasts needed in mathoms.c to make it compile with g++ after the
Steve Peters [Thu, 20 Sep 2007 13:32:18 +0000 (13:32 +0000)]
Casts needed in mathoms.c to make it compile with g++ after the
making Perl_hv_common() return void *.

p4raw-id: //depot/perl@31927

13 years agoSwitch Perl_hv_common() to returning void * rather than HE *.
Nicholas Clark [Thu, 20 Sep 2007 12:59:25 +0000 (12:59 +0000)]
Switch Perl_hv_common() to returning void * rather than HE *.

p4raw-id: //depot/perl@31926

13 years agoChange 31919 forgot to add Perl_hv_common to global.sym
Nicholas Clark [Thu, 20 Sep 2007 12:20:59 +0000 (12:20 +0000)]
Change 31919 forgot to add Perl_hv_common to global.sym

p4raw-id: //depot/perl@31925

13 years agoConvert hv_delete_ent(), hv_exists_ent(), hv_fetch_ent() and
Nicholas Clark [Thu, 20 Sep 2007 12:13:16 +0000 (12:13 +0000)]
Convert hv_delete_ent(), hv_exists_ent(), hv_fetch_ent() and
hv_store_ent() to macros, and consign the function bodies to history.
Er, mathoms.c

p4raw-id: //depot/perl@31924

13 years agoUse Perl_hv_common() to test disabling the key conversion in hash
Nicholas Clark [Thu, 20 Sep 2007 10:21:30 +0000 (10:21 +0000)]
Use Perl_hv_common() to test disabling the key conversion in hash
lookups.

p4raw-id: //depot/perl@31923

13 years agoassert that what is passed into the hash functions is really an HV.
Nicholas Clark [Thu, 20 Sep 2007 10:20:47 +0000 (10:20 +0000)]
assert that what is passed into the hash functions is really an HV.
(MRO code is calling hash functions during global destruction, hence
the check on SVTYPEMASK.)

p4raw-id: //depot/perl@31922

13 years agoSVs know their length, so avoid 2 calls to strlen().
Nicholas Clark [Thu, 20 Sep 2007 09:42:50 +0000 (09:42 +0000)]
SVs know their length, so avoid 2 calls to strlen().
As we have an SV, call hv_fetch_ent() rather than hv_fetch().

p4raw-id: //depot/perl@31921

13 years agoDon't use ~0 as a version number -- it could overflow.
Rafael Garcia-Suarez [Thu, 20 Sep 2007 08:59:34 +0000 (08:59 +0000)]
Don't use ~0 as a version number -- it could overflow.

p4raw-id: //depot/perl@31920

13 years agoMake hv_fetch_common() non-static, and change its name to hv_common(),
Nicholas Clark [Thu, 20 Sep 2007 08:39:28 +0000 (08:39 +0000)]
Make hv_fetch_common() non-static, and change its name to hv_common(),
as it now also performs hv_delete()/hv_delete_ent()

p4raw-id: //depot/perl@31919

13 years agoChange 31849 forgot to regenerate the documentation - removing a
Nicholas Clark [Wed, 19 Sep 2007 22:55:27 +0000 (22:55 +0000)]
Change 31849 forgot to regenerate the documentation - removing a
documented function from the published API moves the POD file in which
its documentation resides.

p4raw-id: //depot/perl@31918

13 years agoInline and abolish S_hv_magic_uvar_xkey().
Nicholas Clark [Wed, 19 Sep 2007 22:52:53 +0000 (22:52 +0000)]
Inline and abolish S_hv_magic_uvar_xkey().

p4raw-id: //depot/perl@31917

13 years agoSend all delete()/delete_ent() calls via S_hv_fetch_common().
Nicholas Clark [Wed, 19 Sep 2007 22:04:46 +0000 (22:04 +0000)]
Send all delete()/delete_ent() calls via S_hv_fetch_common().
This puts all the key normalisation code in one place.

p4raw-id: //depot/perl@31916

13 years agoLots more tests with many permuations of 7, 8 and $lots bit data.
Nicholas Clark [Wed, 19 Sep 2007 21:43:54 +0000 (21:43 +0000)]
Lots more tests with many permuations of 7, 8 and $lots bit data.

p4raw-id: //depot/perl@31915

13 years agoParameterise the code that tests the rot13 hash, and add a second
Nicholas Clark [Wed, 19 Sep 2007 21:01:26 +0000 (21:01 +0000)]
Parameterise the code that tests the rot13 hash, and add a second
hashtype to test - bitflip (that xors code point with 32).

p4raw-id: //depot/perl@31914

13 years agoext/XS/APItest/t/hash.t was failing because the fieldhash code didn't
Nicholas Clark [Wed, 19 Sep 2007 18:11:40 +0000 (18:11 +0000)]
ext/XS/APItest/t/hash.t was failing because the fieldhash code didn't
reset the pre-computed hash value.

p4raw-id: //depot/perl@31913

13 years agoCall the key transformation function for hv_exists()/hv_fetch()/
Nicholas Clark [Wed, 19 Sep 2007 15:53:43 +0000 (15:53 +0000)]
Call the key transformation function for hv_exists()/hv_fetch()/
hv_store(). (And test this)

p4raw-id: //depot/perl@31912

13 years agoFix failing Test::Simple test
Rafael Garcia-Suarez [Wed, 19 Sep 2007 14:28:28 +0000 (14:28 +0000)]
Fix failing Test::Simple test

p4raw-id: //depot/perl@31911

13 years agoUpdates to AUTHORS etc.
Steve Hay [Wed, 19 Sep 2007 13:58:25 +0000 (13:58 +0000)]
Updates to AUTHORS etc.

p4raw-id: //depot/perl@31910

13 years agoFix whitespace in Changes to keep Porting/checkAUTHORS.pl happy
Steve Hay [Wed, 19 Sep 2007 13:48:44 +0000 (13:48 +0000)]
Fix whitespace in Changes to keep Porting/checkAUTHORS.pl happy

p4raw-id: //depot/perl@31909

13 years agoFix file name in MANIFEST
Rafael Garcia-Suarez [Wed, 19 Sep 2007 13:30:18 +0000 (13:30 +0000)]
Fix file name in MANIFEST

p4raw-id: //depot/perl@31908

13 years agoUpdate to Test-Simple-0.71
Steve Peters [Wed, 19 Sep 2007 13:21:26 +0000 (13:21 +0000)]
Update to Test-Simple-0.71

p4raw-id: //depot/perl@31907

13 years agoMark utils/Makefile as read/write in perforce.
Nicholas Clark [Wed, 19 Sep 2007 10:54:59 +0000 (10:54 +0000)]
Mark utils/Makefile as read/write in perforce.

p4raw-id: //depot/perl@31906

13 years agoCall the key transformation function for hv_delete().
Nicholas Clark [Wed, 19 Sep 2007 10:53:01 +0000 (10:53 +0000)]
Call the key transformation function for hv_delete().
Honour the HV_DISABLE_UVAR_XKEY for hv_delete().
Test this.
[Pass in 3 more parameters to S_hv_magic_uvar_xkey()]

p4raw-id: //depot/perl@31905

13 years agoClean up test files left behind (on Win32, at least) by Archive-Extract
Steve Hay [Wed, 19 Sep 2007 10:42:15 +0000 (10:42 +0000)]
Clean up test files left behind (on Win32, at least) by Archive-Extract

p4raw-id: //depot/perl@31904

13 years agominor changes to File::Path (and more tests)
David Landgren [Mon, 17 Sep 2007 23:27:45 +0000 (01:27 +0200)]
minor changes to File::Path (and more tests)
Message-ID: <46EEF151.6010409@landgren.net>

p4raw-id: //depot/perl@31903

13 years agoMore tests for when fieldhash magic (doesn't) trigger.
Nicholas Clark [Wed, 19 Sep 2007 09:34:00 +0000 (09:34 +0000)]
More tests for when fieldhash magic (doesn't) trigger.

p4raw-id: //depot/perl@31902

13 years agoCorrect test descriptions. bless didn't trigger. ever. Change 31898
Nicholas Clark [Wed, 19 Sep 2007 09:05:44 +0000 (09:05 +0000)]
Correct test descriptions. bless didn't trigger. ever. Change 31898
forgot to update the comment - lvalue store should trigger once.

p4raw-id: //depot/perl@31901

13 years agoRe: [perl #45493] [patch] ext/Win32/Win32.xs compilation fails on msvc < 6
Dmitry Karasik [Tue, 18 Sep 2007 10:45:31 +0000 (12:45 +0200)]
Re: [perl #45493] [patch] ext/Win32/Win32.xs compilation fails on msvc < 6
Message-ID: <20070918084531.GA96406@tetsuo.karasik.eu.org>

(Adds some #defines missing from MSVC++ < 6, plus sorts the list into
numerical order and tests each #define individually)

p4raw-id: //depot/perl@31900

13 years agoRe: [PATCH] Cray XT4/Catamount build
Jarkko Hietaniemi [Tue, 18 Sep 2007 19:48:48 +0000 (15:48 -0400)]
Re: [PATCH] Cray XT4/Catamount build
Message-ID: <46F063E0.1000004@iki.fi>

(Restores a pre-generated utils/Makefile for the benefit of Win32,
which can't run utils/Makefile.SH itself)

p4raw-id: //depot/perl@31899

13 years agoFor an LVALUE fetch, "hv_fetch()" will recurse into "hv_store()" for a
Nicholas Clark [Wed, 19 Sep 2007 08:12:09 +0000 (08:12 +0000)]
For an LVALUE fetch, "hv_fetch()" will recurse into "hv_store()" for a
hash with magic. Field hashes have u magic, so this recursion triggers.
However, key conversion replaces the original key with the converted
key, so we need to ensure that conversion happens exactly once, else
for a non-idempotent key conversion routine (eg ROT13) we will see
double conversion in this case.

p4raw-id: //depot/perl@31898

13 years agothreads 1.67
Jerry D. Hedden [Tue, 18 Sep 2007 16:48:03 +0000 (12:48 -0400)]
threads 1.67
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709181348h45b1941epf501f9f73d4daa75@mail.gmail.com>

fix test count.

p4raw-id: //depot/perl@31897

13 years agot/TEST doesn't check exit (was Re: Test::More bug?)
Michael G. Schwern [Tue, 18 Sep 2007 18:25:14 +0000 (11:25 -0700)]
t/TEST doesn't check exit (was Re: Test::More bug?)
Message-ID: <46F07A7A.1060900@pobox.com>

p4raw-id: //depot/perl@31896

13 years agoRe: [PATCH] Re: Unintentional base.pm behavior change
Michael G. Schwern [Wed, 19 Sep 2007 00:39:40 +0000 (17:39 -0700)]
Re: [PATCH] Re: Unintentional base.pm behavior change
Message-ID: <46F0D23C.6020105@pobox.com>

p4raw-id: //depot/perl@31895

13 years agoPrevent the pragmas from ${^OPEN} propagated to %^H from deparsing.
Rafael Garcia-Suarez [Tue, 18 Sep 2007 14:10:34 +0000 (14:10 +0000)]
Prevent the pragmas from ${^OPEN} propagated to %^H from deparsing.
This stops test failures when perl is run with -C under utf-8 locales.
However this is only a partial solution, since it will prevent the
open pragma from being properly deparsed. Probably ${^OPEN} should
be handled separately.

p4raw-id: //depot/perl@31894

13 years agodocument [PATCH] lib/feature.pm
Robin Barker [Mon, 17 Sep 2007 18:18:43 +0000 (19:18 +0100)]
document [PATCH] lib/feature.pm
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1B3@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@31893

13 years agoMore work and modernization of INSTALL
Rafael Garcia-Suarez [Tue, 18 Sep 2007 10:09:43 +0000 (10:09 +0000)]
More work and modernization of INSTALL

p4raw-id: //depot/perl@31892

13 years agoChange #31889 forgot to regen global.sym
Steve Hay [Tue, 18 Sep 2007 07:41:51 +0000 (07:41 +0000)]
Change #31889 forgot to regen global.sym

p4raw-id: //depot/perl@31891

13 years agoFix spelling errors in comments.
Nicholas Clark [Mon, 17 Sep 2007 22:34:45 +0000 (22:34 +0000)]
Fix spelling errors in comments.

p4raw-id: //depot/perl@31890

13 years agoRemove dead functions:
Nicholas Clark [Mon, 17 Sep 2007 21:07:33 +0000 (21:07 +0000)]
Remove dead functions:
Perl_do_pipe, which is unused since 4.036
Perl_save_hints, which would just croak
pp_threadsv, which was only used by 5.005 threads

p4raw-id: //depot/perl@31889

13 years agoRemove dead code surrounded by #if 0 from mathoms.c
Nicholas Clark [Mon, 17 Sep 2007 20:19:51 +0000 (20:19 +0000)]
Remove dead code surrounded by #if 0 from mathoms.c

p4raw-id: //depot/perl@31888

13 years ago[patch] qualify OP arenas item in perltodo
Jim Cromie [Sat, 15 Sep 2007 13:36:46 +0000 (07:36 -0600)]
[patch] qualify OP arenas item in perltodo
Message-ID: <46EC344E.3080903@gmail.com>

p4raw-id: //depot/perl@31887

13 years agoHP's ANSI-C optimizer breaks op.c (t/op/state.t failure); ccversion fixed
H.Merijn Brand [Mon, 17 Sep 2007 14:16:08 +0000 (14:16 +0000)]
HP's ANSI-C optimizer breaks op.c (t/op/state.t failure); ccversion fixed

p4raw-id: //depot/perl@31886

13 years agoSome more state variable deparse tests.
Nicholas Clark [Mon, 17 Sep 2007 12:21:01 +0000 (12:21 +0000)]
Some more state variable deparse tests.

p4raw-id: //depot/perl@31885

13 years ago[ patch ] add line-number to embed.pl warnings
Jim Cromie [Wed, 12 Sep 2007 11:25:08 +0000 (05:25 -0600)]
[ patch ] add line-number to embed.pl warnings
Message-ID: <46E820F4.80106@gmail.com>

p4raw-id: //depot/perl@31884

13 years agoModule::Load::Conditional 0.18 (was Re: Module::Load::Conditional 0.18 wannabe)
Jos I. Boumans [Sat, 15 Sep 2007 16:22:20 +0000 (18:22 +0200)]
Module::Load::Conditional 0.18 (was Re: Module::Load::Conditional 0.18 wannabe)
From: "Jos I. Boumans" <kane@cpan.org>
Message-Id: <B7B53F13-0EF3-4B05-984C-E481D14964F0@cpan.org>

p4raw-id: //depot/perl@31883

13 years agoMake B::Deparse able to handle pragmas from %^H.
Rafael Garcia-Suarez [Mon, 17 Sep 2007 11:25:33 +0000 (11:25 +0000)]
Make B::Deparse able to handle pragmas from %^H.
Add tests for deparsing say() and state().

p4raw-id: //depot/perl@31882

13 years agodocument limitation of exec() inside pseudo-processes
Jan Dubois [Thu, 13 Sep 2007 12:46:06 +0000 (05:46 -0700)]
document limitation of exec() inside pseudo-processes
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <023a01c7f63e$b9da1170$2d8e3450$@com>

p4raw-id: //depot/perl@31881

13 years agothreads 1.66
Jerry D. Hedden [Fri, 14 Sep 2007 14:56:34 +0000 (10:56 -0400)]
threads 1.66
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709141156n498af13aq9e0d279a0c76b48@mail.gmail.com>

Version bump (sync with CPAN version)

p4raw-id: //depot/perl@31880

13 years agofix bigint testsuite
Tels [Sun, 16 Sep 2007 13:41:15 +0000 (15:41 +0200)]
fix bigint testsuite
Message-Id: <200709161341.15574@bloodgate.com>

p4raw-id: //depot/perl@31879

13 years agoRe: [PATCH] Cray XT4/Catamount build
Jarkko Hietaniemi [Sat, 15 Sep 2007 20:47:57 +0000 (16:47 -0400)]
Re: [PATCH] Cray XT4/Catamount build
Message-ID: <46EC7D3D.5010604@iki.fi>

p4raw-id: //depot/perl@31878

13 years agogrammar nit
Jim Cromie [Mon, 17 Sep 2007 02:25:04 +0000 (20:25 -0600)]
grammar nit
Message-ID: <46EE39E0.80601@gmail.com>
Date: Mon, 17 Sep 2007 02:25:04 -0600

p4raw-id: //depot/perl@31877

13 years agoChange 31873 was not robust against the possibility that the
Nicholas Clark [Sun, 16 Sep 2007 23:28:30 +0000 (23:28 +0000)]
Change 31873 was not robust against the possibility that the
configuration has no #defined options. So add a "" that will make the
initialiser for PL_bincompat_options syntactically correct in this
case.

p4raw-id: //depot/perl@31876

13 years ago[PATCHES] various small Math::BigInt et. al. fixes
Tels [Sun, 16 Sep 2007 11:23:14 +0000 (13:23 +0200)]
[PATCHES] various small Math::BigInt et. al. fixes
Message-Id: <200709161123.14970@bloodgate.com>
Date: Sun, 16 Sep 2007 11:23:14 +0200

Subject: Re: [PATCHES] various small Math::BigInt et. al. fixes
From: Tels <nospam-abuse@bloodgate.com>
Message-Id: <200709161156.09071@bloodgate.com>
Date: Sun, 16 Sep 2007 11:56:08 +0200

p4raw-id: //depot/perl@31875

13 years agoUpgrade to Archive::Tar 1.36
Nicholas Clark [Sun, 16 Sep 2007 09:40:45 +0000 (09:40 +0000)]
Upgrade to Archive::Tar 1.36
(Portability fixes for VMS, as offered by Craig Berry)

p4raw-id: //depot/perl@31874

13 years agoMove all the compile time options that affect binary compatibility into
Nicholas Clark [Sat, 15 Sep 2007 22:34:16 +0000 (22:34 +0000)]
Move all the compile time options that affect binary compatibility into
a global variable PL_bincompat_options. Because the string will be
embedded in any shared perl library, it will allow a comparison check
to be added to perlmain.c in the future, to detect library mismatch.

p4raw-id: //depot/perl@31873

13 years agoRejig the word wrapping code for the "Compile-time options:" of perl -V
Nicholas Clark [Sat, 15 Sep 2007 21:26:53 +0000 (21:26 +0000)]
Rejig the word wrapping code for the "Compile-time options:" of perl -V
Replace the rather elegant C code with Perl code that can also sort the
options first, as this will allow them to be split into those that
affect binary compatibility, and those that do not.

p4raw-id: //depot/perl@31872

13 years agoNote the gotcha about newlines in the elements of PL_preambleav.
Nicholas Clark [Sat, 15 Sep 2007 17:54:04 +0000 (17:54 +0000)]
Note the gotcha about newlines in the elements of PL_preambleav.

p4raw-id: //depot/perl@31871

13 years agoSave some C<","> in the embedded program used to generate -V output.
Nicholas Clark [Sat, 15 Sep 2007 16:23:25 +0000 (16:23 +0000)]
Save some C<","> in the embedded program used to generate -V output.

p4raw-id: //depot/perl@31870

13 years agoUpdate Module::Load to 0.12 (Was Re: Module::Load 0.12 wanna be
Jos I. Boumans [Fri, 14 Sep 2007 14:03:14 +0000 (16:03 +0200)]
Update Module::Load to 0.12 (Was Re: Module::Load 0.12 wanna be
(was Re: [patch@31735] Module-load/require fixes for VMS))
From: "Jos I. Boumans" <kane@cpan.org>
Message-id: <594A1762-D3E1-47AD-BBED-121E315D89BF@cpan.org>
p4raw-link: @31735 on //depot/perl: 646c27d472ef3530ad06b94bc11148eca940fc51

p4raw-id: //depot/perl@31869

13 years agoenable utf8 cache assertions on DEBUGGING builds
Dave Mitchell [Fri, 14 Sep 2007 22:28:03 +0000 (22:28 +0000)]
enable utf8 cache assertions on DEBUGGING builds

p4raw-id: //depot/perl@31868

13 years ago[perl #45337] utf8 + "[a]a{2}" + /$.../ = panic: sv_len_utf8 cache
Dave Mitchell [Fri, 14 Sep 2007 21:59:59 +0000 (21:59 +0000)]
[perl #45337] utf8 + "[a]a{2}" + /$.../ = panic: sv_len_utf8 cache
when shrinking an SV, shrink the sv_len_utf8 cache too!

p4raw-id: //depot/perl@31867

13 years agoFwd: CPAN Upload: S/SA/SAPER/Sys-Syslog-0.21.tar.gz
S├ębastien Aperghis-Tramoni [Fri, 14 Sep 2007 01:18:04 +0000 (03:18 +0200)]
Fwd: CPAN Upload: S/SA/SAPER/Sys-Syslog-0.21.tar.gz
Message-Id: <92AB5E7F-F8E1-4DEE-805C-B257A569CB62@free.fr>

p4raw-id: //depot/perl@31866

13 years agoa spelling nit
Jim Cromie [Fri, 14 Sep 2007 10:58:36 +0000 (04:58 -0600)]
a spelling nit
Message-ID: <46EABDBC.40700@gmail.com>

p4raw-id: //depot/perl@31865

13 years ago[perl #45053] Memory corruption with heavy module loading in threads
Dave Mitchell [Fri, 14 Sep 2007 18:25:44 +0000 (18:25 +0000)]
[perl #45053] Memory corruption with heavy module loading in threads
In void context, eval leaves garbage on the stack. Don't then
copy this back into the threads->param array!

p4raw-id: //depot/perl@31864

13 years agoNote that list initialisation of state variables is TODO. While in the
Nicholas Clark [Thu, 13 Sep 2007 14:52:20 +0000 (14:52 +0000)]
Note that list initialisation of state variables is TODO. While in the
area, note how B::Deparse might be improved to name inlined constants.

p4raw-id: //depot/perl@31863

13 years ago[patch@31788] Term::ReadLine::Stub missing get_line
John E. Malmberg [Wed, 12 Sep 2007 20:14:53 +0000 (15:14 -0500)]
[patch@31788] Term::ReadLine::Stub missing get_line
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <46E88F0D.2090405@qsl.net>

p4raw-id: //depot/perl@31862

13 years agoBetter diagnostics and test naming
Rafael Garcia-Suarez [Thu, 13 Sep 2007 09:10:18 +0000 (09:10 +0000)]
Better diagnostics and test naming

p4raw-id: //depot/perl@31861

13 years agoMake Deparse handle "say"
Rafael Garcia-Suarez [Thu, 13 Sep 2007 08:58:07 +0000 (08:58 +0000)]
Make Deparse handle "say"

p4raw-id: //depot/perl@31860

13 years agoURL correction by Robert Spier
Rafael Garcia-Suarez [Thu, 13 Sep 2007 08:17:09 +0000 (08:17 +0000)]
URL correction by Robert Spier

p4raw-id: //depot/perl@31859

13 years agoCarp's argument backtrace code would show undef as "undef" - a string.
Nicholas Clark [Wed, 12 Sep 2007 23:11:45 +0000 (23:11 +0000)]
Carp's argument backtrace code would show undef as "undef" - a string.

p4raw-id: //depot/perl@31858

13 years agoAdd the missing assignment to op_last that change 31798 missed out.
Nicholas Clark [Wed, 12 Sep 2007 23:10:58 +0000 (23:10 +0000)]
Add the missing assignment to op_last that change 31798 missed out.
With this, state $zok = ...; will deparse.

p4raw-id: //depot/perl@31857

13 years agoDon't call frexp() on +Inf or -Inf either. (It's not just NaN it might
Nicholas Clark [Wed, 12 Sep 2007 18:38:54 +0000 (18:38 +0000)]
Don't call frexp() on +Inf or -Inf either. (It's not just NaN it might
choke on.)

p4raw-id: //depot/perl@31856

13 years agoAmend change 31854 for when NAN_COMPARE_BROKEN
Rafael Garcia-Suarez [Wed, 12 Sep 2007 11:48:32 +0000 (11:48 +0000)]
Amend change 31854 for when NAN_COMPARE_BROKEN

p4raw-id: //depot/perl@31855

13 years ago[perl #45383] sprintf %f panics with NaN
Zefram [Tue, 11 Sep 2007 15:22:23 +0000 (08:22 -0700)]
[perl #45383] sprintf %f panics with NaN
From: Zefram (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-10743-1189549342-52.45383-75-0@perl.org>

p4raw-id: //depot/perl@31854

13 years agoMake @INC available in base.pm's error message when
Rafael Garcia-Suarez [Wed, 12 Sep 2007 09:32:47 +0000 (09:32 +0000)]
Make @INC available in base.pm's error message when
a module can't be found. See CPAN bug #28582.

p4raw-id: //depot/perl@31853

13 years agoUpgrade to Win32-0.31
Steve Hay [Wed, 12 Sep 2007 08:11:46 +0000 (08:11 +0000)]
Upgrade to Win32-0.31

p4raw-id: //depot/perl@31852

13 years agoRe: mro "PERFORMANCE CONSIDERATIONS" still true?
Rick Delaney [Mon, 10 Sep 2007 10:45:41 +0000 (06:45 -0400)]
Re: mro "PERFORMANCE CONSIDERATIONS" still true?
Message-ID: <20070910144541.GI9260@bort.ca>

plus update Changes file for base.pm

p4raw-id: //depot/perl@31851

13 years ago[patch@31846] vms stat and chmod fixes.
John E. Malmberg [Tue, 11 Sep 2007 22:01:14 +0000 (17:01 -0500)]
[patch@31846] vms stat and chmod fixes.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <46E7567A.8090203@qsl.net>

p4raw-id: //depot/perl@31850

13 years agomro_get_linear_isa_dfs and mro_get_linear_isa_c3 can have static
Nicholas Clark [Wed, 12 Sep 2007 00:09:18 +0000 (00:09 +0000)]
mro_get_linear_isa_dfs and mro_get_linear_isa_c3 can have static
linkage.

p4raw-id: //depot/perl@31849

13 years agoUpgrade to Devel::PPPort 3.11_06
Marcus Holland-Moritz [Tue, 11 Sep 2007 21:45:40 +0000 (21:45 +0000)]
Upgrade to Devel::PPPort 3.11_06

p4raw-id: //depot/perl@31848

13 years agoSome escapes were mentioned twice, although they're not qr//-specific
Rafael Garcia-Suarez [Tue, 11 Sep 2007 15:59:15 +0000 (15:59 +0000)]
Some escapes were mentioned twice, although they're not qr//-specific

p4raw-id: //depot/perl@31847

13 years ago[patch] [Win32] Makefile and makefile.mk rely on shell association
Max Maischein [Sat, 1 Sep 2007 15:27:54 +0000 (17:27 +0200)]
[patch] [Win32] Makefile and makefile.mk rely on shell association
Message-ID: <46D968DA.2000205@cpan.org>

p4raw-id: //depot/perl@31846

13 years agoUpgrade to Net::Ping 2.33, with help from Jerry Hedden
Rafael Garcia-Suarez [Tue, 11 Sep 2007 09:32:02 +0000 (09:32 +0000)]
Upgrade to Net::Ping 2.33, with help from Jerry Hedden

p4raw-id: //depot/perl@31845

13 years agoUpgrade to libnet 1.22 (with some help by Jerry Hedden)
Rafael Garcia-Suarez [Tue, 11 Sep 2007 09:28:02 +0000 (09:28 +0000)]
Upgrade to libnet 1.22 (with some help by Jerry Hedden)

p4raw-id: //depot/perl@31844

13 years agoVMS help for File::Path 2.00_11: chdir() is finicky about directory
Craig A. Berry [Mon, 10 Sep 2007 22:40:30 +0000 (22:40 +0000)]
VMS help for File::Path 2.00_11:  chdir() is finicky about directory
format; catdir spews warnings when given files that aren't directories;
File::Spec functions may call stat(), thus zapping C<_>; filenames with
characters that need escaping (such as spaces), must have some path
syntax attached to them and be converted to native syntax in order to
force escaping to take place.

p4raw-id: //depot/perl@31843

13 years agochange #31246 unconditionally enabled utf8 cache debugging code
Dave Mitchell [Mon, 10 Sep 2007 21:53:53 +0000 (21:53 +0000)]
change #31246 unconditionally enabled utf8 cache debugging code
p4raw-link: @31246 on //depot/perl: 95ca8690fb514421b98da534c91bfd455c9daabc

p4raw-id: //depot/perl@31842