This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
17 years agoPerl 5.9.0 AUTHORS
Mark Leighton Fisher [Thu, 11 Dec 2003 16:53:19 +0000 (11:53 -0500)]
Perl 5.9.0 AUTHORS
Message-ID: <3FD8E74F.7000202@mindspring.com>
Date: Thu, 11 Dec 2003 16:53:19 -0500

p4raw-id: //depot/perl@21878

17 years agoAdd a mention of the error "DESTROY created new reference
Rafael Garcia-Suarez [Thu, 11 Dec 2003 23:40:54 +0000 (23:40 +0000)]
Add a mention of the error "DESTROY created new reference
to dead object" in perldiag.

p4raw-id: //depot/perl@21877

17 years ago#21866 was wrong. another try to plumb that damn leak.
Adrian M. Enache [Thu, 11 Dec 2003 23:04:03 +0000 (23:04 +0000)]
#21866 was wrong. another try to plumb that damn leak.

p4raw-id: //depot/perl@21876

17 years agofix bug #24605.
Adrian M. Enache [Thu, 11 Dec 2003 20:11:07 +0000 (20:11 +0000)]
fix bug #24605.
substr() wasn't working when used repeatedly on the same utf-8
string.

p4raw-id: //depot/perl@21875

17 years agoSuppress a C< $DB::single = 1 > from Switch.pm, as noticed
Rafael Garcia-Suarez [Tue, 9 Dec 2003 21:36:58 +0000 (21:36 +0000)]
Suppress a C< $DB::single = 1 > from Switch.pm, as noticed
by Jan Dubois.

p4raw-id: //depot/perl@21874

17 years agoImplicit upgrading docs
Audrey Tang [Tue, 9 Dec 2003 20:39:16 +0000 (04:39 +0800)]
Implicit upgrading docs
Message-ID: <20031209123915.GA1454@not.autrijus.org>

p4raw-id: //depot/perl@21873

17 years agotemporary fix to avoid t/op/tie.t failures on Win32
Adrian M. Enache [Tue, 9 Dec 2003 03:26:16 +0000 (03:26 +0000)]
temporary fix to avoid t/op/tie.t failures on Win32

p4raw-id: //depot/perl@21872

17 years agoUpgrade to Digest-MD5 2.33.
Rafael Garcia-Suarez [Mon, 8 Dec 2003 15:22:26 +0000 (15:22 +0000)]
Upgrade to Digest-MD5 2.33.

p4raw-id: //depot/perl@21871

17 years agoIntegrate change #21862 from maint-5.8 :
Rafael Garcia-Suarez [Mon, 8 Dec 2003 08:22:17 +0000 (08:22 +0000)]
Integrate change #21862 from maint-5.8 :

Win32/MinGW tweaks
A. ENV_IS_CASELESS has trys to free(keysave) when
   keysave isn't in scope yet.
B. For default makefile.mk which build with perlhost.h
   stuff "live" need to link with g++ to find new/delete etc.
p4raw-link: @21862 on //depot/maint-5.8/perl: 4db40f21e8071917ddf2daa52294e1413442660d

p4raw-id: //depot/perl@21870
p4raw-integrated: from //depot/maint-5.8/perl@21869 'merge in'
win32/makefile.mk (@21777..) hv.c (@21838..)

