This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoTest if the probed availability of v?snprintf () is
H.Merijn Brand [Thu, 5 Jan 2006 21:04:32 +0000 (21:04 +0000)]
Test if the probed availability of v?snprintf () is
actually usable. Thanks to Russ and Jarkko.

p4raw-id: //depot/perl@26668

15 years agoUpgrade to CPAN.pm 1.83
Rafael Garcia-Suarez [Thu, 5 Jan 2006 17:39:07 +0000 (17:39 +0000)]
Upgrade to CPAN.pm 1.83

p4raw-id: //depot/perl@26666

15 years agoRegenerate PODs
Rafael Garcia-Suarez [Thu, 5 Jan 2006 17:27:28 +0000 (17:27 +0000)]
Regenerate PODs

p4raw-id: //depot/perl@26665

15 years agoWorkaround another problem following change 26395
Steve Hay [Thu, 5 Jan 2006 17:24:44 +0000 (17:24 +0000)]
Workaround another problem following change 26395

MinGW doesn't like 26395 either! (ref: change 26634)

p4raw-id: //depot/perl@26664

15 years agoReally commit change 26662 (duh)
Rafael Garcia-Suarez [Thu, 5 Jan 2006 17:19:27 +0000 (17:19 +0000)]
Really commit change 26662 (duh)

p4raw-id: //depot/perl@26663

15 years agoLet table of contents know about perllinux man page
Rafael Garcia-Suarez [Thu, 5 Jan 2006 17:17:52 +0000 (17:17 +0000)]
Let table of contents know about perllinux man page

p4raw-id: //depot/perl@26662

15 years agoUpdate Changes
Rafael Garcia-Suarez [Thu, 5 Jan 2006 16:58:51 +0000 (16:58 +0000)]
Update Changes

p4raw-id: //depot/perl@26661

15 years agoMinGW and lib/CORE/Win32.h
Sisyphus [Wed, 4 Jan 2006 21:29:19 +0000 (08:29 +1100)]
MinGW and lib/CORE/Win32.h
From: "Sisyphus" <sisyphus1@optusnet.com.au>
Message-ID: <024301c61119$bca4a840$e201140a@desktop>

p4raw-id: //depot/perl@26659

15 years agoInstall less README files
Rafael Garcia-Suarez [Thu, 5 Jan 2006 15:33:32 +0000 (15:33 +0000)]
Install less README files

p4raw-id: //depot/perl@26658

15 years agoRemove old Pod::Man parser creation.
Rafael Garcia-Suarez [Thu, 5 Jan 2006 14:36:40 +0000 (14:36 +0000)]
Remove old Pod::Man parser creation.
Fix a run-time warning.

p4raw-id: //depot/perl@26657

15 years agoChange installman to instantiate a new Pod::Man instance for each
Steve Peters [Thu, 5 Jan 2006 14:33:16 +0000 (14:33 +0000)]
Change installman to instantiate a new Pod::Man instance for each
file processed.  This is now required with podlators-2.0.

p4raw-id: //depot/perl@26656

15 years agoReorder changes made in change 26630
Steve Hay [Thu, 5 Jan 2006 09:21:52 +0000 (09:21 +0000)]
Reorder changes made in change 26630

(Keep the order in win32/config.* and win32/config_H.* the same as in
Configure and config_H.SH for easier diffing)

p4raw-id: //depot/perl@26655

15 years agoRun regen.pl (Just updating copyright years)
Steve Hay [Wed, 4 Jan 2006 17:57:14 +0000 (17:57 +0000)]
Run regen.pl (Just updating copyright years)

p4raw-id: //depot/perl@26654

15 years agoDon't try to export PL_my_ctx_mutex and PL_my_cxt_* when
Steve Hay [Wed, 4 Jan 2006 17:49:38 +0000 (17:49 +0000)]
Don't try to export PL_my_ctx_mutex and PL_my_cxt_* when
PERL_IMPLICIT_CONTEXT is not defined

