This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoAdd MgPV_const
Nicholas Clark [Tue, 7 Jun 2005 18:32:44 +0000 (18:32 +0000)]
Add MgPV_const

p4raw-id: //depot/perl@24738

15 years agoRemove unused variable (thanks to Andy's lint)
Rafael Garcia-Suarez [Tue, 7 Jun 2005 18:07:41 +0000 (18:07 +0000)]
Remove unused variable (thanks to Andy's lint)

p4raw-id: //depot/perl@24737

15 years agoChange 24733 allows several pointers to be NULL. Therefore this
Nicholas Clark [Tue, 7 Jun 2005 17:35:10 +0000 (17:35 +0000)]
Change 24733 allows several pointers to be NULL. Therefore this
should be reflected in their attributes.

p4raw-id: //depot/perl@24736

15 years agoRandom cleanups #47
Andy Lester [Mon, 6 Jun 2005 10:11:07 +0000 (05:11 -0500)]
Random cleanups #47
Message-ID: <20050606151107.GC7022@petdance.com>

p4raw-id: //depot/perl@24735

15 years agomake some more functions static
Alexey Tourbin [Sun, 5 Jun 2005 00:00:00 +0000 (00:00 +0000)]
make some more functions static

Subject: [PATCH] B/C/C.xs: static my_runops()
Message-ID: <20050604232451.GT5867@solemn.turbinal.org>

Subject: [PATCH] Devel/Peek/Peek.xs: make plain C functions static
Message-ID: <20050604232952.GU5867@solemn.turbinal.org>

Subject: [PATCH] File/Glob/Glob.xs: errfunc() should be static
Message-ID: <20050604233414.GV5867@solemn.turbinal.org>

all being :
Date: Sun, 5 Jun 2005

p4raw-id: //depot/perl@24734

15 years agoSimplify the implementation of SvPV*nolen functions
Nicholas Clark [Tue, 7 Jun 2005 15:10:38 +0000 (15:10 +0000)]
Simplify the implementation of SvPV*nolen functions

p4raw-id: //depot/perl@24733

15 years agoEnsure string table counts are balanced. (Was not true in op/pack.t)
Nicholas Clark [Tue, 7 Jun 2005 14:57:35 +0000 (14:57 +0000)]
Ensure string table counts are balanced. (Was not true in op/pack.t)

p4raw-id: //depot/perl@24732

15 years agoRemove unneeded #ifdef VMS since VMS is not defined here anyway
Rafael Garcia-Suarez [Tue, 7 Jun 2005 14:44:55 +0000 (14:44 +0000)]
Remove unneeded #ifdef VMS since VMS is not defined here anyway
(spotted by Steve_p)

p4raw-id: //depot/perl@24731

15 years agoone more round of is_utf8_foo tuneup
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:06:12 +0000 (21:06 +0300)]
one more round of is_utf8_foo tuneup
Message-ID: <42A314E4.8060608@gmail.com>

p4raw-id: //depot/perl@24730

15 years agoutil.c: S_vdie_common() should be static
Alexey Tourbin [Sun, 5 Jun 2005 03:08:30 +0000 (07:08 +0400)]
util.c: S_vdie_common() should be static
Message-ID: <20050604230830.GS5867@solemn.turbinal.org>

p4raw-id: //depot/perl@24729

15 years agoFix apidoc for newSVhek
Rafael Garcia-Suarez [Tue, 7 Jun 2005 13:15:45 +0000 (13:15 +0000)]
Fix apidoc for newSVhek

p4raw-id: //depot/perl@24728

15 years agomake pp_split const
Nicholas Clark [Tue, 7 Jun 2005 13:01:42 +0000 (13:01 +0000)]
make pp_split const

p4raw-id: //depot/perl@24727

15 years agoLots of consting
Nicholas Clark [Tue, 7 Jun 2005 12:11:48 +0000 (12:11 +0000)]
Lots of consting

p4raw-id: //depot/perl@24726

15 years agoThe FBM compile code is mutable, because it's permissible to FBM
Nicholas Clark [Tue, 7 Jun 2005 12:08:58 +0000 (12:08 +0000)]
The FBM compile code is mutable, because it's permissible to FBM
compile a read-only value.

p4raw-id: //depot/perl@24725

15 years agoXS_VERSION_BOOTCHECK is read only.
Nicholas Clark [Tue, 7 Jun 2005 12:07:49 +0000 (12:07 +0000)]
XS_VERSION_BOOTCHECK is read only.

p4raw-id: //depot/perl@24724

15 years agoPOPpx needs a const equivalent.
Nicholas Clark [Tue, 7 Jun 2005 12:06:13 +0000 (12:06 +0000)]
POPpx needs a const equivalent.

p4raw-id: //depot/perl@24723

15 years agoMake a start at consting calls to SvPV. SV conversion and upgrade
Nicholas Clark [Tue, 7 Jun 2005 12:03:56 +0000 (12:03 +0000)]
Make a start at consting calls to SvPV. SV conversion and upgrade
routines need to be mutable, as it's permitted to change the type of
a READONLY SV, or cache the string or number conversion.
Other routines are mostly const.

p4raw-id: //depot/perl@24722

15 years agoNeed const versions of SvPV(), so that its callers can indicate
Nicholas Clark [Tue, 7 Jun 2005 12:00:09 +0000 (12:00 +0000)]
Need const versions of SvPV(), so that its callers can indicate
whether they are read/write or read only
Also provide a mutable version, for the internals to use where it
needs a non-const pointer, but will be writing. Callers of this are
assumed to be aware of how copy on write is working, and to keep
track of core changes.

For now check that SVs are not READONLY when const versions are used.
(with DEBUG_COW > 1). COW is going to have to be orthogonal to Perl's
READONLY flag, but for now it provides a good test indicator.

p4raw-id: //depot/perl@24721

15 years agoRe: [perl #36130] chr(-1) should probably return undef
Jarkko Hietaniemi [Mon, 6 Jun 2005 20:28:35 +0000 (23:28 +0300)]
Re: [perl #36130] chr(-1) should probably return undef
Message-ID: <42A487C3.8010306@gmail.com>

p4raw-id: //depot/perl@24720

15 years agoRE: a bit of trouble with compiling with MSVC++ on Win32
Vadim Konovalov [Tue, 7 Jun 2005 13:19:33 +0000 (17:19 +0400)]
RE: a bit of trouble with compiling with MSVC++ on Win32
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12D462@itotest-1.spb.lucent.com>

p4raw-id: //depot/perl@24719

15 years ago[perl #36193] crash in Perl_yyerror due to missing check for NULL
Todd C. Miller [Mon, 6 Jun 2005 23:24:28 +0000 (23:24 +0000)]
[perl #36193] crash in Perl_yyerror due to missing check for NULL
From: "Todd C. Miller" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36193-115243.12.1531563965146@perl.org>

p4raw-id: //depot/perl@24718

15 years agoUnvoid SvUPGRADE
Andy Lester [Mon, 6 Jun 2005 23:08:50 +0000 (18:08 -0500)]
Unvoid SvUPGRADE
Message-ID: <20050607040850.GA7033@petdance.com>

p4raw-id: //depot/perl@24717

15 years agoAbstract all access to the shared hash value through SvSHARED_HASH()
Nicholas Clark [Mon, 6 Jun 2005 14:50:21 +0000 (14:50 +0000)]
Abstract all access to the shared hash value through SvSHARED_HASH()

p4raw-id: //depot/perl@24716

15 years agoSvIsCOW_shared_hash is declared all the time, so use it.
Nicholas Clark [Mon, 6 Jun 2005 10:01:49 +0000 (10:01 +0000)]
SvIsCOW_shared_hash is declared all the time, so use it.

p4raw-id: //depot/perl@24715

15 years agoShared hash key scalars can be safely copied as shared hash key scalars
Nicholas Clark [Mon, 6 Jun 2005 09:08:45 +0000 (09:08 +0000)]
Shared hash key scalars can be safely copied as shared hash key scalars
all the time.

p4raw-id: //depot/perl@24714

15 years agoNORETURN_FUNCTION_END is not a complete statement
Steve Hay [Mon, 6 Jun 2005 07:52:59 +0000 (07:52 +0000)]
NORETURN_FUNCTION_END is not a complete statement

(Fix compilation error following change #24702)
p4raw-link: @24702 on //depot/perl: 7698c435fea241ff5aec7932afdb5f821dde55f3

p4raw-id: //depot/perl@24713

15 years agoWe still need an "i" in the PERL_IMPLICIT_SYS case
Steve Hay [Mon, 6 Jun 2005 07:47:06 +0000 (07:47 +0000)]
We still need an "i" in the PERL_IMPLICIT_SYS case

(Fix compilation error following change #24689)
p4raw-link: @24689 on //depot/perl: b464bac0b70c4876af1296864220315edde8461d

p4raw-id: //depot/perl@24712

15 years agoTru64: allow creating perl.pixie even with optimized Perl
Jarkko Hietaniemi [Sun, 5 Jun 2005 18:28:08 +0000 (21:28 +0300)]
Tru64: allow creating perl.pixie even with optimized Perl
Message-ID: <42A31A08.3070601@gmail.com>

p4raw-id: //depot/perl@24711

15 years agoRe: blead attribute warnings, cygwin + gcc 3.4.1
Yitzchak Scott-Thoennes [Sun, 5 Jun 2005 20:43:55 +0000 (13:43 -0700)]
Re: blead attribute warnings, cygwin + gcc 3.4.1
Message-ID: <20050606034354.GA1456@efn.org>

p4raw-id: //depot/perl@24710

15 years agoNew test for getppid(), by Alexey Tourbin
Rafael Garcia-Suarez [Sun, 5 Jun 2005 11:35:48 +0000 (11:35 +0000)]
New test for getppid(), by Alexey Tourbin

p4raw-id: //depot/perl@24709

15 years agoPATCH for [perl #36043] '@foo = sort { $a <=> $b } @bar' uses too much memory
Salvador Fandiño [Sun, 5 Jun 2005 04:25:00 +0000 (04:25 +0000)]
PATCH for [perl #36043] '@foo = sort { $a <=> $b } @bar' uses too much memory
Message-ID: <20050605022436.21982.qmail@lists.develooper.com>

p4raw-id: //depot/perl@24708

15 years agoFix minor bummer in 24706
Andy Lester [Sat, 4 Jun 2005 23:09:04 +0000 (18:09 -0500)]
Fix minor bummer in 24706
Message-Id: <20050605040904.GA27783@petdance.com>

p4raw-id: //depot/perl@24707

15 years agofurther speeding up of is_utf8_string()
Jarkko Hietaniemi [Sat, 4 Jun 2005 13:40:15 +0000 (16:40 +0300)]
further speeding up of is_utf8_string()
Message-ID: <42A1850F.4040109@gmail.com>

p4raw-id: //depot/perl@24706

15 years agoSilence a const warning
Rafael Garcia-Suarez [Sat, 4 Jun 2005 16:49:33 +0000 (16:49 +0000)]
Silence a const warning

p4raw-id: //depot/perl@24705

15 years agoImprove FindBin discovery of current directory, based on :
José Pedro Oliveira [Thu, 12 May 2005 20:36:48 +0000 (21:36 +0100)]
Improve FindBin discovery of current directory, based on :

Subject: FindBin.pm: incomplete getcwd/cwd patch? (#24375, #24379)
Message-ID: <4283B050.6080805@di.uminho.pt>

Plus POD fixes

p4raw-id: //depot/perl@24704

15 years agoSimplify the getppid code, by Alexey Tourbin
Rafael Garcia-Suarez [Sat, 4 Jun 2005 07:16:11 +0000 (07:16 +0000)]
Simplify the getppid code, by Alexey Tourbin

p4raw-id: //depot/perl@24703

15 years agoConsting IO and Devel::Peek
Andy Lester [Fri, 3 Jun 2005 22:22:43 +0000 (22:22 +0000)]
Consting IO and Devel::Peek
Reply-To: Perl 5 Porters <perl5-porters@perl.org>
Message-ID: <20050531212621.GA12117@petdance.com>

p4raw-id: //depot/perl@24702

15 years agoClean up UNI* macros in toke.c
Andy Lester [Fri, 3 Jun 2005 19:14:00 +0000 (19:14 +0000)]
Clean up UNI* macros in toke.c
Message-ID: <20050603171448.GA5834@petdance.com>

p4raw-id: //depot/perl@24701

15 years agoB::Concise torture
Jim Cromie [Thu, 2 Jun 2005 06:36:00 +0000 (06:36 +0000)]
B::Concise torture
Message-ID: <429E8CBE.406@divsol.com>
(with formatting nits)

p4raw-id: //depot/perl@24700

15 years agoRe: [PATCH] Improved ICMP_UNREACHABLE handling in Net::Ping
Gisle Aas [Fri, 3 Jun 2005 09:17:44 +0000 (02:17 -0700)]
Re: [PATCH] Improved ICMP_UNREACHABLE handling in Net::Ping
Message-ID: <lry89rfm8n.fsf_-_@caliper.activestate.com>

p4raw-id: //depot/perl@24699

15 years agoUse newSVhek in the cloning code.
Nicholas Clark [Fri, 3 Jun 2005 12:00:01 +0000 (12:00 +0000)]
Use newSVhek in the cloning code.

p4raw-id: //depot/perl@24698

15 years agoUse newSVhek where we're generating SVs from package names
Nicholas Clark [Fri, 3 Jun 2005 11:06:36 +0000 (11:06 +0000)]
Use newSVhek where we're generating SVs from package names

p4raw-id: //depot/perl@24697

15 years agos/newSVpv_hek/newSVhek/g; # Lousy choice of name
Nicholas Clark [Fri, 3 Jun 2005 10:03:21 +0000 (10:03 +0000)]
s/newSVpv_hek/newSVhek/g; # Lousy choice of name

p4raw-id: //depot/perl@24696

15 years agoBump version number
Rafael Garcia-Suarez [Fri, 3 Jun 2005 09:57:26 +0000 (09:57 +0000)]
Bump version number

p4raw-id: //depot/perl@24694

15 years agoRe: [perl #35977] perlbug AutoReply: Devel::DProf "unstacked calls in outer"
Duncan Findlay [Wed, 1 Jun 2005 12:18:08 +0000 (08:18 -0400)]
Re: [perl #35977] perlbug AutoReply: Devel::DProf "unstacked calls in outer"
Message-ID: <20050601161808.GA17294@duncf.mine.nu>

p4raw-id: //depot/perl@24693

15 years agoCreate newSVpv_hek to reduce code duplication where HEKs need to be
Nicholas Clark [Fri, 3 Jun 2005 09:37:21 +0000 (09:37 +0000)]
Create newSVpv_hek to reduce code duplication where HEKs need to be
turned into SVs

p4raw-id: //depot/perl@24692

15 years agoPOD fixes
Rafael Garcia-Suarez [Fri, 3 Jun 2005 09:29:36 +0000 (09:29 +0000)]
POD fixes

p4raw-id: //depot/perl@24691

15 years agoRe: Should while ( <$fh> ) and while (< $fh >) do the same thing?
Yitzchak Scott-Thoennes [Thu, 2 Jun 2005 11:49:11 +0000 (04:49 -0700)]
Re: Should while ( <$fh> ) and while (< $fh >) do the same thing?
Message-ID: <20050602184911.GA3292@efn.org>

p4raw-id: //depot/perl@24690

15 years agoRandom consting
Andy Lester [Thu, 2 Jun 2005 12:19:43 +0000 (07:19 -0500)]
Random consting
Message-ID: <20050602171943.GA16553@petdance.com>

p4raw-id: //depot/perl@24689

15 years ago[PATCH] Run ICMP ping tests on Windows as long as we have admin privs
Jan Dubois [Mon, 18 Apr 2005 20:16:24 +0000 (13:16 -0700)]
[PATCH] Run ICMP ping tests on Windows as long as we have admin privs
From: "Jan Dubois" <jand@ActiveState.com>
Date: Mon, 18 Apr 2005 20:16:24 -0700
Message-Id: <200504190311.j3J3BM4p001792@smtp3.ActiveState.com>

Subject: RE: [PATCH] Run ICMP ping tests on Windows as long as we have admin privs
From: "Jan Dubois" <jand@ActiveState.com>
Date: Tue, 19 Apr 2005 01:49:51 -0700
Message-Id: <200504190844.j3J8inkW032630@smtp3.ActiveState.com>

(There was no reply from Rob Brown in over a month, so commit to blead
for now.  I'll email him again...)

p4raw-id: //depot/perl@24688

15 years agospeed up is_utf8_char()
Jarkko Hietaniemi [Thu, 2 Jun 2005 21:52:46 +0000 (00:52 +0300)]
speed up is_utf8_char()
Message-ID: <429F557E.3090007@gmail.com>

p4raw-id: //depot/perl@24687

15 years agoQuotes in pod/*.pod
Andy Lester [Thu, 2 Jun 2005 16:19:54 +0000 (11:19 -0500)]
Quotes in pod/*.pod
Message-ID: <20050602211954.GA22107@petdance.com>

p4raw-id: //depot/perl@24686

15 years agoIndent fix
Rafael Garcia-Suarez [Fri, 3 Jun 2005 07:59:48 +0000 (07:59 +0000)]
Indent fix

p4raw-id: //depot/perl@24685

15 years agoFAQ sync
Rafael Garcia-Suarez [Fri, 3 Jun 2005 07:58:10 +0000 (07:58 +0000)]
FAQ sync

p4raw-id: //depot/perl@24684

15 years agosymbian/xsbuild.pl
Jarkko Hietaniemi [Fri, 3 Jun 2005 11:00:01 +0000 (14:00 +0300)]
symbian/xsbuild.pl
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A225@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@24683

15 years agoSvPVX_const() - patch #4
Steve Peters [Thu, 2 Jun 2005 13:41:35 +0000 (08:41 -0500)]
SvPVX_const() - patch #4
Message-ID: <20050602184135.GA13682@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24682

15 years agoRe: [patch] teach B::Concise to see XS code
Jim Cromie [Wed, 1 Jun 2005 08:01:17 +0000 (02:01 -0600)]
Re: [patch] teach B::Concise to see XS code
Message-ID: <429DBFAD.1090308@divsol.com>

p4raw-id: //depot/perl@24681

15 years agoIntegrate perl587delta.pod, the changes in perlhist.pod, and update
Nicholas Clark [Thu, 2 Jun 2005 16:40:58 +0000 (16:40 +0000)]
Integrate perl587delta.pod, the changes in perlhist.pod, and update
the relevant makefiles and tables-of-contents to reflect this.

p4raw-id: //depot/perl@24680
p4raw-branched: from //depot/maint-5.8/perl@24679 'branch in'
pod/perl587delta.pod
p4raw-integrated: from //depot/maint-5.8/perl@24679 'copy in'
pod/perlhist.pod (@24141..) 'merge in' win32/pod.mak (@23153..)
p4raw-integrated: from //depot/maint-5.8/perl@23573 'edit in' pod.lst
(@23153..) Makefile.SH (@23406..) pod/perl.pod (@23476..)
'ignore' pod/perltoc.pod (@23408..) win32/Makefile
win32/makefile.mk (@23480..) vms/descrip_mms.template
(@23560..) 'merge in' MANIFEST (@23461..)

15 years agoDynaLoader dl_unload_file for win32 ( dl_win32.xs )
DH [Tue, 31 May 2005 08:33:27 +0000 (01:33 -0700)]
DynaLoader dl_unload_file for win32 ( dl_win32.xs )
Message-ID: <20050531153327.85145.qmail@unknown-209-73-178-237.yahoo.com>

(with a couple of minor tweaks)

p4raw-id: //depot/perl@24679

15 years agoDave can see a better way of doing the rounding.
Nicholas Clark [Thu, 2 Jun 2005 15:10:54 +0000 (15:10 +0000)]
Dave can see a better way of doing the rounding.

p4raw-id: //depot/perl@24678

15 years ago24672 is innocent. valgrind + perl's malloc considered harmful.
Nicholas Clark [Thu, 2 Jun 2005 14:42:20 +0000 (14:42 +0000)]
24672 is innocent. valgrind + perl's malloc considered harmful.

p4raw-id: //depot/perl@24677

15 years agoChanges 24660 and 24665 both introduced errors into the USEMYMALLOC
Nicholas Clark [Thu, 2 Jun 2005 13:36:01 +0000 (13:36 +0000)]
Changes 24660 and 24665 both introduced errors into the USEMYMALLOC
code. Plus change 24672 appears to break under USEMYMALLOC, so revert
it for now.

p4raw-id: //depot/perl@24676

15 years agoUpgrade to ExtUtils::CBuilder 0.12 and ExtUtils::ParseXS 2.10
Rafael Garcia-Suarez [Thu, 2 Jun 2005 11:19:02 +0000 (11:19 +0000)]
Upgrade to ExtUtils::CBuilder 0.12 and ExtUtils::ParseXS 2.10

p4raw-id: //depot/perl@24675

15 years agoCPP typo fix (by Dominic Dunlop)
Rafael Garcia-Suarez [Thu, 2 Jun 2005 09:39:26 +0000 (09:39 +0000)]
CPP typo fix (by Dominic Dunlop)

p4raw-id: //depot/perl@24674

15 years agoOops. My maths was too generous (by 1).
Nicholas Clark [Thu, 2 Jun 2005 09:29:48 +0000 (09:29 +0000)]
Oops. My maths was too generous (by 1).

p4raw-id: //depot/perl@24673

15 years agoAvoid duplicate calls to PAD_COMPNAME_OURSTASH, which is an expensive
Nicholas Clark [Thu, 2 Jun 2005 09:24:17 +0000 (09:24 +0000)]
Avoid duplicate calls to PAD_COMPNAME_OURSTASH, which is an expensive
macro.

p4raw-id: //depot/perl@24672

15 years agoFix changed diagnostic
Rafael Garcia-Suarez [Thu, 2 Jun 2005 09:06:39 +0000 (09:06 +0000)]
Fix changed diagnostic

p4raw-id: //depot/perl@24671

15 years agoSvPVX_const() - part 3 ... and const'ing Storable
Steve Peters [Tue, 31 May 2005 09:55:43 +0000 (04:55 -0500)]
SvPVX_const() - part 3 ... and const'ing Storable
Message-Id: <20050531145543.GA8051@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24670

15 years agouse lengths in sv_setpv() calls
Andy Lester [Wed, 1 Jun 2005 23:16:56 +0000 (18:16 -0500)]
use lengths in sv_setpv() calls
Message-ID: <20050602041656.GA3000@petdance.com>

p4raw-id: //depot/perl@24669

15 years agoNew HW model; more on threads for 10.20
H.Merijn Brand [Thu, 2 Jun 2005 08:02:23 +0000 (08:02 +0000)]
New HW model; more on threads for 10.20

p4raw-id: //depot/perl@24668

15 years agoHP-UX specific #pragma entered in #23890 is not supported
H.Merijn Brand [Thu, 2 Jun 2005 07:52:09 +0000 (07:52 +0000)]
HP-UX specific #pragma entered in #23890 is not supported
on HP-UX 10.20 and older

p4raw-id: //depot/perl@24667

15 years agoQuotes fixed, see also perl #36079
Andy Lester [Thu, 2 Jun 2005 00:02:38 +0000 (19:02 -0500)]
Quotes fixed, see also perl #36079
Message-ID: <20050602050238.GA4001@petdance.com>

p4raw-id: //depot/perl@24666

15 years agoRound up all string length requests to malloc()/realloc() to the next
Nicholas Clark [Wed, 1 Jun 2005 20:46:02 +0000 (20:46 +0000)]
Round up all string length requests to malloc()/realloc() to the next
multiple of 4/8 bytes [sizeof(size_t)] on the assumption that malloc()
internally will quantise, and so we're going to use space that
otherwise would be wasted. Hopefully this will save realloc()ing.

p4raw-id: //depot/perl@24665

15 years agoI think SvCUR() was intended rather than SvLEN()
Nicholas Clark [Wed, 1 Jun 2005 20:42:29 +0000 (20:42 +0000)]
I think SvCUR() was intended rather than SvLEN()

p4raw-id: //depot/perl@24664

15 years agoWe don't have XRVs any more, so remove the typedef
Nicholas Clark [Wed, 1 Jun 2005 15:40:57 +0000 (15:40 +0000)]
We don't have XRVs any more, so remove the typedef

p4raw-id: //depot/perl@24663

15 years agoZero-ing the new HV array is pointless, as we write to every element.
Nicholas Clark [Wed, 1 Jun 2005 15:23:02 +0000 (15:23 +0000)]
Zero-ing the new HV array is pointless, as we write to every element.
Also avoid calling into he_dup when the HE is 0, to save the function
call overhead.

p4raw-id: //depot/perl@24662

15 years agoAs PERL_HV_ARRAY_ALLOC_BYTES is bytes, not items, the type should be
Nicholas Clark [Wed, 1 Jun 2005 15:08:02 +0000 (15:08 +0000)]
As PERL_HV_ARRAY_ALLOC_BYTES is bytes, not items, the type should be
char rather than HE *. Bug was harmless, overallocating by a factor
of sizeof(HE *)

p4raw-id: //depot/perl@24661

15 years agoStore the xhv_aux structure after the main array.
Nicholas Clark [Wed, 1 Jun 2005 14:33:14 +0000 (14:33 +0000)]
Store the xhv_aux structure after the main array.
This reduces the size of HV bodies from 24 to 20 bytes on a 32 bit
build. It has the side effect of defined %symbol_table:: now always
being true. defined %hash is already deprecated.

p4raw-id: //depot/perl@24660

15 years agoIf we're building config_heavy.pl somewhere else, then we need to
Nicholas Clark [Wed, 1 Jun 2005 14:28:38 +0000 (14:28 +0000)]
If we're building config_heavy.pl somewhere else, then we need to
require it, not something (or maybe nothing) in the correct place.

p4raw-id: //depot/perl@24659

15 years agoRevert change #24656
Rafael Garcia-Suarez [Wed, 1 Jun 2005 14:16:32 +0000 (14:16 +0000)]
Revert change #24656
p4raw-link: @24656 on //depot/perl: 5cf1bec94acfda2c63b79cbc3b0bce4e6fe08b97

p4raw-id: //depot/perl@24658

15 years agoFollowing the head refactoring, the Newz doesn't clear the SvPVX
Nicholas Clark [Wed, 1 Jun 2005 09:19:46 +0000 (09:19 +0000)]
Following the head refactoring, the Newz doesn't clear the SvPVX
So PL_mess_sv contained an uninitialised value.

p4raw-id: //depot/perl@24657

15 years agoeliminate always running mktables
Robin Barker [Wed, 1 Jun 2005 09:55:16 +0000 (10:55 +0100)]
eliminate always running mktables
Message-ID: <533D273D4014D411AB1D00062938C4D90849C6B8@hotel.npl.co.uk>

p4raw-id: //depot/perl@24656

15 years agoDon't touch lib/ExtUtils/Miniperl.pm when rebuild identically
Rafael Garcia-Suarez [Wed, 1 Jun 2005 09:09:35 +0000 (09:09 +0000)]
Don't touch lib/ExtUtils/Miniperl.pm when rebuild identically

p4raw-id: //depot/perl@24655

15 years agoRe: [patch] teach B::Concise to see XS code
Stephen McCamant [Sat, 21 May 2005 21:52:31 +0000 (14:52 -0700)]
Re: [patch] teach B::Concise to see XS code
Message-ID: <17040.4111.265639.434150@apocalypse.OCF.Berkeley.EDU>

Correctly nullify CvSTART when undef'ing a CV

p4raw-id: //depot/perl@24654

15 years agoRe: [patch] teach B::Concise to see XS code
Jim Cromie [Sat, 21 May 2005 09:24:24 +0000 (03:24 -0600)]
Re: [patch] teach B::Concise to see XS code
Message-ID: <428F52A8.20702@divsol.com>

p4raw-id: //depot/perl@24653

15 years agoSpeed up lib/unicore/mktables by 45%
Andy Lester [Tue, 31 May 2005 12:39:00 +0000 (07:39 -0500)]
Speed up lib/unicore/mktables by 45%
Message-ID: <20050531173900.GA9820@petdance.com>

p4raw-id: //depot/perl@24652

15 years agoRemove duplicated line
Rafael Garcia-Suarez [Tue, 31 May 2005 20:34:44 +0000 (20:34 +0000)]
Remove duplicated line

p4raw-id: //depot/perl@24651

15 years agoUpgrade to Module::CoreList 2.02
Rafael Garcia-Suarez [Tue, 31 May 2005 20:31:55 +0000 (20:31 +0000)]
Upgrade to Module::CoreList 2.02

p4raw-id: //depot/perl@24650

15 years agoAttempt 2 at a diet memory layout can go live.
Nicholas Clark [Tue, 31 May 2005 12:03:30 +0000 (12:03 +0000)]
Attempt 2 at a diet memory layout can go live.

p4raw-id: //depot/perl@24649

15 years agoAvoid updating a variable in a loop.
Nicholas Clark [Tue, 31 May 2005 10:40:01 +0000 (10:40 +0000)]
Avoid updating a variable in a loop.
Only calculate the number of links in a hash bucket chain if we really
need it.

p4raw-id: //depot/perl@24648

15 years agoAvoid updating a variable in the loop
Nicholas Clark [Tue, 31 May 2005 10:02:12 +0000 (10:02 +0000)]
Avoid updating a variable in the loop

p4raw-id: //depot/perl@24646

15 years agoByteLoader.xs cleanup
Andy Lester [Mon, 30 May 2005 22:28:36 +0000 (17:28 -0500)]
ByteLoader.xs cleanup
Message-ID: <20050531032836.GA32198@petdance.com>

p4raw-id: //depot/perl@24645

15 years agoAdd DECC to the symbol list
Yitzchak Scott-Thoennes [Mon, 30 May 2005 16:33:15 +0000 (09:33 -0700)]
Add DECC to the symbol list
Subject: [PATCH]lette Re: updated tru64 cc [PATCH]es (Re: [PATCH]es: Tru64/blead)
Message-ID: <20050530233315.GA3088@efn.org>

p4raw-id: //depot/perl@24644

15 years agoadd pointer to email explaining why eval {goto &foo} is banned
Dave Mitchell [Mon, 30 May 2005 23:37:15 +0000 (23:37 +0000)]
add pointer to email explaining why eval {goto &foo} is banned

p4raw-id: //depot/perl@24642

15 years agoChange the logic to avoid needing to set a variable during the loop
Nicholas Clark [Mon, 30 May 2005 21:02:34 +0000 (21:02 +0000)]
Change the logic to avoid needing to set a variable during the loop

p4raw-id: //depot/perl@24638

15 years agoVarious HvPLACEHOLDERS() that should be HvPLACEHOLDERS_get()
Nicholas Clark [Mon, 30 May 2005 13:01:27 +0000 (13:01 +0000)]
Various HvPLACEHOLDERS() that should be HvPLACEHOLDERS_get()

p4raw-id: //depot/perl@24633

15 years agoUpgrade to PathTools 3.08
Rafael Garcia-Suarez [Mon, 30 May 2005 11:54:23 +0000 (11:54 +0000)]
Upgrade to PathTools 3.08

p4raw-id: //depot/perl@24631

15 years agogcc hints were not yet applied to gcc-4.x
H.Merijn Brand [Mon, 30 May 2005 11:07:45 +0000 (11:07 +0000)]
gcc hints were not yet applied to gcc-4.x
Now they are

p4raw-id: //depot/perl@24630

15 years ago[perl #36037] Perl 5.8.7-RC1 build problems on LynxOS
Olli Savia [Mon, 30 May 2005 10:59:35 +0000 (10:59 +0000)]
[perl #36037] Perl 5.8.7-RC1 build problems on LynxOS
From: Olli Savia (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-36037-113779.5.23037641993746@perl.org>

p4raw-id: //depot/perl@24629

15 years agoregen after #24627
H.Merijn Brand [Mon, 30 May 2005 10:28:06 +0000 (10:28 +0000)]
regen after #24627

p4raw-id: //depot/perl@24628