17 years agoiterator reset moved to hv.c (was: [PATCH] SCALAR/FIRSTKEY for tied hashes in scalar...
Tassilo von Parseval [Mon, 8 Dec 2003 08:17:46 +0000 (09:17 +0100)]
iterator reset moved to hv.c (was: [PATCH] SCALAR/FIRSTKEY for tied hashes in scalar context)
Message-id: <20031208071746.GA594@ethan>

p4raw-id: //depot/perl@21869

17 years agoyet another leak. bigger fish still swimming around.
Adrian M. Enache [Mon, 8 Dec 2003 03:38:39 +0000 (03:38 +0000)]
yet another leak. bigger fish still swimming around.
#!perl
eval q{ $_ = "x"; s/x/"in subst"/e } while 1;
__END__

p4raw-id: //depot/perl@21868

17 years agoyet another 2 leaks. example for the second:
Adrian M. Enache [Mon, 8 Dec 2003 03:34:37 +0000 (03:34 +0000)]
yet another 2 leaks. example for the second:
#! perl
eval q{ open $p{q}, "foo" } while 1
__END__

p4raw-id: //depot/perl@21867

17 years agoplumb a leak with pos().
Adrian M. Enache [Mon, 8 Dec 2003 03:30:16 +0000 (03:30 +0000)]
plumb a leak with pos().

#! perl
while (1) {
my $a = "\x{1ff}"; $a =~ /\x{1ff}/g; pos($a);
}
__END__

p4raw-id: //depot/perl@21866

17 years agodocumenting SCALAR gotcha
Tassilo von Parseval [Sun, 7 Dec 2003 16:41:16 +0000 (17:41 +0100)]
documenting SCALAR gotcha
Message-id: <20031207154116.GA825@ethan>

p4raw-id: //depot/perl@21865

17 years agosetenv tweak for VMS
Craig A. Berry [Sat, 6 Dec 2003 18:13:32 +0000 (12:13 -0600)]
setenv tweak for VMS
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3FD270AC.3000106@mac.com>

p4raw-id: //depot/perl@21864

17 years agoMissing thingies.
Rafael Garcia-Suarez [Sat, 6 Dec 2003 21:33:22 +0000 (21:33 +0000)]
Missing thingies.

p4raw-id: //depot/perl@21863

17 years agoMath::BigInt v1.67 (pre-release)
Tels [Sat, 6 Dec 2003 20:19:44 +0000 (21:19 +0100)]
Math::BigInt v1.67 (pre-release)
Message-Id: <200312062016.50484@bloodgate.com>

p4raw-id: //depot/perl@21861

17 years agoForgot to update the MANIFEST.
Rafael Garcia-Suarez [Sat, 6 Dec 2003 20:33:09 +0000 (20:33 +0000)]
Forgot to update the MANIFEST.

p4raw-id: //depot/perl@21860

17 years agoMath::BigInt::Scalar is only for tests.
Rafael Garcia-Suarez [Sat, 6 Dec 2003 20:19:16 +0000 (20:19 +0000)]
Math::BigInt::Scalar is only for tests.
Move it under t/lib.

p4raw-id: //depot/perl@21859

17 years agocasting bug in VMS part of Perl_start_glob
Craig A. Berry [Sat, 6 Dec 2003 12:44:40 +0000 (06:44 -0600)]
casting bug in VMS part of Perl_start_glob
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3FD22398.1060506@mac.com>

p4raw-id: //depot/perl@21858

17 years agoRemove the "Can't provide tied hash usage" error from perldiag.
Rafael Garcia-Suarez [Sat, 6 Dec 2003 19:58:51 +0000 (19:58 +0000)]
Remove the "Can't provide tied hash usage" error from perldiag.
Mention the new tied hash SCALAR method in perldelta.

p4raw-id: //depot/perl@21857

17 years agoClarify the description of SCALAR in perltie
Rafael Garcia-Suarez [Sat, 6 Dec 2003 19:51:49 +0000 (19:51 +0000)]
Clarify the description of SCALAR in perltie

p4raw-id: //depot/perl@21856

17 years agoSCALAR/FIRSTKEY for tied hashes in scalar context
Tassilo von Parseval [Sat, 6 Dec 2003 11:50:59 +0000 (12:50 +0100)]
SCALAR/FIRSTKEY for tied hashes in scalar context
Message-id: <20031206105059.GA13989@ethan>

p4raw-id: //depot/perl@21855

17 years agoMake sv_force_normal_flags cope with shared hash key scalars
Nicholas Clark [Sat, 6 Dec 2003 16:30:35 +0000 (16:30 +0000)]
Make sv_force_normal_flags cope with shared hash key scalars
(remember the pointer from SvPVX, reset the flags before SvGROW,
avoid crazy loops or read-from-free)

p4raw-id: //depot/perl@21854

17 years agoBack out the Makefile.PL part of 21808 as requested by Gisle Aas
Nicholas Clark [Fri, 5 Dec 2003 20:49:10 +0000 (20:49 +0000)]
Back out the Makefile.PL part of 21808 as requested by Gisle Aas

p4raw-id: //depot/perl@21851

17 years agoConfigure gets d_u32align wrong
Gisle Aas [Fri, 5 Dec 2003 03:47:01 +0000 (19:47 -0800)]
Configure gets d_u32align wrong
Message-ID: <lr4qwfbi6i.fsf_-_@caliper.activestate.com>

p4raw-id: //depot/perl@21846

17 years ago[REPATCH lib/AutoLoader.t] Test can() with AutoLoader
chromatic [Mon, 1 Dec 2003 09:20:21 +0000 (01:20 -0800)]
[REPATCH lib/AutoLoader.t] Test can() with AutoLoader
Message-Id: <1070299221.1275.19.camel@localhost>

p4raw-id: //depot/perl@21844

17 years agoanother ext/SDBM_File/sdbm build fix
Craig A. Berry [Thu, 4 Dec 2003 16:00:03 +0000 (10:00 -0600)]
another ext/SDBM_File/sdbm build fix
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3FCFAE63.1080106@mac.com>

p4raw-id: //depot/perl@21843

17 years ago$^P, eval and caller
Paul Johnson [Fri, 5 Dec 2003 00:57:21 +0000 (01:57 +0100)]
$^P, eval and caller
Message-ID: <20031204235721.GJ26355@pjcj.net>

p4raw-id: //depot/perl@21842

17 years agoFix File::Copy with hard links on Windows.
Steve Hay [Wed, 3 Dec 2003 10:53:02 +0000 (10:53 +0000)]
Fix File::Copy with hard links on Windows.

Subject: [PATCH] Re: perl @ 21830
Date: Wed, 03 Dec 2003 10:53:02 +0000
Message-ID: <3FCDC08E.7080800@uk.radan.com>

and
Date: Thu, 04 Dec 2003 11:02:22 +0000
Message-ID: <3FCF143E.1040905@uk.radan.com>

p4raw-id: //depot/perl@21841

17 years agoRe: a2p.pod not being installed in 5.8.2?
Alan Burlison [Thu, 4 Dec 2003 12:14:30 +0000 (12:14 +0000)]
Re: a2p.pod not being installed in 5.8.2?
Message-ID: <3FCF2526.3030905@sun.com>

p4raw-id: //depot/perl@21840

17 years agoRe: XS modules having problems with CLONE and ithreads unless PERL_NO_GET_CONTEXT...
Stas Bekman [Wed, 3 Dec 2003 01:41:42 +0000 (17:41 -0800)]
Re: XS modules having problems with CLONE and ithreads unless PERL_NO_GET_CONTEXT is defined
Message-ID: <3FCDAFD6.9050106@stason.org>

p4raw-id: //depot/perl@21837

17 years agoThe prove utility should also be installed on VMS and on Windows.
Rafael Garcia-Suarez [Tue, 2 Dec 2003 23:31:06 +0000 (23:31 +0000)]
The prove utility should also be installed on VMS and on Windows.
Haven't we regression tests for installations yet ?

p4raw-id: //depot/perl@21836

17 years agoFAQ sync.
Rafael Garcia-Suarez [Tue, 2 Dec 2003 22:18:05 +0000 (22:18 +0000)]
FAQ sync.

p4raw-id: //depot/perl@21835

17 years agoRe: [perl #24574] find2perl provides different results to find
Slaven Rezic [Sun, 30 Nov 2003 22:16:59 +0000 (23:16 +0100)]
Re: [perl #24574] find2perl provides different results to find
Message-ID: <8765h1pnec.fsf@vran.herceg.de>

(plus a note about find2perl now defaulting to -print in perldelta)

p4raw-id: //depot/perl@21834

17 years agosetting $0 still broken
Jan Dubois [Thu, 27 Nov 2003 21:09:51 +0000 (13:09 -0800)]
setting $0 still broken
Message-ID: <f3mdsv8dcv4asle0kbhiijk0adu1l25sr3@4ax.com>

p4raw-id: //depot/perl@21833

17 years agoBetter docs for the special code blocks, based on :
Elizabeth Mattijsen [Sat, 29 Nov 2003 23:15:56 +0000 (00:15 +0100)]
Better docs for the special code blocks, based on :
Subject: [DOCPATCH] BEGIN, CHECK, INIT, END explained more
Message-Id: <p05111b01bbeec2e8bf30@[192.168.56.3]>

p4raw-id: //depot/perl@21832

17 years agoFix the test boilerplate in lib/if.t, so it can be run
Rafael Garcia-Suarez [Sun, 30 Nov 2003 20:56:00 +0000 (20:56 +0000)]
Fix the test boilerplate in lib/if.t, so it can be run
from the t/ directory.

p4raw-id: //depot/perl@21828

17 years agoKeep installing xsubpp in lib/ExtUtils,
Rafael Garcia-Suarez [Sun, 30 Nov 2003 20:34:39 +0000 (20:34 +0000)]
Keep installing xsubpp in lib/ExtUtils,
so MakeMaker can find it.

p4raw-id: //depot/perl@21827

17 years agoUpgrade to Test::Harness 2.38.
Rafael Garcia-Suarez [Sun, 30 Nov 2003 20:31:59 +0000 (20:31 +0000)]
Upgrade to Test::Harness 2.38.
Introduce the prove(1) utility.
(The prove-switches test is disabled for now.)

p4raw-id: //depot/perl@21826

17 years agoRe: [perl #24554] Segfault in POSIX module
SADAHIRO Tomoyuki [Sat, 29 Nov 2003 23:32:38 +0000 (08:32 +0900)]
Re: [perl #24554] Segfault in POSIX module
Message-Id: <20031129233010.8E2F.BQW10602@nifty.com>

(plus a test for the stringification of references
passed to POSIX::isXXX())

p4raw-id: //depot/perl@21823

17 years agoIntegrate if.pm 0.0401
Nicholas Clark [Sat, 29 Nov 2003 20:53:23 +0000 (20:53 +0000)]
Integrate if.pm 0.0401
Needed to edit the test file as t/TEST can't cope with extra output
lines as produced by 0.0401's if.t

p4raw-id: //depot/perl@21814

17 years agoRemove whitespace from ends of lines (simply because it irritates me)
Nicholas Clark [Sat, 29 Nov 2003 19:54:52 +0000 (19:54 +0000)]
Remove whitespace from ends of lines (simply because it irritates me)

p4raw-id: //depot/perl@21813

17 years agoUpdate Unicode::Normalize to 0.28
Nicholas Clark [Sat, 29 Nov 2003 17:55:32 +0000 (17:55 +0000)]
Update Unicode::Normalize to 0.28

p4raw-id: //depot/perl@21812

17 years agoD'oh! This has been moved to lib/Digest/t/digest.t but not deleted.
Nicholas Clark [Sat, 29 Nov 2003 17:30:18 +0000 (17:30 +0000)]
D'oh! This has been moved to lib/Digest/t/digest.t but not deleted.

p4raw-id: //depot/perl@21811

17 years agoUpdate Unicode::Collate to 0.31 (Only the .pm version for now)
Nicholas Clark [Sat, 29 Nov 2003 17:29:15 +0000 (17:29 +0000)]
Update Unicode::Collate to 0.31 (Only the .pm version for now)

p4raw-id: //depot/perl@21810

17 years agoD'oh! Forgot to lib/Digest/base.pm
Nicholas Clark [Sat, 29 Nov 2003 17:09:25 +0000 (17:09 +0000)]
D'oh! Forgot to lib/Digest/base.pm

p4raw-id: //depot/perl@21809

17 years agoUpdate to Digest::MD5 2.31
Nicholas Clark [Sat, 29 Nov 2003 17:04:39 +0000 (17:04 +0000)]
Update to Digest::MD5 2.31

p4raw-id: //depot/perl@21808

17 years agoUpdate Digest to 1.03
Nicholas Clark [Sat, 29 Nov 2003 16:45:19 +0000 (16:45 +0000)]
Update Digest to 1.03

p4raw-id: //depot/perl@21807

17 years agoWhen Gconvert is a macro around sprintf with a .* format we need
Nicholas Clark [Sat, 29 Nov 2003 15:41:19 +0000 (15:41 +0000)]
When Gconvert is a macro around sprintf with a .* format we need
to cast to int (in case STRLEN isn't the same size as int)
gcc issues a warning even when it is the same size

p4raw-id: //depot/perl@21806

17 years agoSilence gcc 2.95 warning
Nicholas Clark [Sat, 29 Nov 2003 14:44:56 +0000 (14:44 +0000)]
Silence gcc 2.95 warning
(Its trace flow isn't good enough to realise that there is no problem)

p4raw-id: //depot/perl@21805

17 years agoGconvert actually takes type NV, while nv may be either double
Nicholas Clark [Sat, 29 Nov 2003 14:44:22 +0000 (14:44 +0000)]
Gconvert actually takes type NV, while nv may be either double
or long double (depending on some conditional code)
Rafael and I think that this cast should work.

p4raw-id: //depot/perl@21804

17 years agoPOSIX::isXXX(undef) segfaulted. (bug #24554.)
Rafael Garcia-Suarez [Sat, 29 Nov 2003 11:38:58 +0000 (11:38 +0000)]
POSIX::isXXX(undef) segfaulted. (bug #24554.)

p4raw-id: //depot/perl@21802

17 years agoFix a regression introduced by change #21694 on sprintf()
Rafael Garcia-Suarez [Fri, 28 Nov 2003 22:38:40 +0000 (22:38 +0000)]
Fix a regression introduced by change #21694 on sprintf()
with long doubles, by disabling the specific optimisation
path in this case ; remove a unnecessary cast ; add a new
test file for miscellaneous sprintf() test that don't fit
in the t/op/sprintf.t framework.
p4raw-link: @21694 on //depot/perl: 4151a5feffa8bdd67c09edf6ade78431e8079f67

p4raw-id: //depot/perl@21800

17 years ago[patch pod/perlsec.pod] (was Re: why PERL5LIB is ignored when -T is in effect)
Stas Bekman [Fri, 28 Nov 2003 14:42:25 +0000 (06:42 -0800)]
[patch pod/perlsec.pod] (was Re: why PERL5LIB is ignored when -T is in effect)
Message-ID: <3FC7CF51.7060804@stason.org>

p4raw-id: //depot/perl@21799

17 years agoImplement C<use Exporter 'import'> :
Fergal Daly [Mon, 10 Nov 2003 00:08:52 +0000 (00:08 +0000)]
Implement C<use Exporter 'import'> :

Subject: Re: [PATCH] Exporter-related PODs
Message-Id: <200311100008.52639.fergal@esatclear.ie>

(tweaked, so the imported import() doesn't spit out warnings)

p4raw-id: //depot/perl@21798

17 years agoRe: [perl #24245] File::Copy::copy damages hard linked files
Slaven Rezic [Sun, 19 Oct 2003 19:11:31 +0000 (21:11 +0200)]
Re: [perl #24245] File::Copy::copy damages hard linked files
Message-ID: <87smlprw3g.fsf@vran.herceg.de>
(with further tweaks)

p4raw-id: //depot/perl@21797

17 years agoFix perl 5.8 and 5.9 to build on latest VOS
Paul Green [Thu, 27 Nov 2003 21:51:26 +0000 (16:51 -0500)]
Fix perl 5.8 and 5.9 to build on latest VOS
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <A2A34F15EE916148BC4C4748223E67A4069FB815@exna4.stratus.com>

p4raw-id: //depot/perl@21795

17 years agoArguments to skip were the wrong way round, hence why all the *BSDs
Nicholas Clark [Fri, 28 Nov 2003 19:14:58 +0000 (19:14 +0000)]
Arguments to skip were the wrong way round, hence why all the *BSDs
were failing

p4raw-id: //depot/perl@21794

17 years agoMarcus Holland-Moritz is now the maintainer of Devel::PPPort.
Rafael Garcia-Suarez [Thu, 27 Nov 2003 22:18:29 +0000 (22:18 +0000)]
Marcus Holland-Moritz is now the maintainer of Devel::PPPort.
PerlIO and threads are not on CPAN.

p4raw-id: //depot/perl@21789

17 years agoAdd Torsten Foertsch to AUTHORS (patches plus tests are what we like)
Nicholas Clark [Tue, 25 Nov 2003 21:27:11 +0000 (21:27 +0000)]
Add Torsten Foertsch to AUTHORS (patches plus tests are what we like)

p4raw-id: //depot/perl@21788

17 years agoRe: bug or a feature?
Torsten Foertsch [Sat, 22 Nov 2003 13:15:53 +0000 (14:15 +0100)]
Re: bug or a feature?
Date: Sat, 22 Nov 2003 13:15:53 +0100
Message-Id: <200311221315.58539.torsten.foertsch@gmx.net>

and
Date: Sat, 22 Nov 2003 14:21:45 +0100
Message-Id: <200311221421.48940.torsten.foertsch@gmx.net>
(test moved to t/op/readline.t)

p4raw-id: //depot/perl@21787

17 years agoremove hardcoded version number from cygwin/perlld.in
Yitzchak Scott-Thoennes [Mon, 24 Nov 2003 08:11:36 +0000 (00:11 -0800)]
remove hardcoded version number from cygwin/perlld.in
Message-ID: <20031124161136.GC2656@efn.org>

p4raw-id: //depot/perl@21783

17 years agoShould fix the infinite loop on a dynamic %ENV fetch
Nicholas Clark [Mon, 24 Nov 2003 20:07:29 +0000 (20:07 +0000)]
Should fix the infinite loop on a dynamic %ENV fetch

p4raw-id: //depot/perl@21782

17 years agoTweak the order of initialisation of oentry in hv_fetch_common -
Nicholas Clark [Mon, 24 Nov 2003 19:47:57 +0000 (19:47 +0000)]
Tweak the order of initialisation of oentry in hv_fetch_common -
C source now cleaner, but optimised object file still the same size.

p4raw-id: //depot/perl@21781

17 years agoRe: [perl #24439] 64 bit build failure on Solaris 9
Andy Dougherty [Thu, 20 Nov 2003 09:38:05 +0000 (04:38 -0500)]
Re: [perl #24439] 64 bit build failure on Solaris 9
Date: Thu, 20 Nov 2003 09:38:05 -0500 (EST)
Message-ID: <Pine.SOL.4.53.0311200926550.25274@maxwell.phys.lafayette.edu>

and :
Date: Fri, 21 Nov 2003 09:36:24 -0500 (EST)
Message-ID: <Pine.SOL.4.53.0311210927460.1876@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@21780

17 years agoD'oh. Mistake in the DYNAMIC_ENV_FETCH conditional code
Nicholas Clark [Sat, 22 Nov 2003 23:37:24 +0000 (23:37 +0000)]
D'oh. Mistake in the DYNAMIC_ENV_FETCH conditional code
reported by Craig Berry

p4raw-id: //depot/perl@21779

17 years agorestore_magic needs to undo COW
Nicholas Clark [Sat, 22 Nov 2003 21:21:22 +0000 (21:21 +0000)]
restore_magic needs to undo COW
(while magic was off, sv_setsv is likely to have seen this SV as a
good source for COW)
Should fix the smoke failures on lib/locale.t

p4raw-id: //depot/perl@21774

17 years agoDon't COW if the destination has magic.
Nicholas Clark [Sat, 22 Nov 2003 19:12:32 +0000 (19:12 +0000)]
Don't COW if the destination has magic.

p4raw-id: //depot/perl@21773

17 years agoReorder functions in hv.c so that callers of hv_fetch_common are all
Nicholas Clark [Sat, 22 Nov 2003 17:05:32 +0000 (17:05 +0000)]
Reorder functions in hv.c so that callers of hv_fetch_common are all
close to it.

p4raw-id: //depot/perl@21772

17 years ago"Space Is a Province of Brazil"
Nicholas Clark [Sat, 22 Nov 2003 16:43:09 +0000 (16:43 +0000)]
"Space Is a Province of Brazil"
Farewell, hv_store_common. Store is now part of Fetch.
All tests pass. hv.c 15% smaller than when I started all this

p4raw-id: //depot/perl@21771

17 years agoFarewell hv_exists_common - exists is now a call to fetch
Nicholas Clark [Sat, 22 Nov 2003 13:16:43 +0000 (13:16 +0000)]
Farewell hv_exists_common - exists is now a call to fetch
(with the exists magic handling moved into fetch)

p4raw-id: //depot/perl@21770

17 years agoShift negative klen/flags games from hv_store_common out to hv_store
Nicholas Clark [Sat, 22 Nov 2003 11:02:23 +0000 (11:02 +0000)]
Shift negative klen/flags games from hv_store_common out to hv_store

p4raw-id: //depot/perl@21769

17 years agoShift negative klen/flags games from hv_exists_common out to hv_exists
Nicholas Clark [Sat, 22 Nov 2003 10:37:24 +0000 (10:37 +0000)]
Shift negative klen/flags games from hv_exists_common out to hv_exists

p4raw-id: //depot/perl@21768

17 years agoCheck that the key is present before a delete, and absent afterwards
Nicholas Clark [Fri, 21 Nov 2003 23:15:47 +0000 (23:15 +0000)]
Check that the key is present before a delete, and absent afterwards

p4raw-id: //depot/perl@21767

17 years agoMove the negative key -> utf8 flag conversion out to hv_delete
Nicholas Clark [Fri, 21 Nov 2003 23:12:33 +0000 (23:12 +0000)]
Move the negative key -> utf8 flag conversion out to hv_delete

p4raw-id: //depot/perl@21766

17 years agoTweaks to S_hv_delete_common:
Nicholas Clark [Fri, 21 Nov 2003 22:41:23 +0000 (22:41 +0000)]
Tweaks to S_hv_delete_common:
make the magic call hv_fetch_common rather than ent-or-not
grab the hash from a shared hash key scalar if possible
use masked flags rather than flags for the comparison

p4raw-id: //depot/perl@21765

17 years agoIntegrate:
Nicholas Clark [Fri, 21 Nov 2003 21:54:58 +0000 (21:54 +0000)]
Integrate:
[ 21762]
Refactor hash API tests (prior to some additions)

[ 21763]
Test all permuations of utf8 flags on hashes and keys
p4raw-link: @21763 on //depot/maint-5.8/perl: b523355a616afbca2ac499d0cedc220495b1a655
p4raw-link: @21762 on //depot/maint-5.8/perl: 96d477294435bb735f0ee986438f4e7d6ddbee31

p4raw-id: //depot/perl@21764
p4raw-integrated: from //depot/maint-5.8/perl@21760 'copy in'
ext/XS/APItest/t/hash.t (@21761..)

17 years agoShift negative klen/flags games from hv_fetch_common out to hv_fetch
Nicholas Clark [Thu, 20 Nov 2003 22:34:00 +0000 (22:34 +0000)]
Shift negative klen/flags games from hv_fetch_common out to hv_fetch

p4raw-id: //depot/perl@21760

17 years agoMerge sv_store_flags and sv_store_ent into sv_store_common
Nicholas Clark [Thu, 20 Nov 2003 20:14:17 +0000 (20:14 +0000)]
Merge sv_store_flags and sv_store_ent into sv_store_common

p4raw-id: //depot/perl@21758

17 years agopromote hv_clear_placeholders to perl API
Alan Burlison [Thu, 20 Nov 2003 10:34:30 +0000 (10:34 +0000)]
promote hv_clear_placeholders to perl API
Message-ID: <3FBC98B6.6090909@sun.com>

p4raw-id: //depot/perl@21756

17 years agoRegenerate perlapi and perltoc.
Rafael Garcia-Suarez [Wed, 19 Nov 2003 22:46:20 +0000 (22:46 +0000)]
Regenerate perlapi and perltoc.

p4raw-id: //depot/perl@21755

17 years ago[docpatch] PerlIO layers in perlrun.pod and PerlIO.pm
Iain Truskett [Thu, 20 Nov 2003 00:41:33 +0000 (11:41 +1100)]
[docpatch] PerlIO layers in perlrun.pod and PerlIO.pm
Message-ID: <20031119134132.GG21314@gytha.anu.edu.au>

p4raw-id: //depot/perl@21754

17 years agomerge hv_fetch and hv_fetch_ent into hv_fetch_common
Nicholas Clark [Wed, 19 Nov 2003 22:28:25 +0000 (22:28 +0000)]
merge hv_fetch and hv_fetch_ent into hv_fetch_common
remove S_hv_fetch_flags
hv.c now 13% smaller than when I started. hv_store TODO

p4raw-id: //depot/perl@21753

17 years agoFix bug [perl #24508] Wrong assignment in nested assignment
Rafael Garcia-Suarez [Wed, 19 Nov 2003 21:06:01 +0000 (21:06 +0000)]
Fix bug [perl #24508] Wrong assignment in nested assignment
together with subroutine call
Apparently concat still doesn't deal correctly with lexicals
in all cases. Disable the whole TARGET_MY optimisation for it.
(and remove the corresponding code from the peephole optimiser.)

p4raw-id: //depot/perl@21752

17 years agoUpdate the runops stuff in perlguts
Rafael Garcia-Suarez [Wed, 19 Nov 2003 21:03:20 +0000 (21:03 +0000)]
Update the runops stuff in perlguts

p4raw-id: //depot/perl@21751

17 years agointegrate hv_delete and hv_delete_ent into hv_delete_common
Nicholas Clark [Wed, 19 Nov 2003 20:37:27 +0000 (20:37 +0000)]
integrate hv_delete and hv_delete_ent into hv_delete_common

p4raw-id: //depot/perl@21750

17 years agoclear of empty locked hash SEGVs
Alan Burlison [Wed, 19 Nov 2003 14:39:03 +0000 (14:39 +0000)]
clear of empty locked hash SEGVs
Message-ID: <3FBB8087.20206@sun.com>

p4raw-id: //depot/perl@21748

17 years agomerge hv_exists and hv_exists_ent into S_hv_exists_common
Nicholas Clark [Wed, 19 Nov 2003 19:51:41 +0000 (19:51 +0000)]
merge hv_exists and hv_exists_ent into S_hv_exists_common

p4raw-id: //depot/perl@21747

17 years agoRun regen.pl (for hv_assert)
Nicholas Clark [Wed, 19 Nov 2003 18:46:07 +0000 (18:46 +0000)]
Run regen.pl (for hv_assert)

p4raw-id: //depot/perl@21746

17 years agoIntegrate:
Nicholas Clark [Wed, 19 Nov 2003 17:44:58 +0000 (17:44 +0000)]
Integrate:
[ 21642]
space should be tab for lib/I18N/LangTags/t/02decency.t
p4raw-link: @21642 on //depot/maint-5.8/perl: e2ea6b3ef86f79e804ac6a03abd457c45a5f3b64

p4raw-id: //depot/perl@21744
p4raw-integrated: from //depot/maint-5.8/perl@21642 'merge in' MANIFEST
(@21612..)

17 years agoRestore errno after having read $^E (like for $!)
Rafael Garcia-Suarez [Wed, 19 Nov 2003 17:21:50 +0000 (17:21 +0000)]
Restore errno after having read $^E (like for $!)
to preserve errno from unfortunate side-effects.

p4raw-id: //depot/perl@21743

17 years agoWhoops. We weren't actually testing hv_store_ent
Nicholas Clark [Tue, 18 Nov 2003 21:04:40 +0000 (21:04 +0000)]
Whoops. We weren't actually testing hv_store_ent
We are now. Plus test hv_store for an initially empty hash.

p4raw-id: //depot/perl@21742

17 years agoComplement of change #21740 for Windows.
Rafael Garcia-Suarez [Mon, 17 Nov 2003 23:06:07 +0000 (23:06 +0000)]
Complement of change #21740 for Windows.
(I have the feeling that it's already subtly broken on VMS)
p4raw-link: @21740 on //depot/perl: a55f9fbc122e135334917b92ce41b3960365c082

p4raw-id: //depot/perl@21741

17 years agoInstall instmodsh and xsubpp in bin/ along the other utilities.
Rafael Garcia-Suarez [Mon, 17 Nov 2003 19:02:21 +0000 (19:02 +0000)]
Install instmodsh and xsubpp in bin/ along the other utilities.

p4raw-id: //depot/perl@21740

17 years agoRe: [perl #24493] install.html not working
Slaven Rezic [Sun, 16 Nov 2003 20:52:29 +0000 (21:52 +0100)]
Re: [perl #24493] install.html not working
Message-ID: <87d6bsw0oy.fsf@vran.herceg.de>

p4raw-id: //depot/perl@21739

17 years agoOoops. left an XXX comment in, and worse still it's a // comment
Nicholas Clark [Sun, 16 Nov 2003 21:32:09 +0000 (21:32 +0000)]
Ooops. left an XXX comment in, and worse still it's a // comment

p4raw-id: //depot/perl@21737

17 years agoutf8 keys now work for tied hashes via hv_fetch, hv_store, hv_delete
Nicholas Clark [Sun, 16 Nov 2003 20:20:58 +0000 (20:20 +0000)]
utf8 keys now work for tied hashes via hv_fetch, hv_store, hv_delete
(pp functions use the _ent variants, and as the implementation is
duplicated, these bugs aren't tested, and aren't noticed)

p4raw-id: //depot/perl@21735

17 years agoAccessing unicode keys in tie hashes via hv_exists was broken.
Nicholas Clark [Sun, 16 Nov 2003 17:11:22 +0000 (17:11 +0000)]
Accessing unicode keys in tie hashes via hv_exists was broken.
(pp_exists uses hv_exists_ent, which isn't broken)
I expect an equivalent bug in hv_delete

p4raw-id: //depot/perl@21734

17 years agoRe:ext/threads/t/problem.t (was: Problems with mod_perl 1.12 (?) and ActivePerl 5...
Elizabeth Mattijsen [Sat, 15 Nov 2003 23:22:16 +0000 (00:22 +0100)]
Re:ext/threads/t/problem.t (was: Problems with mod_perl 1.12 (?) and ActivePerl 5.8.1)
Message-Id: <p05111b04bbdc49076950@[192.168.56.3]>

p4raw-id: //depot/perl@21733