Fixes non-threaded build errors on Win32 following change 26523

p4raw-id: //depot/perl@26653

15 years agoMore copyright updates
Rafael Garcia-Suarez [Wed, 4 Jan 2006 17:19:37 +0000 (17:19 +0000)]
More copyright updates

p4raw-id: //depot/perl@26652

15 years agoRe: [patch] optimized constant subs are cool, teach B::Concise about them
Jim Cromie [Tue, 3 Jan 2006 23:18:09 +0000 (16:18 -0700)]
Re: [patch] optimized constant subs are cool, teach B::Concise about them
Message-ID: <43BB68A1.7060708@gmail.com>

With syntactic tweaks to the test file

p4raw-id: //depot/perl@26651

15 years agoMove all the xxxpvs() macros to handy.h.
Gisle Aas [Wed, 4 Jan 2006 16:42:03 +0000 (16:42 +0000)]
Move all the xxxpvs() macros to handy.h.
This brings them closer to STR_WITH_LEN.  Besides only half
of them were sv-related after change 26649.

p4raw-id: //depot/perl@26650

15 years agoMake the new STR_WITH_LEN() affected compile under -Dusethreads.
Gisle Aas [Wed, 4 Jan 2006 16:15:34 +0000 (16:15 +0000)]
Make the new STR_WITH_LEN() affected compile under -Dusethreads.
Can't use STR_WITH_LEN() as argument to a macro :-(

p4raw-id: //depot/perl@26649

15 years agoAdd an extra NUL so that we can use sv_catpvs()
Gisle Aas [Wed, 4 Jan 2006 14:23:20 +0000 (14:23 +0000)]
Add an extra NUL so that we can use sv_catpvs()
for "our @F=split..." and get rid of 15 and the
explaination for why it's there.

p4raw-id: //depot/perl@26648

15 years agoGet rid of hardcoded string length.
Gisle Aas [Wed, 4 Jan 2006 14:10:34 +0000 (14:10 +0000)]
Get rid of hardcoded string length.

p4raw-id: //depot/perl@26647

15 years agoIntroduce newSVpvs_share() macro.
Gisle Aas [Wed, 4 Jan 2006 14:04:16 +0000 (14:04 +0000)]
Introduce newSVpvs_share() macro.
Gets rid of some hardcoded string lengths.

p4raw-id: //depot/perl@26646

15 years agoGet rid of a few more hardcoded string lengths.
Gisle Aas [Wed, 4 Jan 2006 13:53:16 +0000 (13:53 +0000)]
Get rid of a few more hardcoded string lengths.

p4raw-id: //depot/perl@26645

15 years agoUpdate copyright year.
Steve Peters [Wed, 4 Jan 2006 13:13:50 +0000 (13:13 +0000)]
Update copyright year.

p4raw-id: //depot/perl@26644

15 years agoFix some compilation warnings
Rafael Garcia-Suarez [Wed, 4 Jan 2006 13:02:18 +0000 (13:02 +0000)]
Fix some compilation warnings

p4raw-id: //depot/perl@26643

15 years agoGet rid of a few more hardcoded string lengths.
Gisle Aas [Wed, 4 Jan 2006 13:00:45 +0000 (13:00 +0000)]
Get rid of a few more hardcoded string lengths.

p4raw-id: //depot/perl@26642

15 years agoIntroduce the macros newSVpvs(str) and sv_catpvs(sv, str).
Gisle Aas [Wed, 4 Jan 2006 12:48:34 +0000 (12:48 +0000)]
Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).
Gets rid of many hardcoded string lengths.

p4raw-id: //depot/perl@26641

15 years agoRemoved unused part of string passed to sv_catpvn().
Gisle Aas [Wed, 4 Jan 2006 12:35:45 +0000 (12:35 +0000)]
Removed unused part of string passed to sv_catpvn().

