This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
18 years agosv.c, rs.t, perlvar.pod (Coverity finding: did you know what happens with $/=\0?)
Jarkko Hietaniemi [Sat, 8 Apr 2006 18:25:33 +0000 (21:25 +0300)]
sv.c, rs.t, perlvar.pod (Coverity finding: did you know what happens with $/=\0?)
Message-Id: <20060408152533.C4D5F6D08C@ugli.hut.fi>

(although I should add that this version of Coverity is actually
raising a false positive here, albeit something still interesting)

p4raw-id: //depot/perl@27744

18 years agoAs av_dup, gv_dup and hv_dup are the same as sv_dup, code in various
Nicholas Clark [Sat, 8 Apr 2006 15:14:13 +0000 (15:14 +0000)]
As av_dup, gv_dup and hv_dup are the same as sv_dup, code in various
branches of Perl_ss_dup() is actually duplicated, so can be merged.

p4raw-id: //depot/perl@27741

18 years agoBy swapping the order of pushes onto the save stack for
Nicholas Clark [Sat, 8 Apr 2006 14:46:53 +0000 (14:46 +0000)]
By swapping the order of pushes onto the save stack for
SAVEt_GENERIC_PVREF, we can merge it with SAVEt_PPTR in Perl_ss_dup().

p4raw-id: //depot/perl@27740

18 years agoTeach ss_dup about SAVEt_RE_STATE. (As correctly as it ever was before)
Nicholas Clark [Sat, 8 Apr 2006 13:43:46 +0000 (13:43 +0000)]
Teach ss_dup about SAVEt_RE_STATE. (As correctly as it ever was before)

p4raw-id: //depot/perl@27739

18 years agoss_dup of SAVEt_COP_ARYBASE can use the same code as SAVEt_I8.
Nicholas Clark [Sat, 8 Apr 2006 12:50:13 +0000 (12:50 +0000)]
ss_dup of SAVEt_COP_ARYBASE can use the same code as SAVEt_I8.

p4raw-id: //depot/perl@27738

