This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years ago[perl #45513] Test failures on amd64-freebsd 6.2
Slaven Rezic [Sat, 29 Sep 2007 05:38:08 +0000 (22:38 -0700)]
[perl #45513] Test failures on amd64-freebsd 6.2
From: "slaven@rezic.de via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-5916-1191069483-1553.45513-15-0@perl.org>

p4raw-id: //depot/perl@32012

13 years ago[perl #46019] Documentation for 'srand' has a problem in code snippet
ben@linuxgazette.net [Tue, 2 Oct 2007 21:33:49 +0000 (14:33 -0700)]
[perl #46019] Documentation for 'srand' has a problem in code snippet
From: ben@linuxgazette.net (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-5916-1191386029-1116.46019-75-0@perl.org>

p4raw-id: //depot/perl@32011

13 years agoUpdate to a file missed in change #32008.
Steve Peters [Wed, 3 Oct 2007 04:07:08 +0000 (04:07 +0000)]
Update to a file missed in change #32008.
p4raw-link: @32008 on //depot/perl: 547d3dfd0918e1335aa86e352904fbb22cccfb6d

p4raw-id: //depot/perl@32010

13 years agoUpgrade to Getopt-Long-2.37
Steve Peters [Tue, 2 Oct 2007 13:56:07 +0000 (13:56 +0000)]
Upgrade to Getopt-Long-2.37

p4raw-id: //depot/perl@32009

13 years agoUpgrade to CPAN-1.9203
Steve Peters [Tue, 2 Oct 2007 13:39:06 +0000 (13:39 +0000)]
Upgrade to CPAN-1.9203

p4raw-id: //depot/perl@32008

13 years agoNeed to quote the version number of perl in perlivp, now
Rafael Garcia-Suarez [Tue, 2 Oct 2007 12:44:18 +0000 (12:44 +0000)]
Need to quote the version number of perl in perlivp, now
that it finishes by 0

p4raw-id: //depot/perl@32007

13 years ago/cygdrive is configurable
Jerry D. Hedden [Mon, 1 Oct 2007 19:32:19 +0000 (15:32 -0400)]
/cygdrive is configurable
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510710011632n175427fdx39e173372862526e@mail.gmail.com>

p4raw-id: //depot/perl@32006

13 years agouse base problem
Shawn [Mon, 1 Oct 2007 12:45:32 +0000 (05:45 -0700)]
use base problem
Message-ID: <1191267932.150186.12570@d55g2000hsg.googlegroups.com>

(This patch is actually not needed for 5.10, but useful for earlier perls)

p4raw-id: //depot/perl@32005

13 years agoRe: [patch] clean out remnants of DEBUGGING_OPS (was opcode op_type:9)
Jim Cromie [Mon, 1 Oct 2007 18:59:43 +0000 (12:59 -0600)]
Re: [patch] clean out remnants of DEBUGGING_OPS (was opcode op_type:9)
Message-ID: <470197FF.5040709@gmail.com>

p4raw-id: //depot/perl@32004

13 years agowas Re: Freeze ?
John Peacock [Tue, 2 Oct 2007 05:28:31 +0000 (01:28 -0400)]
was Re: Freeze ?
Message-ID: <47020F3F.9070604@havurah-software.org>

p4raw-id: //depot/perl@32003

13 years agoAudrey spotted a spurious "Unicode".
Nicholas Clark [Tue, 2 Oct 2007 07:21:12 +0000 (07:21 +0000)]
Audrey spotted a spurious "Unicode".

p4raw-id: //depot/perl@32002

13 years agoNothing is using IoSUBPROCESS() so eliminate xio_subprocess.
Nicholas Clark [Mon, 1 Oct 2007 12:13:36 +0000 (12:13 +0000)]
Nothing is using IoSUBPROCESS() so eliminate xio_subprocess.
Make xio_flags a U8, which is what it should have been all along
(rather than a char, which might be signed). B.xs had its wrapper as U8

p4raw-id: //depot/perl@32001

13 years agoPatch by jlv <jloverso@mathworks.com> to stop NEXT::AUTOLOAD
Rafael Garcia-Suarez [Mon, 1 Oct 2007 12:00:30 +0000 (12:00 +0000)]
Patch by jlv <jloverso@mathworks.com> to stop NEXT::AUTOLOAD
from emitting warnings under the debugger.
See: http://rt.cpan.org/Public/Bug/Display.html?id=25053

p4raw-id: //depot/perl@32000

13 years ago[patch@31998] Fix M:B: tilde.t tests on VMS
John E. Malmberg [Sun, 30 Sep 2007 09:13:09 +0000 (04:13 -0500)]
[patch@31998] Fix M:B: tilde.t tests on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <46FFAEF5.1060702@qsl.net>

p4raw-id: //depot/perl@31999

13 years agoRe: [patch@31988] Revised Module::Build fixes for VMS.
John E. Malmberg [Sat, 29 Sep 2007 14:50:37 +0000 (09:50 -0500)]
Re: [patch@31988] Revised Module::Build fixes for VMS.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <46FEAC8D.1080506@qsl.net>

Missed one case in #31995.

p4raw-id: //depot/perl@31998

13 years agobring File::Path up to 2.01 (was: Re: Freeze ?)
David Landgren [Sun, 30 Sep 2007 15:19:49 +0000 (17:19 +0200)]
bring File::Path up to 2.01 (was: Re: Freeze ?)
Message-ID: <46FFA275.6010304@landgren.net>

p4raw-id: //depot/perl@31997

13 years ago[patch@31988] Revised Module::Build fixes for VMS.
John E. Malmberg [Fri, 28 Sep 2007 08:55:27 +0000 (03:55 -0500)]
[patch@31988] Revised Module::Build fixes for VMS.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <46FD07CF.5040504@qsl.net>

p4raw-id: //depot/perl@31995

13 years agoMake all of B work on 5.8.x
Nicholas Clark [Fri, 28 Sep 2007 18:04:55 +0000 (18:04 +0000)]
Make all of B work on 5.8.x

p4raw-id: //depot/perl@31994

13 years agoDocument hint symbols in B::Concise
Rafael Garcia-Suarez [Fri, 28 Sep 2007 13:07:35 +0000 (13:07 +0000)]
Document hint symbols in B::Concise

p4raw-id: //depot/perl@31993

13 years agoHopefully really fix test failures with -C
Nicholas Clark [Fri, 28 Sep 2007 12:40:39 +0000 (12:40 +0000)]
Hopefully really fix test failures with -C

p4raw-id: //depot/perl@31992

13 years agoRemove unneeded cast
Rafael Garcia-Suarez [Fri, 28 Sep 2007 08:20:32 +0000 (08:20 +0000)]
Remove unneeded cast

p4raw-id: //depot/perl@31991

13 years agoChange 31987 forgot to re-run embed.pl
Nicholas Clark [Fri, 28 Sep 2007 07:32:28 +0000 (07:32 +0000)]
Change 31987 forgot to re-run embed.pl

p4raw-id: //depot/perl@31990

13 years ago[patch] s/thinngy/thingy/
Jim Cromie [Thu, 27 Sep 2007 19:29:43 +0000 (13:29 -0600)]
[patch] s/thinngy/thingy/
Message-ID: <46FC5907.4010205@gmail.com>

p4raw-id: //depot/perl@31989

13 years agoI forgot to patch for the threaded case
Rafael Garcia-Suarez [Thu, 27 Sep 2007 09:55:35 +0000 (09:55 +0000)]
I forgot to patch for the threaded case

p4raw-id: //depot/perl@31988

13 years agoMove the bool v_string_ok into the U16-sized gap in the interpreter
Nicholas Clark [Thu, 27 Sep 2007 09:40:58 +0000 (09:40 +0000)]
Move the bool v_string_ok into the U16-sized gap in the interpreter
structure. Add a "spare" variable so that we can add the first post-
5.10.0 bool variable without growing the interpreter structure.

p4raw-id: //depot/perl@31987

13 years agoHopefully fix test failures with -C
Rafael Garcia-Suarez [Thu, 27 Sep 2007 09:38:53 +0000 (09:38 +0000)]
Hopefully fix test failures with -C

p4raw-id: //depot/perl@31986

13 years agoFix test introduced in #31973 that failed on Win32
Steve Hay [Thu, 27 Sep 2007 08:56:05 +0000 (08:56 +0000)]
Fix test introduced in #31973 that failed on Win32
(Win32 doesn't like the runperl() prog having newlines in it)

p4raw-id: //depot/perl@31985

13 years agoMake large file support the default on VMS systems that have it. This in turn
Craig A. Berry [Thu, 27 Sep 2007 00:57:00 +0000 (00:57 +0000)]
Make large file support the default on VMS systems that have it.  This in turn
makes _USE_STD_STAT and symbolic link support the defaults where available.

p4raw-id: //depot/perl@31984

13 years agoAPI spelling patch, by Jerry D. Hedden
Rafael Garcia-Suarez [Wed, 26 Sep 2007 16:57:34 +0000 (16:57 +0000)]
API spelling patch, by Jerry D. Hedden

p4raw-id: //depot/perl@31983

13 years agoMaybe the default order of directories in @INC should be modified.
Rafael Garcia-Suarez [Wed, 26 Sep 2007 16:46:36 +0000 (16:46 +0000)]
Maybe the default order of directories in @INC should be modified.

p4raw-id: //depot/perl@31982

13 years agoChange 31977 introduced a bug (failing to set the return value of
Nicholas Clark [Wed, 26 Sep 2007 16:32:45 +0000 (16:32 +0000)]
Change 31977 introduced a bug (failing to set the return value of
mro::get_linear_isa() when passed a second parameter). However, there
were no tests for this. Fix both.

p4raw-id: //depot/perl@31981

13 years agoCheck rename() under Cygwin
Jerry D. Hedden [Tue, 25 Sep 2007 11:55:53 +0000 (07:55 -0400)]
Check rename() under Cygwin
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709250855o2c9115cdi6ce830a9ccaec696@mail.gmail.com>

p4raw-id: //depot/perl@31980

13 years agoNo more ld2 and perlld under Cygwin
Jerry D. Hedden [Tue, 25 Sep 2007 10:45:47 +0000 (06:45 -0400)]
No more ld2 and perlld under Cygwin
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709250745s1d17ae54y6403711e00b306a0@mail.gmail.com>

p4raw-id: //depot/perl@31979

13 years agoRE: [PATCH] use 5.010 is ugly; use 5.10.0 warns
Robin Barker [Wed, 26 Sep 2007 13:25:49 +0000 (14:25 +0100)]
RE: [PATCH] use 5.010 is ugly; use 5.10.0 warns
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226C9D1C3@exchsvr1.npl.ad.local>

p4raw-id: //depot/perl@31978

13 years agoChange the way of determining the MRO algorithm used from an enum
Nicholas Clark [Wed, 26 Sep 2007 10:21:50 +0000 (10:21 +0000)]
Change the way of determining the MRO algorithm used from an enum
defined in the header, to a pointer to a structure. This allows the
flexibility to easily add more MROs in the future, and to provide an
API to do so. Dispatch in mro.c is now via the structure pointed to,
rather than switch statements on the value of the enum.

p4raw-id: //depot/perl@31977

13 years agoOption spelling nit for AIX
Rafael Garcia-Suarez [Wed, 26 Sep 2007 09:07:59 +0000 (09:07 +0000)]
Option spelling nit for AIX

p4raw-id: //depot/perl@31976

13 years agoOn VAX, feeding a bare "NaN" to nawk causes nawk to core dump since
Rafael Garcia-Suarez [Wed, 26 Sep 2007 09:00:08 +0000 (09:00 +0000)]
On VAX, feeding a bare "NaN" to nawk causes nawk to core dump since
it tries to interpret it as a number, which causes an FP exception.
(Patch from NetBSD)

p4raw-id: //depot/perl@31975

13 years agoAssume NetBSD has touch
Rafael Garcia-Suarez [Wed, 26 Sep 2007 08:57:41 +0000 (08:57 +0000)]
Assume NetBSD has touch
(patch from NetBSD package)

p4raw-id: //depot/perl@31974

13 years agoRe: [patch] improve B::Concise -src support
Jim Cromie [Tue, 25 Sep 2007 17:34:09 +0000 (11:34 -0600)]
Re: [patch] improve B::Concise -src support
Message-ID: <46F99AF1.1080108@gmail.com>

p4raw-id: //depot/perl@31973

13 years agoUpdate to README.cygwin by Jerry D. Hedden
Rafael Garcia-Suarez [Wed, 26 Sep 2007 08:20:14 +0000 (08:20 +0000)]
Update to README.cygwin by Jerry D. Hedden

p4raw-id: //depot/perl@31972

13 years agoextend PL_veto_cleanup to all platforms
Dave Mitchell [Tue, 25 Sep 2007 18:59:02 +0000 (18:59 +0000)]
extend PL_veto_cleanup to all platforms
The conditional skip of PERL_SYS_TERM introduced by change #29827
now happens on all platforms, not just UNIX.
p4raw-link: @29827 on //depot/perl: c301d6064f299b8a77670348b81d25d2d94d6a2f

p4raw-id: //depot/perl@31971

13 years agomake PERL_SYS_INIT/INIT3/TERM into functions
Dave Mitchell [Tue, 25 Sep 2007 18:00:32 +0000 (18:00 +0000)]
make PERL_SYS_INIT/INIT3/TERM into functions

p4raw-id: //depot/perl@31970

13 years agoHey, but "or" is low-prec. So this statement never worked.
Rafael Garcia-Suarez [Tue, 25 Sep 2007 14:28:20 +0000 (14:28 +0000)]
Hey, but "or" is low-prec. So this statement never worked.

p4raw-id: //depot/perl@31969

13 years agoDragonflyBSD is a BSD too
Rafael Garcia-Suarez [Tue, 25 Sep 2007 14:24:53 +0000 (14:24 +0000)]
DragonflyBSD is a BSD too

p4raw-id: //depot/perl@31968

13 years agoRe: [perl #45513] Test failures on amd64-freebsd 6.2
Slaven Rezic [Wed, 19 Sep 2007 21:56:00 +0000 (23:56 +0200)]
Re: [perl #45513] Test failures on amd64-freebsd 6.2
Message-ID: <87abri1lbj.fsf@biokovo-amd64.herceg.de>

p4raw-id: //depot/perl@31967

13 years agoUpgrade to Test::Simple 0.72
Rafael Garcia-Suarez [Tue, 25 Sep 2007 12:20:25 +0000 (12:20 +0000)]
Upgrade to Test::Simple 0.72

p4raw-id: //depot/perl@31966

13 years agoRe: [PATCH 5.10] Improve diagnostic for reloads of bad modules
Rick Delaney [Sat, 22 Sep 2007 16:30:40 +0000 (12:30 -0400)]
Re: [PATCH 5.10] Improve diagnostic for reloads of bad modules
Message-ID: <20070922203040.GK11931@bort.ca>

p4raw-id: //depot/perl@31965

13 years agoMake OptreeCheck.pm more forgiving about parent pad indexes
Rafael Garcia-Suarez [Tue, 25 Sep 2007 09:45:46 +0000 (09:45 +0000)]
Make OptreeCheck.pm more forgiving about parent pad indexes

p4raw-id: //depot/perl@31964

13 years agoTrans.: CPAN Upload: S/SA/SAPER/constant-1.11.tar.gz
Sébastien Aperghis-Tramoni [Tue, 25 Sep 2007 11:55:48 +0000 (13:55 +0200)]
Trans.: CPAN Upload: S/SA/SAPER/constant-1.11.tar.gz
Message-ID: <1190714148.46f8db2431f0c@imp.free.fr>

p4raw-id: //depot/perl@31963

13 years agoRe: Smoke [5.10.0] 31938 FAIL(F) netbsd 3.1 (i386/1 cpu)
Abe Timmerman [Sun, 23 Sep 2007 01:02:22 +0000 (03:02 +0200)]
Re: Smoke [5.10.0] 31938 FAIL(F) netbsd 3.1 (i386/1 cpu)
Message-ID: <46F59EFE.7050303@ztreet.demon.nl>

p4raw-id: //depot/perl@31962

13 years agoRe: [perl #45605] Regexp failure with utf8-flagged string and byte-flagged pattern
Tels [Sat, 22 Sep 2007 14:27:29 +0000 (16:27 +0200)]
Re: [perl #45605] Regexp failure with utf8-flagged string and byte-flagged pattern
Message-Id: <200709221427.30425@bloodgate.com>

p4raw-id: //depot/perl@31961

13 years ago[patch] Dual-lifing constant.pm
Sébastien Aperghis-Tramoni [Tue, 25 Sep 2007 02:11:46 +0000 (04:11 +0200)]
[patch] Dual-lifing constant.pm
Message-Id: <454B4D1C-48EE-4CA3-834A-A0F872C9E5FC@free.fr>

p4raw-id: //depot/perl@31960

13 years agostop lib/perl5db.t failure if Term::ReadLine::Perl is installed
Slaven Rezic [Mon, 24 Sep 2007 23:24:37 +0000 (01:24 +0200)]
stop lib/perl5db.t failure if Term::ReadLine::Perl is installed
Message-ID: <871wcnwycq.fsf@biokovo-amd64.herceg.de>

p4raw-id: //depot/perl@31959

13 years agoREADME.cygwin update
Jerry D. Hedden [Mon, 24 Sep 2007 20:58:00 +0000 (16:58 -0400)]
README.cygwin update
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709241758o4027c237w7387e7ab86680d55@mail.gmail.com>

p4raw-id: //depot/perl@31958

13 years ago$^E is not Win32::GetLastError under Cygwin
Jerry D. Hedden [Mon, 24 Sep 2007 20:39:44 +0000 (16:39 -0400)]
$^E is not Win32::GetLastError under Cygwin
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709241739q62b4f2eaycf13cb9956f8fab3@mail.gmail.com>

p4raw-id: //depot/perl@31957

13 years agoRe: Change 31935: Upgrade to Win32-0.32
Jerry D. Hedden [Mon, 24 Sep 2007 20:23:49 +0000 (16:23 -0400)]
Re: Change 31935: Upgrade to Win32-0.32
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510709241723o58cc1167m2c44221b77959994@mail.gmail.com>

(Check Win32::GetLastError() rather than $^E for Cygwin, on which $^E
is the last posix error (the same as $!), not the last Win32 error)

p4raw-id: //depot/perl@31956

13 years ago[patch] improve B::Concise -src support
Jim Cromie [Mon, 24 Sep 2007 00:28:28 +0000 (18:28 -0600)]
[patch] improve B::Concise -src support
Message-ID: <46F7590C.1070101@gmail.com>

p4raw-id: //depot/perl@31955

13 years agosixth attempt to silence S_emulate_eaccess compiler warning
Dave Mitchell [Mon, 24 Sep 2007 14:18:03 +0000 (14:18 +0000)]
sixth attempt to silence S_emulate_eaccess compiler warning

p4raw-id: //depot/perl@31954

13 years agoUpgrade to Compress::Zlib 2.007
Rafael Garcia-Suarez [Mon, 24 Sep 2007 13:19:10 +0000 (13:19 +0000)]
Upgrade to Compress::Zlib 2.007

p4raw-id: //depot/perl@31953

13 years agoUpgrade to threads::shared 1.14
Rafael Garcia-Suarez [Mon, 24 Sep 2007 12:50:02 +0000 (12:50 +0000)]
Upgrade to threads::shared 1.14
Corrects warnings reported by Devel::PPPort.

p4raw-id: //depot/perl@31952

13 years agoRe: BigInt bug with non-integer accuracy/precision
Tels [Sat, 22 Sep 2007 11:33:34 +0000 (13:33 +0200)]
Re: BigInt bug with non-integer accuracy/precision
Message-Id: <200709221133.35110@bloodgate.com>

p4raw-id: //depot/perl@31951

13 years agoAnnounce plans for -Duse32bit* options for Configure, and document
H.Merijn Brand [Mon, 24 Sep 2007 08:34:14 +0000 (08:34 +0000)]
Announce plans for -Duse32bit* options for Configure, and document
that there is no guarantee on 32bit builds when no args passed

p4raw-id: //depot/perl@31950

13 years agoAllow IEEE math to be deselected on OpenVMS I64 (but it remains
Craig A. Berry [Mon, 24 Sep 2007 02:51:23 +0000 (02:51 +0000)]
Allow IEEE math to be deselected on OpenVMS I64 (but it remains
the default).

p4raw-id: //depot/perl@31949

13 years agosilence a spurious compiler warning in regcomp.c
Dave Mitchell [Mon, 24 Sep 2007 01:20:00 +0000 (01:20 +0000)]
silence a spurious compiler warning in regcomp.c

p4raw-id: //depot/perl@31948

13 years agofifth attempt to silence S_emulate_eaccess compiler warning
Dave Mitchell [Mon, 24 Sep 2007 00:42:07 +0000 (00:42 +0000)]
fifth attempt to silence S_emulate_eaccess compiler warning

p4raw-id: //depot/perl@31947

13 years agoAnd some more VMS-specific additions to PL_bincompat_options.
Craig A. Berry [Sun, 23 Sep 2007 23:44:59 +0000 (23:44 +0000)]
And some more VMS-specific additions to PL_bincompat_options.

p4raw-id: //depot/perl@31946

13 years agoAdd USE_IEEE to PL_bincompat_options, as use_ieee in the configuration
Nicholas Clark [Sun, 23 Sep 2007 21:10:27 +0000 (21:10 +0000)]
Add USE_IEEE to PL_bincompat_options, as use_ieee in the configuration
on VMS affects binary compatibility.

p4raw-id: //depot/perl@31945

13 years agoRecord IEEE usage in config.h on VMS.
Craig A. Berry [Sun, 23 Sep 2007 15:09:51 +0000 (15:09 +0000)]
Record IEEE usage in config.h on VMS.

p4raw-id: //depot/perl@31944

13 years agoRevert #31942, as it was inconsistent between threaded and
H.Merijn Brand [Sun, 23 Sep 2007 13:57:00 +0000 (13:57 +0000)]
Revert #31942, as it was inconsistent between threaded and
non-threaded builds

p4raw-id: //depot/perl@31943

13 years agonetbsd's setlocale () doesn't support LC_COLLATE and LC_NUMERIC
Abe Timmerman [Sun, 23 Sep 2007 01:11:50 +0000 (03:11 +0200)]
netbsd's setlocale () doesn't support LC_COLLATE and LC_NUMERIC
Subject: Re: Smoke [5.10.0] 31938 FAIL(F) netbsd 3.1 (i386/1 cpu)
Message-ID: <46F5A136.8080000@ztreet.demon.nl>

p4raw-id: //depot/perl@31942

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