p4raw-id: //depot/perl@26640

15 years agoUpdates to various configurations courtesy of Jarkko.
Steve Peters [Wed, 4 Jan 2006 12:31:17 +0000 (12:31 +0000)]
Updates to various configurations courtesy of Jarkko.

p4raw-id: //depot/perl@26639

15 years agoDon't warn about invalid dirhandles in DirHandle::DESTROY().
Steve Peters [Wed, 4 Jan 2006 12:19:49 +0000 (12:19 +0000)]
Don't warn about invalid dirhandles in DirHandle::DESTROY().

p4raw-id: //depot/perl@26638

15 years agoMake Borland and MinGW happy with change 26379
Steve Hay [Wed, 4 Jan 2006 11:10:36 +0000 (11:10 +0000)]
Make Borland and MinGW happy with change 26379

(They both complain "invalid conversion from `void*' to `HWND__*'"
otherwise)

p4raw-id: //depot/perl@26637

15 years agoFix typo in comment.
Gisle Aas [Wed, 4 Jan 2006 10:46:42 +0000 (10:46 +0000)]
Fix typo in comment.

p4raw-id: //depot/perl@26636

15 years agoIntroduce STR_WITH_LEN macro in the form suggested by Chip.
Gisle Aas [Wed, 4 Jan 2006 10:44:48 +0000 (10:44 +0000)]
Introduce STR_WITH_LEN macro in the form suggested by Chip.

p4raw-id: //depot/perl@26635

15 years agoWorkaround Win32 compiler bugs following change 26395
Steve Hay [Wed, 4 Jan 2006 10:39:13 +0000 (10:39 +0000)]
Workaround Win32 compiler bugs following change 26395

Can't understand what VC++ 6 and Borland don't like about it.  There
is similar code for SvMAGIC and SvSTASH already in sv.h.  Must be
compiler bugs since VC++ 7 and MinGW (and compilers on other platforms)
are all happy.

p4raw-id: //depot/perl@26634

15 years agoSilence compiler warning; ref change 26598
Gisle Aas [Wed, 4 Jan 2006 10:25:42 +0000 (10:25 +0000)]
Silence compiler warning; ref change 26598

p4raw-id: //depot/perl@26633

15 years agoAdded snprintf() and vsnprintf() to configure.com as 'undef'.
Steve Peters [Wed, 4 Jan 2006 03:43:20 +0000 (03:43 +0000)]
Added snprintf() and vsnprintf() to configure.com as 'undef'.

p4raw-id: //depot/perl@26632

15 years agoAdd warnings for the various other *dir() functions when attempted
Steve Peters [Wed, 4 Jan 2006 03:31:08 +0000 (03:31 +0000)]
Add warnings for the various other *dir() functions when attempted
on invalid dirhandles.

p4raw-id: //depot/perl@26631

15 years agoAdd snprintf() and vsnprintf() to the various Win32 configuration
Steve Peters [Wed, 4 Jan 2006 02:47:39 +0000 (02:47 +0000)]
Add snprintf() and vsnprintf() to the various Win32 configuration
files.

p4raw-id: //depot/perl@26630