18 years agoGive more information in the panic in ss_dup. (Although I'm not sure
Nicholas Clark [Fri, 7 Apr 2006 21:24:35 +0000 (21:24 +0000)]
Give more information in the panic in ss_dup. (Although I'm not sure
if croak() works at this point, given PerlIO's dependency on a
functional interpreter.)

p4raw-id: //depot/perl@27737

18 years agoMake perl_fini() run when compiling perl with
Gisle Aas [Fri, 7 Apr 2006 16:08:26 +0000 (16:08 +0000)]
Make perl_fini() run when compiling perl with
the Sun WorkShop compiler.

p4raw-id: //depot/perl@27736

18 years agoPatch from Jarkko to fix breakage caused by change #27649
Steve Hay [Fri, 7 Apr 2006 14:55:41 +0000 (14:55 +0000)]
Patch from Jarkko to fix breakage caused by change #27649
see: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00144.html
p4raw-link: @27649 on //depot/perl: 9ddc1e7af8675795ad0346c1274fd40d4096c50f

p4raw-id: //depot/perl@27735

18 years agoOops. Being too terse for my own good - it's not a great idea to chain
Nicholas Clark [Fri, 7 Apr 2006 12:49:11 +0000 (12:49 +0000)]
Oops. Being too terse for my own good - it's not a great idea to chain
assignment of char * to struct pmop *, even when the value is NULL.

p4raw-id: //depot/perl@27734

18 years ago[patch@27694] VMS RMSEXPAND/PERL_CANDO fixes
John E. Malmberg [Mon, 3 Apr 2006 07:39:10 +0000 (03:39 -0400)]
[patch@27694] VMS RMSEXPAND/PERL_CANDO fixes
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4431095E.8030003@qsl.net>

p4raw-id: //depot/perl@27733

18 years agoMove all the regexp state variables into a single structure.
Nicholas Clark [Thu, 6 Apr 2006 15:52:37 +0000 (15:52 +0000)]
Move all the regexp state variables into a single structure.
This allows it to be saved, restored and cloned with a single Copy()
(but inevitably still some fixup)

p4raw-id: //depot/perl@27732

18 years agoRe: Smoke [5.9.4] 27728 FAIL(F) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Rafael Garcia-Suarez [Thu, 6 Apr 2006 14:32:50 +0000 (16:32 +0200)]
Re: Smoke [5.9.4] 27728 FAIL(F) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Message-ID: <20060406143250.5a7de4b8@grubert.mandriva.com>

p4raw-id: //depot/perl@27731

18 years agoFix skip count in ext\B\t\lint.t
Steve Hay [Thu, 6 Apr 2006 12:16:53 +0000 (12:16 +0000)]
Fix skip count in ext\B\t\lint.t

p4raw-id: //depot/perl@27729

18 years agoSave the regexp engine state as 1 block on the save stack.
Nicholas Clark [Wed, 5 Apr 2006 21:40:11 +0000 (21:40 +0000)]
Save the regexp engine state as 1 block on the save stack.

p4raw-id: //depot/perl@27728

18 years agoRe: expr foreach (...) isn't a B::Lint warning anymore
Joshua ben Jore [Wed, 5 Apr 2006 01:11:11 +0000 (20:11 -0500)]
Re: expr foreach (...) isn't a B::Lint warning anymore
From: "Joshua ben Jore" <twists@gmail.com>
Message-ID: <dc5c751d0604042311v354547aanf482b3259e56ebb8@mail.gmail.com>

p4raw-id: //depot/perl@27727

18 years agoPerl_save_alloc can use the new(er) SSGROW rather than looping.
Nicholas Clark [Wed, 5 Apr 2006 20:19:34 +0000 (20:19 +0000)]
Perl_save_alloc can use the new(er) SSGROW rather than looping.

p4raw-id: //depot/perl@27726

18 years agoAssigning undef to an entry in %ENV shouldn't produce warnings, even
Rafael Garcia-Suarez [Wed, 5 Apr 2006 19:45:42 +0000 (19:45 +0000)]
Assigning undef to an entry in %ENV shouldn't produce warnings, even
though it's silently converted to ""

p4raw-id: //depot/perl@27725

18 years agoTry not to use negative values when accessing arrays in C. Yet another
Steve Peters [Wed, 5 Apr 2006 16:15:41 +0000 (16:15 +0000)]
Try not to use negative values when accessing arrays in C.  Yet another
Coverity catch.

p4raw-id: //depot/perl@27724

18 years agoInitializing variables is good. This is another Coverity catch.
Steve Peters [Wed, 5 Apr 2006 15:31:18 +0000 (15:31 +0000)]
Initializing variables is good.  This is another Coverity catch.

p4raw-id: //depot/perl@27723

18 years agoperlio.c breaks on Solaris/gcc when > 256 FDs are available
Alan Burlison [Wed, 5 Apr 2006 15:52:14 +0000 (16:52 +0100)]
perlio.c breaks on Solaris/gcc when > 256 FDs are available
Message-ID: <4433D99E.40800@sun.com>

p4raw-id: //depot/perl@27722

18 years agoThere should be only one META.yml file
Rafael Garcia-Suarez [Wed, 5 Apr 2006 12:56:10 +0000 (12:56 +0000)]
There should be only one META.yml file

p4raw-id: //depot/perl@27721

18 years agoFix test portability on non-ASCII platforms
SADAHIRO Tomoyuki [Wed, 5 Apr 2006 21:13:02 +0000 (06:13 +0900)]
Fix test portability on non-ASCII platforms

Subject: Re: lib/ExtUtils/t/Constant.t problem on z/OS
Message-Id: <20060405210426.F99D.BQW10602@nifty.com>

p4raw-id: //depot/perl@27720

18 years agoDocument the functions htmlify() and anchorify() in Pod::Html.
Steve Peters [Wed, 5 Apr 2006 11:49:23 +0000 (11:49 +0000)]
Document the functions htmlify() and anchorify() in Pod::Html.

p4raw-id: //depot/perl@27719

18 years agoSimplify tests for fork() capabilities
Steve Hay [Wed, 5 Apr 2006 10:35:58 +0000 (10:35 +0000)]
Simplify tests for fork() capabilities

Jarkko pointed out that change #27710 was causing some
black smoke so makes the tests for fork() simpler, as
per lib\Test\Simple\t\fork.t for now. (Ideally we want
a $Config{d_pseudofork}, as suggested by Andy Dougherty,
but that'll have to wait until I get some more tuits.)
p4raw-link: @27710 on //depot/perl: 2f78ce11bc4a9355ade5d20a0825b10fbb177169

p4raw-id: //depot/perl@27718

18 years ago(??{...}) didn't always restore PL_reg_re.
Dave Mitchell [Wed, 5 Apr 2006 03:17:50 +0000 (03:17 +0000)]
(??{...}) didn't always restore PL_reg_re.
Also trie debugging output was using a var that was no longer
valid

p4raw-id: //depot/perl@27717

18 years agoeliminate PL_regprecomp, PL_regprogram, PL_regnpar and PL_regdata
Dave Mitchell [Wed, 5 Apr 2006 01:50:33 +0000 (01:50 +0000)]
eliminate PL_regprecomp, PL_regprogram, PL_regnpar and PL_regdata
(only another 441 global vars to go ...)

p4raw-id: //depot/perl@27716

18 years agorestructure the EVAL branch of regmatch() to minimise local var scope
Dave Mitchell [Wed, 5 Apr 2006 01:26:59 +0000 (01:26 +0000)]
restructure the EVAL branch of regmatch() to minimise local var scope
(no changes to functionality)

p4raw-id: //depot/perl@27715

18 years agoRe: Making IO::Socket pass test on Win32
Jim Cromie [Tue, 4 Apr 2006 11:07:03 +0000 (07:07 -0400)]
Re: Making IO::Socket pass test on Win32
Message-ID: <44328B97.2060903@gmail.com>

p4raw-id: //depot/perl@27714

18 years agoFEATURE_IS_ENABLED takes only one parameter now, so reflect that in
Rafael Garcia-Suarez [Tue, 4 Apr 2006 12:42:44 +0000 (12:42 +0000)]
FEATURE_IS_ENABLED takes only one parameter now, so reflect that in
perl_keyword.pl

p4raw-id: //depot/perl@27713

18 years agothreads.pm should overload != operator
Jan Dubois [Mon, 3 Apr 2006 18:06:24 +0000 (11:06 -0700)]
threads.pm should overload != operator
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <02fc01c65783$fe4820f0$2217a8c0@candy>

p4raw-id: //depot/perl@27712

18 years agoFix syntax error in io_pipe test
Rafael Garcia-Suarez [Tue, 4 Apr 2006 11:14:27 +0000 (11:14 +0000)]
Fix syntax error in io_pipe test

p4raw-id: //depot/perl@27711

18 years agoRe: Making IO::Socket pass test on Win32
Yves Orton [Sun, 2 Apr 2006 11:07:19 +0000 (13:07 +0200)]
Re: Making IO::Socket pass test on Win32
Message-ID: <9b18b3110604020107o6a0b594cwfc2344a172c360b0@mail.gmail.com>

plus extra $Config{d_fork} changes to io_pipe.t and io_multihomed.t

p4raw-id: //depot/perl@27710

18 years agoMove conditional SOCKS5 code into #ifdefs
Andy Lester [Mon, 3 Apr 2006 08:28:18 +0000 (03:28 -0500)]
Move conditional SOCKS5 code into #ifdefs
Message-ID: <20060403132818.GA7820@petdance.com>

p4raw-id: //depot/perl@27709

18 years agoChange 27592 disabled the building of manpages for non core-extensions
Gisle Aas [Tue, 4 Apr 2006 08:36:02 +0000 (08:36 +0000)]
Change 27592 disabled the building of manpages for non core-extensions
The init_MAN3PODS method need to be called when no INSTALLMAN3DIR is
present in the first place.

p4raw-id: //depot/perl@27708

18 years ago"smart match" description in overload.pm is in the middle of "fallback" section
Jan Dubois [Mon, 3 Apr 2006 18:11:55 +0000 (11:11 -0700)]
"smart match" description in overload.pm is in the middle of "fallback" section
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <02fd01c65784$c3f3c430$2217a8c0@candy>

p4raw-id: //depot/perl@27707

18 years agosort out some utime() issues on VMS
Craig A. Berry [Tue, 4 Apr 2006 03:12:34 +0000 (03:12 +0000)]
sort out some utime() issues on VMS

p4raw-id: //depot/perl@27706

18 years ago2nd patch to sync blead 'threads' with CPAN [REPOST]
Jerry D. Hedden [Mon, 3 Apr 2006 06:10:35 +0000 (23:10 -0700)]
2nd patch to sync blead 'threads' with CPAN [REPOST]
From: "Jerry D. Hedden" <jerry@hedden.us>
Message-ID: <20060403061035.fb30e530d17747c2b054d625b8945d88.7482c755b8.wbe@email.email.secureserver.net>

p4raw-id: //depot/perl@27705

18 years agoTwo modules in ext/ have dependencies that are post-miniperl.
Nicholas Clark [Mon, 3 Apr 2006 11:32:44 +0000 (11:32 +0000)]
Two modules in ext/ have dependencies that are post-miniperl.
Encode this information in the Makefile for now.

p4raw-id: //depot/perl@27704

18 years agoRegeneration after backports of #27447, #27484, #27485, #27488,
H.Merijn Brand [Mon, 3 Apr 2006 10:02:37 +0000 (10:02 +0000)]
Regeneration after backports of #27447, #27484, #27485, #27488,
#27489, #27490, #27491, and #27632

p4raw-id: //depot/perl@27703

18 years agoundo #27700 and add a missing Safefree()
Dave Mitchell [Mon, 3 Apr 2006 09:56:29 +0000 (09:56 +0000)]
undo #27700 and add a missing Safefree()

p4raw-id: //depot/perl@27702

18 years agoSvREFCNT_inc tweaks
Andy Lester [Sat, 1 Apr 2006 02:01:30 +0000 (20:01 -0600)]
SvREFCNT_inc tweaks
Message-ID: <20060401080130.GA19372@petdance.com>

p4raw-id: //depot/perl@27701

18 years agoRemoved unused code in regexec.c
Andy Lester [Mon, 3 Apr 2006 00:00:50 +0000 (19:00 -0500)]
Removed unused code in regexec.c
Message-ID: <20060403050050.GA19055@petdance.com>

p4raw-id: //depot/perl@27700

18 years agoext/IO/t/io_unix.t
Jarkko Hietaniemi [Sun, 2 Apr 2006 21:57:19 +0000 (00:57 +0300)]
ext/IO/t/io_unix.t
Message-ID: <44301E8F.2060503@gmail.com>

p4raw-id: //depot/perl@27699

18 years agorevisited: pow.t test failures on AIX 5.1 perl588 with -Duselongdouble
John L. Allen [Thu, 30 Mar 2006 17:53:13 +0000 (12:53 -0500)]
revisited: pow.t test failures on AIX 5.1 perl588 with -Duselongdouble
From: "John L. Allen" <allen@grumman.com>
Message-ID: <Pine.GSO.4.53.0603301710140.24672@gateway.northropgrumman.com>

p4raw-id: //depot/perl@27698

18 years agoDocument that the regexp engine is not currently reentrant
Dominic Dunlop [Sun, 2 Apr 2006 21:13:59 +0000 (23:13 +0200)]
Document that the regexp engine is not currently reentrant

Subject: Re: [perl #33936] segment fault when using split() in regexp with (??{...})
Message-Id: <AD104FE7-2BD6-49B6-A845-46458179A4B1@computer.org>

p4raw-id: //depot/perl@27697

18 years agoTake splint into account for PERL_UNUSED_ARG (patch by Jarkko)
Rafael Garcia-Suarez [Mon, 3 Apr 2006 08:22:15 +0000 (08:22 +0000)]
Take splint into account for PERL_UNUSED_ARG (patch by Jarkko)

p4raw-id: //depot/perl@27696

18 years agoanonymous unions aren't legal ANSI c
Dave Mitchell [Mon, 3 Apr 2006 01:31:12 +0000 (01:31 +0000)]
anonymous unions aren't legal ANSI c

p4raw-id: //depot/perl@27694

18 years agoThe make_ext script should pass MAKE=$MAKE to submakes it invokes for
Nicholas Clark [Mon, 3 Apr 2006 00:25:45 +0000 (00:25 +0000)]
The make_ext script should pass MAKE=$MAKE to submakes it invokes for
extentions, as they in turn may invoke $MAKE, and should invoke the
same $MAKE as at the top level, which may not be $Config{make}

p4raw-id: //depot/perl@27693

18 years agowhoops, change 27691 blew away the regexec.c changes from 27688
Dave Mitchell [Sun, 2 Apr 2006 23:50:25 +0000 (23:50 +0000)]
whoops, change 27691 blew away the regexec.c changes from 27688

p4raw-id: //depot/perl@27692

18 years agosubsume CURCUR (current curly) struct within the main regmatch_state
Dave Mitchell [Sun, 2 Apr 2006 22:37:57 +0000 (22:37 +0000)]
subsume CURCUR (current curly) struct within the main regmatch_state

p4raw-id: //depot/perl@27691

18 years agoRemoved unnecessary pointers checks
Andy Lester [Sat, 1 Apr 2006 01:01:32 +0000 (19:01 -0600)]
Removed unnecessary pointers checks
Message-ID: <20060401070132.GA6616@petdance.com>

p4raw-id: //depot/perl@27690

18 years agoPrevent "use sort 'stable'" from reversing the order
Robin Houston [Sun, 2 Apr 2006 17:20:24 +0000 (18:20 +0100)]
Prevent "use sort 'stable'" from reversing the order
Message-ID: <20060402162024.GA3854@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@27689

18 years agoRe: [perl #38293] chr(65535) should be allowed in regexes
SADAHIRO Tomoyuki [Sun, 2 Apr 2006 22:48:44 +0000 (07:48 +0900)]
Re: [perl #38293] chr(65535) should be allowed in regexes
Message-Id: <20060402224657.B942.BQW10602@nifty.com>

p4raw-id: //depot/perl@27688

18 years agoChange 27677 missed two direct accesses to op_private in COPs.
Nicholas Clark [Sun, 2 Apr 2006 20:27:24 +0000 (20:27 +0000)]
Change 27677 missed two direct accesses to op_private in COPs.
I believe that all are now found, as redefining CopHINTS_get(c)
to (~(c)->op_private) (with corresponding changes to CopHINTS_set()
and the initialisation of PL_compiling) works.

p4raw-id: //depot/perl@27687

18 years agoFirst stab at a more reliable Glossary. This now is (again)
H.Merijn Brand [Sun, 2 Apr 2006 19:10:55 +0000 (19:10 +0000)]
First stab at a more reliable Glossary. This now is (again)
mostly generated. (Well, It's a repair to the existing version
"based on" a generated version, which is now well sorted, but
still incomplete for less obvious reasons).

p4raw-id: //depot/perl@27686

18 years agomake parts of struct regmatch_state unions
Dave Mitchell [Sun, 2 Apr 2006 18:32:32 +0000 (18:32 +0000)]
make parts of struct regmatch_state unions
This reduces its size from 120 to 72 bytes

p4raw-id: //depot/perl@27685

18 years agoBetter failure diagnostics from switch.t.
Nicholas Clark [Sun, 2 Apr 2006 17:05:34 +0000 (17:05 +0000)]
Better failure diagnostics from switch.t.

p4raw-id: //depot/perl@27681

18 years agoRe: recent changes have some unmatching of parameters and types
SADAHIRO Tomoyuki [Sun, 2 Apr 2006 12:32:53 +0000 (21:32 +0900)]
Re: recent changes have some unmatching of parameters and types
Message-Id: <20060402122547.0037.BQW10602@nifty.com>
Date: Sun, 02 Apr 2006 12:32:53 +0900

p4raw-id: //depot/perl@27680

18 years agouse slabs to allocate save state space in regmatch()
Dave Mitchell [Sun, 2 Apr 2006 16:32:10 +0000 (16:32 +0000)]
use slabs to allocate save state space in regmatch()

p4raw-id: //depot/perl@27679

18 years agoAbstract all reads/writes of the hints in COPs with 2 new macros,
Nicholas Clark [Sun, 2 Apr 2006 11:17:58 +0000 (11:17 +0000)]
Abstract all reads/writes of the hints in COPs with 2 new macros,
CopHINTS_get() and CopHINTS_set().

p4raw-id: //depot/perl@27677

18 years ago'SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv)' is 'SvIV(sv)' so write it as such.
Nicholas Clark [Sun, 2 Apr 2006 10:55:36 +0000 (10:55 +0000)]
'SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv)' is 'SvIV(sv)' so write it as such.

p4raw-id: //depot/perl@27676

18 years agoConvert ByteLoader to use CopARYBASE_set().
Nicholas Clark [Sun, 2 Apr 2006 10:41:30 +0000 (10:41 +0000)]
Convert ByteLoader to use CopARYBASE_set().

p4raw-id: //depot/perl@27674

18 years agoAbstract all the accesses to cop_arybase (apart from ByteLoader)
Nicholas Clark [Sun, 2 Apr 2006 10:08:04 +0000 (10:08 +0000)]
Abstract all the accesses to cop_arybase (apart from ByteLoader)

p4raw-id: //depot/perl@27671

18 years agofix typo in vms/gen_shrfls.pl itanium detector
Craig A. Berry [Sun, 2 Apr 2006 01:09:38 +0000 (01:09 +0000)]
fix typo in vms/gen_shrfls.pl itanium detector

p4raw-id: //depot/perl@27669

18 years agoIf the passed in target rv for Perl_newSVrv() was already a reference
Nicholas Clark [Sat, 1 Apr 2006 23:34:10 +0000 (23:34 +0000)]
If the passed in target rv for Perl_newSVrv() was already a reference
to something, it would leak the reference count on that thing.

p4raw-id: //depot/perl@27668

18 years agoTest no mypragma;
Nicholas Clark [Sat, 1 Apr 2006 23:09:34 +0000 (23:09 +0000)]
Test no mypragma;

p4raw-id: //depot/perl@27667

18 years agoAutomatically set HINT_LOCALIZE_HH whenever %^H is modified.
Nicholas Clark [Sat, 1 Apr 2006 21:17:46 +0000 (21:17 +0000)]
Automatically set HINT_LOCALIZE_HH whenever %^H is modified.

p4raw-id: //depot/perl@27666

18 years agoThe call to Perl_hv_assert(aTHX_ hv) should be wrapped in a DEBUG_A().
Nicholas Clark [Sat, 1 Apr 2006 19:38:31 +0000 (19:38 +0000)]
The call to Perl_hv_assert(aTHX_ hv) should be wrapped in a DEBUG_A().

p4raw-id: //depot/perl@27665

18 years agoTest that user pragmas work inside string eval.
Nicholas Clark [Sat, 1 Apr 2006 15:26:48 +0000 (15:26 +0000)]
Test that user pragmas work inside string eval.

p4raw-id: //depot/perl@27664

18 years agoAdd Rafael's example user pragma, and convert his demo to a test.
Nicholas Clark [Sat, 1 Apr 2006 15:22:54 +0000 (15:22 +0000)]
Add Rafael's example user pragma, and convert his demo to a test.

p4raw-id: //depot/perl@27663

18 years agoIf the comment says "(and not ours)" then it should be tested.
Nicholas Clark [Sat, 1 Apr 2006 15:21:56 +0000 (15:21 +0000)]
If the comment says "(and not ours)" then it should be tested.

p4raw-id: //depot/perl@27662

18 years agoRewrite t/op/getppid.t to remove the assumption that init has PID of 1.
Nicholas Clark [Sat, 1 Apr 2006 15:11:11 +0000 (15:11 +0000)]
Rewrite t/op/getppid.t to remove the assumption that init has PID of 1.

p4raw-id: //depot/perl@27660

18 years agoPropagate cop_hints inside string evals. For the unthreaded case this
Nicholas Clark [Sat, 1 Apr 2006 14:31:37 +0000 (14:31 +0000)]
Propagate cop_hints inside string evals. For the unthreaded case this
is easy. For the threaded case it's not, because the current OP may
be shared with another thread, so solve this by copying the hints
chain.

p4raw-id: //depot/perl@27659

18 years agoInconsistencies in paramter const-ness noticed by SADAHIRO Tomoyuki.
Nicholas Clark [Sat, 1 Apr 2006 12:32:23 +0000 (12:32 +0000)]
Inconsistencies in paramter const-ness noticed by SADAHIRO Tomoyuki.

p4raw-id: //depot/perl@27657

18 years agoRe: recursion now removed from the regex engine
Dominic Dunlop [Thu, 30 Mar 2006 10:31:55 +0000 (12:31 +0200)]
Re: recursion now removed from the regex engine
Message-Id: <C4D69F9F-FB90-4564-8C46-E51765EB0440@mac.com>

p4raw-id: //depot/perl@27656

18 years agoUpdated version of the grumpy comment deleted by change #27649,
Rafael Garcia-Suarez [Fri, 31 Mar 2006 20:02:40 +0000 (20:02 +0000)]
Updated version of the grumpy comment deleted by change #27649,
by Jarkko
p4raw-link: @27649 on //depot/perl: 9ddc1e7af8675795ad0346c1274fd40d4096c50f

p4raw-id: //depot/perl@27653

18 years agoGlossary part for #27447 (madlyh, madlyobj, madlysrc)
H.Merijn Brand [Fri, 31 Mar 2006 19:36:44 +0000 (19:36 +0000)]
Glossary part for #27447 (madlyh, madlyobj, madlysrc)

p4raw-id: //depot/perl@27652

18 years agoNeed to dup any hints HV stored on the save stack.
Nicholas Clark [Fri, 31 Mar 2006 19:30:09 +0000 (19:30 +0000)]
Need to dup any hints HV stored on the save stack.

p4raw-id: //depot/perl@27650

18 years agoRedo PERL_UNUSED_DECL
Andy Lester [Fri, 31 Mar 2006 00:54:58 +0000 (18:54 -0600)]
Redo PERL_UNUSED_DECL
Message-ID: <20060331065458.GA28571@petdance.com>

p4raw-id: //depot/perl@27649

18 years ago[patch@27638] Enable standard stat for VMS >=8.2
John E. Malmberg [Fri, 31 Mar 2006 00:39:23 +0000 (19:39 -0500)]
[patch@27638] Enable standard stat for VMS >=8.2
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <442CC08A.30409@qsl.net>

p4raw-id: //depot/perl@27648

18 years agoNote future possible flexibility for Perl_magic_sethint().
Nicholas Clark [Fri, 31 Mar 2006 16:22:13 +0000 (16:22 +0000)]
Note future possible flexibility for Perl_magic_sethint().

p4raw-id: //depot/perl@27647

18 years agoTest that entries in %^H are actually independant.
Nicholas Clark [Fri, 31 Mar 2006 16:19:38 +0000 (16:19 +0000)]
Test that entries in %^H are actually independant.

p4raw-id: //depot/perl@27646

18 years agoI can't spell.
Nicholas Clark [Fri, 31 Mar 2006 14:10:39 +0000 (14:10 +0000)]
I can't spell.

p4raw-id: //depot/perl@27645

18 years agoDocument new magic types in perlguts. Fix a comment about sort hints.
Rafael Garcia-Suarez [Fri, 31 Mar 2006 14:08:12 +0000 (14:08 +0000)]
Document new magic types in perlguts. Fix a comment about sort hints.

p4raw-id: //depot/perl@27644

18 years agoSerialise changes to %^H onto the current COP. Return the compile time
Nicholas Clark [Fri, 31 Mar 2006 13:45:57 +0000 (13:45 +0000)]
Serialise changes to %^H onto the current COP. Return the compile time
state of %^H as an eleventh value from caller. This allows users to
write pragmas.

p4raw-id: //depot/perl@27643

18 years agoUpgrade to Time::Local 1.12_01
Rafael Garcia-Suarez [Fri, 31 Mar 2006 13:22:00 +0000 (13:22 +0000)]
Upgrade to Time::Local 1.12_01

p4raw-id: //depot/perl@27642

18 years agoRandom accumulated patches
Andy Lester [Thu, 30 Mar 2006 23:42:28 +0000 (17:42 -0600)]
Random accumulated patches
Message-ID: <20060331054228.GA18940@petdance.com>

p4raw-id: //depot/perl@27641

18 years agoIO::Compress::Zip
Paul Marquess [Fri, 31 Mar 2006 09:48:36 +0000 (10:48 +0100)]
IO::Compress::Zip
From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <005201c6549f$e7374490$2405140a@myopwv.com>

p4raw-id: //depot/perl@27640

18 years agoTest for fileno definedness instead of truth
Rafael Garcia-Suarez [Fri, 31 Mar 2006 08:00:08 +0000 (08:00 +0000)]
Test for fileno definedness instead of truth
Don't load Config.pm, which isn't used

p4raw-id: //depot/perl@27639

18 years agoLocalising hash slices with UTF-8 encoded keys was also buggy.
Nicholas Clark [Thu, 30 Mar 2006 20:55:17 +0000 (20:55 +0000)]
Localising hash slices with UTF-8 encoded keys was also buggy.
(See also change 27637)

p4raw-id: //depot/perl@27638

18 years agoFix bug #38815 (localising keys which are UTF-8 encoded didn't delete
Nicholas Clark [Thu, 30 Mar 2006 20:37:03 +0000 (20:37 +0000)]
Fix bug #38815 (localising keys which are UTF-8 encoded didn't delete
them correctly on scope exit)

p4raw-id: //depot/perl@27637

18 years agoFix bug 36267 - assigning to a tied hash shouldn't change the
Nicholas Clark [Thu, 30 Mar 2006 18:18:27 +0000 (18:18 +0000)]
Fix bug 36267 - assigning to a tied hash shouldn't change the
underlying hash. (It used to, if the underlying hash had had storage
allocated). This has the side effect of changing the return value from
hv_store and hv_store_ent for some tied hash scenarios. But *to*
something consistent (ly crazy)

p4raw-id: //depot/perl@27636

18 years agoPod nit mentioned in Debian bug #358455.
Steve Peters [Thu, 30 Mar 2006 12:49:28 +0000 (12:49 +0000)]
Pod nit mentioned in Debian bug #358455.

p4raw-id: //depot/perl@27635

18 years agoPopulate pre-canned config.sh files with
Gisle Aas [Thu, 30 Mar 2006 12:31:26 +0000 (12:31 +0000)]
Populate pre-canned config.sh files with
d_archlib and d_inc_version_list.
Ref change 27632.

p4raw-id: //depot/perl@27634

18 years agoPATCH t/op/tie.t
Robin Barker [Thu, 30 Mar 2006 13:07:47 +0000 (14:07 +0100)]
PATCH t/op/tie.t
Message-ID: <533D273D4014D411AB1D00062938C4D90849C9CA@hotel.npl.ad.local>

p4raw-id: //depot/perl@27633

18 years agoIntroduce d_sitearch and d_inc_version_list config.sh variables.
Gisle Aas [Thu, 30 Mar 2006 12:13:54 +0000 (12:13 +0000)]
Introduce d_sitearch and d_inc_version_list config.sh variables.
These allow me to set sitearch and sitelib to be the same without
ending up with duplicate entries in @INC.

Basically the same way the old d_archlib variable is used.

p4raw-id: //depot/perl@27632

18 years agoRe: New Module::Build released
Randy W. Sims [Wed, 29 Mar 2006 14:10:32 +0000 (09:10 -0500)]
Re: New Module::Build released
From: "Randy W. Sims" <ml-perl@thepierianspring.org>
Message-ID: <442ADBA8.4000203@thepierianspring.org>

p4raw-id: //depot/perl@27631

18 years agoClean up regexec.c, and remove two functions
Andy Lester [Wed, 29 Mar 2006 10:13:36 +0000 (04:13 -0600)]
Clean up regexec.c, and remove two functions
Message-ID: <20060329161336.GA12456@petdance.com>

p4raw-id: //depot/perl@27630

18 years agochild's processor time
Hugo van der Sanden [Wed, 29 Mar 2006 14:34:00 +0000 (14:34 +0000)]
child's processor time
Message-Id: <200603291234.k2TCY6r29535@zen.crypt.org>

p4raw-id: //depot/perl@27629

18 years agoCLONE for Tie::RefHash
Yuval Kogman [Mon, 27 Mar 2006 15:34:07 +0000 (17:34 +0200)]
CLONE for Tie::RefHash
Message-ID: <20060327133407.GA16901@woobling.org>

(also rename old Tie::RefHash test, so several test files
are allowed.)

p4raw-id: //depot/perl@27628