15 years agoRe: [perl #38034] A combination eval, DESTROY method and $@ - dangerous - bug
Mike Guy [Tue, 3 Jan 2006 19:18:41 +0000 (19:18 +0000)]
Re: [perl #38034] A combination eval, DESTROY method and $@ - dangerous - bug
Message-Id: <E1Etrg9-0005XE-LZ@libra.cus.cam.ac.uk>

p4raw-id: //depot/perl@26625

15 years agoIf NV_ZERO_IS_ALLBITS_ZERO is not true, then it's important to inialise
Nicholas Clark [Tue, 3 Jan 2006 19:38:24 +0000 (19:38 +0000)]
If NV_ZERO_IS_ALLBITS_ZERO is not true, then it's important to inialise
the NV only if the new body has an NV. (D'oh!)

p4raw-id: //depot/perl@26623

15 years agoAttemting to readdir() something that isn't a dirhandle should cause
Steve Peters [Tue, 3 Jan 2006 18:14:27 +0000 (18:14 +0000)]
Attemting to readdir() something that isn't a dirhandle should cause
a warning.

p4raw-id: //depot/perl@26617

15 years agoFix release mode builds following change 26598
Steve Hay [Tue, 3 Jan 2006 15:57:18 +0000 (15:57 +0000)]
Fix release mode builds following change 26598

p4raw-id: //depot/perl@26608

15 years agoperldiag.pod additions to go with change #26602.
Steve Peters [Tue, 3 Jan 2006 15:56:19 +0000 (15:56 +0000)]
perldiag.pod additions to go with change #26602.
p4raw-link: @26602 on //depot/perl: 8b5be85c6c6a87e2cf6fc80a9ccc8056a4d1bbf9

p4raw-id: //depot/perl@26607

15 years agoAdd probe for snprintf () and vsnprintf ()
Steve Peters [Mon, 2 Jan 2006 09:37:27 +0000 (03:37 -0600)]
Add probe for snprintf () and vsnprintf ()

Subject: [PATCH] snprintf() and vsnprintf() (was Re: [PATCH] Configure: stdio char (un)signedness)
Message-ID: <20060102153727.GA14247@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@26606

15 years agoUpdate perldelta, up to change 25344 more or less.
Rafael Garcia-Suarez [Tue, 3 Jan 2006 15:42:19 +0000 (15:42 +0000)]
Update perldelta, up to change 25344 more or less.

p4raw-id: //depot/perl@26605

15 years agoBad symbols that are pretending to be dirhandles, should say they
Steve Peters [Tue, 3 Jan 2006 14:58:21 +0000 (14:58 +0000)]
Bad symbols that are pretending to be dirhandles, should say they
are dirhandles in their error messages.

p4raw-id: //depot/perl@26602

15 years agoSync perlfaq.
Rafael Garcia-Suarez [Tue, 3 Jan 2006 14:10:04 +0000 (14:10 +0000)]
Sync perlfaq.

p4raw-id: //depot/perl@26601

15 years agosilence some compiler warnings
Dave Mitchell [Tue, 3 Jan 2006 12:29:38 +0000 (12:29 +0000)]
silence some compiler warnings

p4raw-id: //depot/perl@26598

15 years agoRe: [patch] optimized constant subs are cool, teach B::Concise about them
Jim Cromie [Mon, 2 Jan 2006 15:06:48 +0000 (08:06 -0700)]
Re: [patch] optimized constant subs are cool, teach B::Concise about them
Message-ID: <43B9A3F8.8060609@gmail.com>

p4raw-id: //depot/perl@26595

15 years agoRe: [perl #36837] B::Deparse fails when it comes to ByteLoader programs
Stephen McCamant [Mon, 2 Jan 2006 18:52:24 +0000 (10:52 -0800)]
Re: [perl #36837] B::Deparse fails when it comes to ByteLoader programs
Message-ID: <17337.59112.502009.496275@conquest.OCF.Berkeley.EDU>

p4raw-id: //depot/perl@26594

15 years ago[patch@26561] utf8.c const issue.
John E. Malmberg [Mon, 2 Jan 2006 14:16:02 +0000 (09:16 -0500)]
[patch@26561] utf8.c const issue.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <43B97BF2.2050201@qsl.net>

p4raw-id: //depot/perl@26593

15 years ago[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.81.tar.gz
Andreas König [Tue, 3 Jan 2006 00:33:27 +0000 (01:33 +0100)]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.81.tar.gz
Message-ID: <87u0cm433s.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@26592

15 years agoithreads: SVs that were only on the tmps stack leaked
Dave Mitchell [Tue, 3 Jan 2006 02:20:28 +0000 (02:20 +0000)]
ithreads: SVs that were only on the tmps stack leaked

p4raw-id: //depot/perl@26591

15 years agoThe two never used NOTYET switch ops can go.
Nicholas Clark [Mon, 2 Jan 2006 22:52:03 +0000 (22:52 +0000)]
The two never used NOTYET switch ops can go.

p4raw-id: //depot/perl@26589

15 years agostop DEBUG_LEAKING_SCALARS producing spurious memory pool errors
Dave Mitchell [Mon, 2 Jan 2006 21:50:55 +0000 (21:50 +0000)]
stop DEBUG_LEAKING_SCALARS producing spurious memory pool errors
(change #25775 wasn't complete)
p4raw-link: @25775 on //depot/perl: 22162ca81623f0ce6683af5e97b91bf10ad89079

p4raw-id: //depot/perl@26587

15 years agoMore missing AUTHORS
Nicholas Clark [Mon, 2 Jan 2006 20:48:30 +0000 (20:48 +0000)]
More missing AUTHORS

p4raw-id: //depot/perl@26586

15 years agopatch@26561 & earlier - buffer overrun in VMS.C
John E. Malmberg [Mon, 2 Jan 2006 14:05:43 +0000 (09:05 -0500)]
patch@26561 & earlier - buffer overrun in VMS.C
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <43B97987.70201@qsl.net>

p4raw-id: //depot/perl@26581

15 years agoErk! craigb's changes come out of p4 with ^Ms as line endings.
Nicholas Clark [Mon, 2 Jan 2006 18:48:13 +0000 (18:48 +0000)]
Erk! craigb's changes come out of p4 with ^Ms as line endings.
Long term, need to fix the update changes script to cope.

p4raw-id: //depot/perl@26580

15 years agoMore missing AUTHORS
Nicholas Clark [Mon, 2 Jan 2006 18:44:14 +0000 (18:44 +0000)]
More missing AUTHORS

p4raw-id: //depot/perl@26579

15 years agoFix up missing and duplicate AUTHORS
Nicholas Clark [Mon, 2 Jan 2006 17:04:55 +0000 (17:04 +0000)]
Fix up missing and duplicate AUTHORS

p4raw-id: //depot/perl@26578

15 years agoRe: [patch] optimized constant subs are cool, teach B::Concise about them
Jim Cromie [Sun, 1 Jan 2006 23:05:00 +0000 (16:05 -0700)]
Re: [patch] optimized constant subs are cool, teach B::Concise about them
Message-ID: <43B8C28C.20502@gmail.com>

p4raw-id: //depot/perl@26576

15 years agoSince we no longer autovivify stashes (change #26370), we need
Rafael Garcia-Suarez [Mon, 2 Jan 2006 15:19:59 +0000 (15:19 +0000)]
Since we no longer autovivify stashes (change #26370), we need
to turn off strict-refs on them, or we'll have a stricture
error the first time we'd try to access them (when they'll be
actually autovivified).
p4raw-link: @26370 on //depot/perl: adc51b978ed1b2e9d4512c9bfa80386ac917d05a

p4raw-id: //depot/perl@26574

15 years agoDocumentation fix for File::Temp::new
pm@capmon.dk [Mon, 2 Jan 2006 02:48:41 +0000 (18:48 -0800)]
Documentation fix for File::Temp::new

Subject: [perl #38127] Bug in perldoc File::Temp
From: pm@capmon.dk (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-38127-126764.0.578515622359532@perl.org>

p4raw-id: //depot/perl@26573

15 years agoHappy New Year. (It's not just embed.pl).
Nicholas Clark [Mon, 2 Jan 2006 14:43:37 +0000 (14:43 +0000)]
Happy New Year. (It's not just embed.pl).

p4raw-id: //depot/perl@26572

15 years agoNote that the "unlink"ing directories is attempted when running as a
Steve Peters [Mon, 2 Jan 2006 14:24:58 +0000 (14:24 +0000)]
Note that the "unlink"ing directories is attempted when running as a
superuser, and that some operating systems may not support it.

p4raw-id: //depot/perl@26571

15 years agoTypo fix in the description of change 26370.
Nicholas Clark [Mon, 2 Jan 2006 12:19:51 +0000 (12:19 +0000)]
Typo fix in the description of change 26370.
(Also corrected in the repository)

p4raw-id: //depot/perl@26570

15 years agoadd svt_local slot to magic vtable, and fix local $shared
Dave Mitchell [Mon, 2 Jan 2006 12:09:37 +0000 (12:09 +0000)]
add svt_local slot to magic vtable, and fix local $shared

p4raw-id: //depot/perl@26569

15 years agoAdd 2006 to the copyright years in the header generated by embed.pl
Nicholas Clark [Mon, 2 Jan 2006 11:48:28 +0000 (11:48 +0000)]
Add 2006 to the copyright years in the header generated by embed.pl

p4raw-id: //depot/perl@26565

15 years ago[patch] comment grammar and indentation, spurious tab
Jim Cromie [Fri, 30 Dec 2005 22:45:55 +0000 (15:45 -0700)]
[patch] comment grammar and indentation, spurious tab
Message-ID: <43B61B13.3050704@gmail.com>

p4raw-id: //depot/perl@26564

15 years ago[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.80_58.tar.gz
Andreas König [Sun, 1 Jan 2006 10:12:46 +0000 (11:12 +0100)]
[PAUSE] CPAN Upload: A/AN/ANDK/CPAN-1.80_58.tar.gz
Message-ID: <87zmmgnwfl.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@26563

15 years agoUpdate copyrights for files modified in 2006
Rafael Garcia-Suarez [Mon, 2 Jan 2006 10:56:05 +0000 (10:56 +0000)]
Update copyrights for files modified in 2006

p4raw-id: //depot/perl@26562

15 years agoGet rid of length argument for the FEATURE_IS_ENABLED() macro.
Gisle Aas [Sun, 1 Jan 2006 20:43:00 +0000 (20:43 +0000)]
Get rid of length argument for the FEATURE_IS_ENABLED() macro.

p4raw-id: //depot/perl@26561

15 years agoMaking 0 pointers to NULLs
Andy Lester [Fri, 30 Dec 2005 23:05:58 +0000 (17:05 -0600)]
Making 0 pointers to NULLs
Message-ID: <20051231050558.GA29093@petdance.com>

p4raw-id: //depot/perl@26558

15 years agoConfigure: stdio char (un)signedness
Jarkko Hietaniemi [Sat, 26 Nov 2005 11:25:18 +0000 (13:25 +0200)]
Configure: stdio char (un)signedness
Message-ID: <438829FE.8070202@gmail.com>

p4raw-id: //depot/perl@26557

15 years agoMaking 0 pointers to NULLs
Andy Lester [Fri, 30 Dec 2005 23:05:58 +0000 (17:05 -0600)]
Making 0 pointers to NULLs
Message-ID: <20051231050558.GA29093@petdance.com>

p4raw-id: //depot/perl@26556

15 years agomake threads use MY_CXT API rather than using PL_modglobal
Dave Mitchell [Sat, 31 Dec 2005 23:24:26 +0000 (23:24 +0000)]
make threads use MY_CXT API rather than using PL_modglobal

p4raw-id: //depot/perl@26555

15 years agotidy index arrangements in new MY_CXT code
Dave Mitchell [Sat, 31 Dec 2005 21:36:05 +0000 (21:36 +0000)]
tidy index arrangements in new MY_CXT code

p4raw-id: //depot/perl@26554

15 years agoUpgrade to CPAN-1.80_57
Steve Peters [Sat, 31 Dec 2005 18:45:37 +0000 (18:45 +0000)]
Upgrade to CPAN-1.80_57

p4raw-id: //depot/perl@26553

15 years agoTurn a for loop that's almost a while into an honest-to-goodness while.
Nicholas Clark [Sat, 31 Dec 2005 17:24:34 +0000 (17:24 +0000)]
Turn a for loop that's almost a while into an honest-to-goodness while.

p4raw-id: //depot/perl@26552

15 years agoCalling Perl_hv_clear_placeholders while the hash iterator was active
Nicholas Clark [Sat, 31 Dec 2005 16:57:32 +0000 (16:57 +0000)]
Calling Perl_hv_clear_placeholders while the hash iterator was active
would turn lazy delete on, causing the hash to become corrupted at the
next iterator change.

p4raw-id: //depot/perl@26551

15 years agoRemove unneeded test in Perl_hv_clear_placeholders.
Nicholas Clark [Sat, 31 Dec 2005 16:42:08 +0000 (16:42 +0000)]
Remove unneeded test in Perl_hv_clear_placeholders.
Rejig S_hfreeentries to a double loop, which is clearer and smaller.

p4raw-id: //depot/perl@26550

15 years agoop/pack.t failure on Win64
Jan Dubois [Fri, 30 Dec 2005 21:55:00 +0000 (21:55 +0000)]
op/pack.t failure on Win64
Message-ID: <017a01c60d83$5dc73110$2217a8c0@candy>

p4raw-id: //depot/perl@26549

15 years agoAdd a test for change 26547. (We no longer expect to see errors about
Nicholas Clark [Sat, 31 Dec 2005 15:07:16 +0000 (15:07 +0000)]
Add a test for change 26547. (We no longer expect to see errors about
unbalanced string table reference counts.)

p4raw-id: //depot/perl@26548

15 years agoRe-attempt to clear the hash in S_hfreeentries if anything adds to it.
Nicholas Clark [Sat, 31 Dec 2005 14:57:27 +0000 (14:57 +0000)]
Re-attempt to clear the hash in S_hfreeentries if anything adds to it.
Panic if we seem to be looping forever.

p4raw-id: //depot/perl@26547

15 years agoStop 'sub a { // }; %::=()' panicing because the backreference array
Nicholas Clark [Sat, 31 Dec 2005 13:16:06 +0000 (13:16 +0000)]
Stop 'sub a { // }; %::=()' panicing because the backreference array
became lost.

p4raw-id: //depot/perl@26546

15 years agoMarcus Holland-Moritz suggested that assert should
Nicholas Clark [Fri, 30 Dec 2005 22:44:06 +0000 (22:44 +0000)]
Marcus Holland-Moritz suggested that assert should
Perl_croak_nocontext rather than Perl_croak.

p4raw-id: //depot/perl@26545

15 years agoTweak S_init_main_stash so as allocate PL_curstname as a shared string
Nicholas Clark [Fri, 30 Dec 2005 20:02:56 +0000 (20:02 +0000)]
Tweak S_init_main_stash so as allocate PL_curstname as a shared string
scalar, and hence avoid thrashing the shared string table for "main".

p4raw-id: //depot/perl@26544

15 years agoConvert t/op/sleep.t to using test.pl
Steve Peters [Fri, 30 Dec 2005 17:47:45 +0000 (17:47 +0000)]
Convert t/op/sleep.t to using test.pl

p4raw-id: //depot/perl@26543

15 years agoDocument why it's a bad plan to move the backreferences array from
Nicholas Clark [Fri, 30 Dec 2005 16:53:39 +0000 (16:53 +0000)]
Document why it's a bad plan to move the backreferences array from
the magic structure to the hv_aux structure during backreference
deletion. Add an optimisation for an empty backreference array.

p4raw-id: //depot/perl@26542

15 years agoNow that the backreference array has no NULL entries, and is correctly
Nicholas Clark [Fri, 30 Dec 2005 15:55:05 +0000 (15:55 +0000)]
Now that the backreference array has no NULL entries, and is correctly
marked as AvREAL_off(), there's no reason not to use sv_dup to clone
it.

p4raw-id: //depot/perl@26541

15 years agoPOSIX now declares missing constants as sub ... ();, so Net::Ping
Nicholas Clark [Fri, 30 Dec 2005 15:39:53 +0000 (15:39 +0000)]
POSIX now declares missing constants as sub ... ();, so Net::Ping
needs to define them with a prototype to match.

p4raw-id: //depot/perl@26540

15 years agoUpdate perltodo. First shot at perl593delta.
Rafael Garcia-Suarez [Fri, 30 Dec 2005 15:10:41 +0000 (15:10 +0000)]
Update perltodo. First shot at perl593delta.

p4raw-id: //depot/perl@26539

15 years agoIn the shared string table, if we add new entries to the head of the
Nicholas Clark [Fri, 30 Dec 2005 14:57:00 +0000 (14:57 +0000)]
In the shared string table, if we add new entries to the head of the
linked list chain, then we don't need as much bookkeeping in the loop.

p4raw-id: //depot/perl@26538

15 years agoDifferences from Perl 6
Robin Houston [Fri, 30 Dec 2005 13:45:34 +0000 (13:45 +0000)]
Differences from Perl 6
Message-ID: <20051230134534.GA18675@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26537

15 years agoRe: [PATCH] Re: INSTALLSCRIPT versus INSTALLDIRS
Rafael Garcia-Suarez [Mon, 12 Dec 2005 19:22:32 +0000 (20:22 +0100)]
Re: [PATCH] Re: INSTALLSCRIPT versus INSTALLDIRS
Message-ID: <20051212192232.39cd0c1e@grubert.mandrakesoft.com>

p4raw-id: //depot/perl@26536

15 years agofix errors in new MY_CTX code
Dave Mitchell [Fri, 30 Dec 2005 12:21:05 +0000 (12:21 +0000)]
fix errors in new MY_CTX code

p4raw-id: //depot/perl@26535

15 years agoReduce size of buffers for identifier names, as suggested in
Tels [Thu, 29 Dec 2005 18:40:49 +0000 (19:40 +0100)]
Reduce size of buffers for identifier names, as suggested in

Subject: Stack usage (in gv_stashpvn and others)
Message-Id: <200512291840.50765@bloodgate.com>

p4raw-id: //depot/perl@26534

15 years agoperlio.c - gv_stashpvn() vs gv_stashpv()
Tels [Thu, 29 Dec 2005 18:57:43 +0000 (19:57 +0100)]
perlio.c - gv_stashpvn() vs gv_stashpv()
Message-Id: <200512291857.59458@bloodgate.com>

p4raw-id: //depot/perl@26533

15 years agoPerl_gv_fetchpv vs. gv_fetchpvn
Tels [Thu, 29 Dec 2005 18:32:10 +0000 (19:32 +0100)]
Perl_gv_fetchpv vs. gv_fetchpvn
Message-Id: <200512291832.20651@bloodgate.com>

p4raw-id: //depot/perl@26532

15 years agoSkip my_cxt_init if PERL_IMPLICIT_CONTEXT isn't defined
Rafael Garcia-Suarez [Fri, 30 Dec 2005 09:53:54 +0000 (09:53 +0000)]
Skip my_cxt_init if PERL_IMPLICIT_CONTEXT isn't defined
(spotted by Jan Dubois)

p4raw-id: //depot/perl@26531

15 years agoRMAGIC on symbol tables is bad, m'kay.
Nicholas Clark [Fri, 30 Dec 2005 01:08:46 +0000 (01:08 +0000)]
RMAGIC on symbol tables is bad, m'kay.
Allow hashes (and therefore all symbol tables) to store the
backreference array in the hv_aux structure, and thereby undo the
performance damage of 24966, which resulted in 60% of all hash lookups
trying to mg_find tiehash magic.

p4raw-id: //depot/perl@26530