This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agosv_clear can manipulate the arena array directly too.
Nicholas Clark [Fri, 18 Nov 2005 23:28:59 +0000 (23:28 +0000)]
sv_clear can manipulate the arena array directly too.
Also, I think that we may have been "leaking" NV bodies in blead since
25051. Oops. (Will not have been detectable except with -DPURIFY as
the leak is not returning them as free to the arena)

p4raw-id: //depot/perl@26169

16 years agoWe only need to zero new bodies for upgrades. sv_dup doesn't need to
Nicholas Clark [Fri, 18 Nov 2005 21:25:23 +0000 (21:25 +0000)]
We only need to zero new bodies for upgrades. sv_dup doesn't need to
zero as it's copying over the same sized structure. So change
new_NOARENA to malloc(), and add new_NOARENAZ() to calloc()

p4raw-id: //depot/perl@26168

16 years agoMerge the arms of the switch. The decision about what comes from an
Nicholas Clark [Fri, 18 Nov 2005 21:02:34 +0000 (21:02 +0000)]
Merge the arms of the switch. The decision about what comes from an
arena and what comes from malloc is now solely in the table.

p4raw-id: //depot/perl@26167

16 years agoEliminate new_body_length from sv_dup. Replace SvTYPE(sstr) with
Nicholas Clark [Fri, 18 Nov 2005 20:38:26 +0000 (20:38 +0000)]
Eliminate new_body_length from sv_dup. Replace SvTYPE(sstr) with
sv_type, which is a constant variable with the same value.

p4raw-id: //depot/perl@26166

16 years agoEliminate new_body_offset from sv_dup()
Nicholas Clark [Fri, 18 Nov 2005 19:50:24 +0000 (19:50 +0000)]
Eliminate new_body_offset from sv_dup()

p4raw-id: //depot/perl@26165

16 years agoMerge the last remaining case duplication in sv_upgrade
Nicholas Clark [Fri, 18 Nov 2005 17:37:39 +0000 (17:37 +0000)]
Merge the last remaining case duplication in sv_upgrade

p4raw-id: //depot/perl@26164

16 years agoEliminate new_body_length from sv_upgrade
Nicholas Clark [Fri, 18 Nov 2005 16:18:38 +0000 (16:18 +0000)]
Eliminate new_body_length from sv_upgrade

p4raw-id: //depot/perl@26163

16 years agoEliminate new_body_offset from sv_upgrade
Nicholas Clark [Fri, 18 Nov 2005 15:51:10 +0000 (15:51 +0000)]
Eliminate new_body_offset from sv_upgrade

p4raw-id: //depot/perl@26162

16 years agonew_body_inline doesn't need to be passed the root, as it's already
Nicholas Clark [Fri, 18 Nov 2005 15:03:01 +0000 (15:03 +0000)]
new_body_inline doesn't need to be passed the root, as it's already
inferring the arenaroot directly from the passed-in type.

p4raw-id: //depot/perl@26161

16 years agoTabs are still required in the MANIFEST
Rafael Garcia-Suarez [Fri, 18 Nov 2005 12:40:16 +0000 (12:40 +0000)]
Tabs are still required in the MANIFEST

p4raw-id: //depot/perl@26160

16 years agoAdd a flag to the body details of which types come from arenas.
Nicholas Clark [Fri, 18 Nov 2005 12:06:06 +0000 (12:06 +0000)]
Add a flag to the body details of which types come from arenas.
Update the allocation information for all the types.
Add a new macro new_NOARENA() for allocating the non-arena types.
Use calloc rather than malloc for the new_NOARENA so that the Zero()
can be skipped.

p4raw-id: //depot/perl@26159

16 years agoSimplify the expression for the upgrade logic for SVt_IV.
Nicholas Clark [Fri, 18 Nov 2005 11:20:10 +0000 (11:20 +0000)]
Simplify the expression for the upgrade logic for SVt_IV.
Replace the "can't happen" comment for SVt_PVIV with assertions
that it didn't happen.

p4raw-id: //depot/perl@26158

16 years agoAdding README.linux to the MANIFEST
Steve Peters [Fri, 18 Nov 2005 11:07:34 +0000 (11:07 +0000)]
Adding README.linux to the MANIFEST

p4raw-id: //depot/perl@26157

16 years agoconst and static for the const static private table.
Nicholas Clark [Fri, 18 Nov 2005 10:30:12 +0000 (10:30 +0000)]
const and static for the const static private table.
Replace the "upgrade" special case for SVt_PV with assertions as it's
not been needed since we forced *up*grades.

p4raw-id: //depot/perl@26156

16 years agoRename sv_upgrade's parameter mt to new_type.
Nicholas Clark [Fri, 18 Nov 2005 10:13:31 +0000 (10:13 +0000)]
Rename sv_upgrade's parameter mt to new_type.

p4raw-id: //depot/perl@26155

16 years agoDumpvalue doc patch
Andreas König [Fri, 18 Nov 2005 03:42:52 +0000 (04:42 +0100)]
Dumpvalue doc patch
Message-ID: <87br0ibrrn.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@26154

16 years agoInitial, albeit hackish, support for the alpha version of Sun Studio
Steve Peters [Fri, 18 Nov 2005 00:54:53 +0000 (00:54 +0000)]
Initial, albeit hackish, support for the alpha version of Sun Studio
compilers of Linux.

p4raw-id: //depot/perl@26153

16 years agoAll that can be in the first switch statement of sv_upgrade is now
Nicholas Clark [Thu, 17 Nov 2005 23:27:59 +0000 (23:27 +0000)]
All that can be in the first switch statement of sv_upgrade is now
table driven. The shrinking continues on the morrow.

p4raw-id: //depot/perl@26152

16 years ago"Can you see what it is yet?"
Nicholas Clark [Thu, 17 Nov 2005 22:50:07 +0000 (22:50 +0000)]
"Can you see what it is yet?"
Next steps towards making as much as possible table driven.

p4raw-id: //depot/perl@26151

16 years agoAdd the size of the structure to copy as a field in the per type
Nicholas Clark [Thu, 17 Nov 2005 21:58:58 +0000 (21:58 +0000)]
Add the size of the structure to copy as a field in the per type
data table.

p4raw-id: //depot/perl@26150

16 years agoMerge sizeof_body_by_svtype and offset_by_svtype into a single array
Nicholas Clark [Thu, 17 Nov 2005 16:33:05 +0000 (16:33 +0000)]
Merge sizeof_body_by_svtype and offset_by_svtype into a single array
of structures.

p4raw-id: //depot/perl@26149

16 years agoMove the location of the definition of the arena slot used for pte
Nicholas Clark [Thu, 17 Nov 2005 14:36:39 +0000 (14:36 +0000)]
Move the location of the definition of the arena slot used for pte
into sv.h, to keep it in one central place.
Change it to use SVt_RV. (Having SVt_IV for real use will be useful.
SVt_RV has no body, and doesn't pretend to have one, so it is spare.)

p4raw-id: //depot/perl@26148

16 years agoSort subs now in embed.fnc
Andy Lester [Thu, 17 Nov 2005 07:53:38 +0000 (01:53 -0600)]
Sort subs now in embed.fnc
Message-ID: <20051117135338.GA31715@petdance.com>

p4raw-id: //depot/perl@26147

16 years agos/SvTYPE(sv)/old_type/ in sv_upgrade because we already have that value
Nicholas Clark [Thu, 17 Nov 2005 13:51:01 +0000 (13:51 +0000)]
s/SvTYPE(sv)/old_type/ in sv_upgrade because we already have that value
in that variable.
Don't compile S_new_body with -DPURIFY

p4raw-id: //depot/perl@26146

16 years agoIt's clearer to use "morphing" than "polymorphing" when
Rafael Garcia-Suarez [Thu, 17 Nov 2005 09:06:33 +0000 (09:06 +0000)]
It's clearer to use "morphing" than "polymorphing" when
describing what exec() does

p4raw-id: //depot/perl@26145

16 years ago[perl #37694] segfault with PerlIO::get_layers()
Peter Dintelmann [Wed, 16 Nov 2005 07:11:41 +0000 (23:11 -0800)]
[perl #37694] segfault with PerlIO::get_layers()
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37694-124556.15.9755707729767@perl.org>

p4raw-id: //depot/perl@26144

16 years agoOi gcc, No! sizeof(void) is an error. *Not* 1.
Nicholas Clark [Wed, 16 Nov 2005 23:40:55 +0000 (23:40 +0000)]
Oi gcc, No! sizeof(void) is an error. *Not* 1.
Wanting sizeof(void) isn't even a compilation error with -ansi
-pedantic. Just a warning. Lame! I'm going to send it back for a full
refund. Hateful software.

p4raw-id: //depot/perl@26143

16 years agoPL_pte_root and PL_pte_arenaroot can be exterminated. Which reveals
Nicholas Clark [Wed, 16 Nov 2005 20:18:58 +0000 (20:18 +0000)]
PL_pte_root and PL_pte_arenaroot can be exterminated. Which reveals
an erroneous remaining reference to PL_pte_root to correct.

p4raw-id: //depot/perl@26142

16 years agoRe: eliminate discreet arenaroots
Jim Cromie [Mon, 14 Nov 2005 12:29:52 +0000 (05:29 -0700)]
Re: eliminate discreet arenaroots
Message-ID: <4378E5B0.3010708@gmail.com>
Date: Mon, 14 Nov 2005 12:29:52 -0700

p4raw-id: //depot/perl@26141

16 years agofor wince
Vadim Konovalov [Wed, 16 Nov 2005 20:57:13 +0000 (23:57 +0300)]
for wince
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC9F@itotest-1.spb.lucent.com>

p4raw-id: //depot/perl@26140

16 years agoRe: [perl #37688] Unexpected regex failure.
Hugo van der Sanden [Wed, 16 Nov 2005 14:54:55 +0000 (14:54 +0000)]
Re: [perl #37688] Unexpected regex failure.
Message-Id: <200511161454.jAGEst117787@zen.crypt.org>

p4raw-id: //depot/perl@26137

16 years agoRe: [perl #37616] Bug in &= (string) and/or m//
SADAHIRO Tomoyuki [Wed, 9 Nov 2005 02:12:00 +0000 (11:12 +0900)]
Re: [perl #37616] Bug in &= (string) and/or m//
Message-Id: <20051109021035.69D8.BQW10602@nifty.com>

p4raw-id: //depot/perl@26136

16 years agoRe: Cygwin status, maint and blead
Yitzchak Scott-Thoennes [Sun, 13 Nov 2005 16:01:02 +0000 (08:01 -0800)]
Re: Cygwin status, maint and blead
Message-ID: <20051114000102.GA5556@efn.org>

p4raw-id: //depot/perl@26135

16 years agoRemove the two register keywords from auto variables that PERL_POSION
Nicholas Clark [Mon, 14 Nov 2005 22:48:02 +0000 (22:48 +0000)]
Remove the two register keywords from auto variables that PERL_POSION
wants to take the address of.

p4raw-id: //depot/perl@26134

16 years agoMore PERL_POISON - poison SvANY() and SvREFCNT() in freed SV heads.
Nicholas Clark [Mon, 14 Nov 2005 22:32:14 +0000 (22:32 +0000)]
More PERL_POISON - poison SvANY() and SvREFCNT() in freed SV heads.
(by using the union pointer to chain the freed heads together)

p4raw-id: //depot/perl@26133

16 years agoMark all places where perl needs to look at a possibly-freed scalar
Nicholas Clark [Mon, 14 Nov 2005 22:31:14 +0000 (22:31 +0000)]
Mark all places where perl needs to look at a possibly-freed scalar
with a macro SvIS_FREED(sv)

p4raw-id: //depot/perl@26132

16 years agoRemoved reference to the non-existent C<Opcode::Custom>.
Steve Peters [Mon, 14 Nov 2005 17:31:59 +0000 (17:31 +0000)]
Removed reference to the non-existent C<Opcode::Custom>.

p4raw-id: //depot/perl@26131

16 years agoThe warning "Field too wide in 'u' format in pack" was emitted even
Rafael Garcia-Suarez [Mon, 14 Nov 2005 16:32:33 +0000 (16:32 +0000)]
The warning "Field too wide in 'u' format in pack" was emitted even
when pack warnings were not enabled

p4raw-id: //depot/perl@26130

16 years agoProvide a crude way for specifying the command line for
Nicholas Clark [Mon, 14 Nov 2005 16:22:26 +0000 (16:22 +0000)]
Provide a crude way for specifying the command line for
make test.valgrind

p4raw-id: //depot/perl@26129

16 years agoA better fix for [perl #35847] File::Find not performing as documented,
Rafael Garcia-Suarez [Mon, 14 Nov 2005 15:40:08 +0000 (15:40 +0000)]
A better fix for [perl #35847] File::Find not performing as documented,
suggested by Darren Dunham. Includes a fix to the code example that
uses File::Find in perlfaq3.

p4raw-id: //depot/perl@26128

16 years agoDon't warn about lack of docs for functions that appear twice in embed.fnc.
Rafael Garcia-Suarez [Mon, 14 Nov 2005 12:43:29 +0000 (12:43 +0000)]
Don't warn about lack of docs for functions that appear twice in embed.fnc.

p4raw-id: //depot/perl@26126

16 years agoFix indentation of apidoc for sv_2pvutf8
Rafael Garcia-Suarez [Mon, 14 Nov 2005 10:45:25 +0000 (10:45 +0000)]
Fix indentation of apidoc for sv_2pvutf8
(so perlapi.pod is correctly generated)

p4raw-id: //depot/perl@26124

16 years agoSuppress gcc warnings when ignoring the return value of io_close(),
Rafael Garcia-Suarez [Mon, 14 Nov 2005 10:24:58 +0000 (10:24 +0000)]
Suppress gcc warnings when ignoring the return value of io_close(),
as suggested by Gisle Aas.

p4raw-id: //depot/perl@26123

16 years agoMissing ; in Storable.xs
Gisle Aas [Mon, 14 Nov 2005 02:32:14 +0000 (18:32 -0800)]
Missing ; in Storable.xs
Message-ID: <lrhdafy0y9.fsf_-_@caliper.activestate.com>

p4raw-id: //depot/perl@26122

16 years agoCompress::Zlib
Paul Marquess [Sun, 13 Nov 2005 17:09:08 +0000 (17:09 +0000)]
Compress::Zlib
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <00d101c5e874$f865f910$6d1c140a@myopwv.com>

p4raw-id: //depot/perl@26120

16 years agoFix code-before-declaration in boot_Storable added by 26107
Steve Hay [Mon, 14 Nov 2005 09:39:02 +0000 (09:39 +0000)]
Fix code-before-declaration in boot_Storable added by 26107

p4raw-id: //depot/perl@26119

16 years agoconsting perlbug breaking in blead & maint
Yitzchak Scott-Thoennes [Sun, 13 Nov 2005 16:00:49 +0000 (08:00 -0800)]
consting perlbug breaking in blead & maint
Message-ID: <20051114000049.GA7676@efn.org>

p4raw-id: //depot/perl@26118

16 years agoFix breakages that prevended -DPERL_POISON from compiling.
Nicholas Clark [Sun, 13 Nov 2005 18:47:27 +0000 (18:47 +0000)]
Fix breakages that prevended -DPERL_POISON from compiling.

p4raw-id: //depot/perl@26112

16 years agoIntegrate:
Nicholas Clark [Sun, 13 Nov 2005 11:44:30 +0000 (11:44 +0000)]
Integrate:
[ 26108]
BEGIN blocks should start a new stack, as they can be called as a
side effect of "regular" Perl API calls within subroutines that have
already cached the current stack's address. If they don't, any stack
extension during the call may move the stack, rendering that cached
value invalid without the cachee realising. (For example, PP code
calling gv_fetchpv() which triggers a load of Errno.pm)
p4raw-link: @26108 on //depot/maint-5.8/perl: 5480675bc37b4a804a56a749cdedc70e27a270eb

p4raw-id: //depot/perl@26110
p4raw-integrated: from //depot/maint-5.8/perl@26107 'merge in' op.c
(@26097..)

16 years agoRe: [PATCH] Enhanced Storable::read_magic()
Gisle Aas [Sat, 12 Nov 2005 13:13:23 +0000 (05:13 -0800)]
Re: [PATCH] Enhanced Storable::read_magic()
Message-ID: <lrhdah7eoc.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@26107

16 years agoUpgrade to Locale-Maketext-1.10. As change #25547 did not make it
Steve Peters [Sat, 12 Nov 2005 20:44:16 +0000 (20:44 +0000)]
Upgrade to Locale-Maketext-1.10.  As change #25547 did not make it
into the module release, I bumped the version number and added the
missing code.
p4raw-link: @25547 on //depot/perl: 5350a4e5afd114d2b90f90330f8524ae889fdb03

p4raw-id: //depot/perl@26103

16 years ago[perl #37657] segfault with binmode ":pop"
Peter Dintelmann [Fri, 11 Nov 2005 06:36:20 +0000 (22:36 -0800)]
[perl #37657] segfault with binmode ":pop"
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37657-124293.6.03947871136576@perl.org>

p4raw-id: //depot/perl@26101

16 years agoMake B's tests skip correctly when PerlIO is not configured.
Nicholas Clark [Sat, 12 Nov 2005 18:48:29 +0000 (18:48 +0000)]
Make B's tests skip correctly when PerlIO is not configured.

p4raw-id: //depot/perl@26100

16 years agomathoms prototypes aren't prototypes
Andy Lester [Fri, 11 Nov 2005 17:20:30 +0000 (11:20 -0600)]
mathoms prototypes aren't prototypes
Message-ID: <20051111232030.GA882@petdance.com>

p4raw-id: //depot/perl@26099

16 years agoAndy Lester maintains Locale::Maketext now.
Steve Peters [Sat, 12 Nov 2005 15:41:09 +0000 (15:41 +0000)]
Andy Lester maintains Locale::Maketext now.

p4raw-id: //depot/perl@26096

16 years agoChange 26063 got one conditional the wrong way round.
Nicholas Clark [Sat, 12 Nov 2005 10:21:50 +0000 (10:21 +0000)]
Change 26063 got one conditional the wrong way round.

p4raw-id: //depot/perl@26093

16 years agoMake the removal of references to AvFLAGS in the B modules conditional
Nicholas Clark [Sat, 12 Nov 2005 09:15:32 +0000 (09:15 +0000)]
Make the removal of references to AvFLAGS in the B modules conditional
on perl version.

p4raw-id: //depot/perl@26091

16 years agoconst'ing Netdb_host_t broke HP-UX and created warnings on gcc for a double const.
Steve Peters [Fri, 11 Nov 2005 22:47:06 +0000 (22:47 +0000)]
const'ing Netdb_host_t broke HP-UX and created warnings on gcc for a double const.
Netdb_host_t is a macro that for a const pointer.

p4raw-id: //depot/perl@26090

16 years ago26085 was wrong. Undo it.
Nicholas Clark [Fri, 11 Nov 2005 21:52:20 +0000 (21:52 +0000)]
26085 was wrong. Undo it.
(I suspect that I got this wrong because more changes have been made
 in blead subsequent to the change I was attempting to merge in, and
 and jiggled around with the number of tests)

p4raw-id: //depot/perl@26089

16 years agoDB_File 1.814
Paul Marquess [Fri, 11 Nov 2005 12:09:55 +0000 (12:09 +0000)]
DB_File 1.814
Message-ID: <00e301c5e6b8$d5a357f0$241c140a@myopwv.com>

p4raw-id: //depot/perl@26088

16 years agoStorable 0.1 compatibility
Gisle Aas [Fri, 11 Nov 2005 05:42:29 +0000 (21:42 -0800)]
Storable 0.1 compatibility
Message-ID: <lry83v712y.fsf@caliper.activestate.com>

Also added an entry in the main MANIFEST file for the new test and
a version bump in Storable.pm.

p4raw-id: //depot/perl@26087

16 years agoCorrect the version-dependant expression for the number of tests, as it
Nicholas Clark [Fri, 11 Nov 2005 14:16:30 +0000 (14:16 +0000)]
Correct the version-dependant expression for the number of tests, as it
is now giving the wrong number for 5.8.x

p4raw-id: //depot/perl@26085

16 years agoConst & local: Special Victims Unit
Andy Lester [Thu, 10 Nov 2005 22:47:00 +0000 (16:47 -0600)]
Const & local: Special Victims Unit
Message-ID: <20051111044700.GA24161@petdance.com>

p4raw-id: //depot/perl@26082

16 years agoPod nit in Encode.pm, found by Marc Lehmann in RT #36949.
Steve Peters [Fri, 11 Nov 2005 03:27:35 +0000 (03:27 +0000)]
Pod nit in Encode.pm, found by Marc Lehmann in RT #36949.

p4raw-id: //depot/perl@26081

16 years agoFix for RT #37654. Added $COMPILING to list of variables exported.
Steve Peters [Fri, 11 Nov 2005 03:18:11 +0000 (03:18 +0000)]
Fix for RT #37654.  Added $COMPILING to list of variables exported.

p4raw-id: //depot/perl@26080

16 years agoSuppress leaked warnings in ExtUtils tests
Dominic Dunlop [Thu, 10 Nov 2005 18:10:00 +0000 (19:10 +0100)]
Suppress leaked warnings in ExtUtils tests
Message-Id: <D2949A21-7EE3-449F-BEF2-38FAD7B4A483@computer.org>

p4raw-id: //depot/perl@26079

16 years agoPatch by Ilya Zakharevich to give more meaningful error
Rafael Garcia-Suarez [Thu, 10 Nov 2005 16:36:12 +0000 (16:36 +0000)]
Patch by Ilya Zakharevich to give more meaningful error
messages from if.pm when invoked with a condition in list
context. Also bump if's VERSION.

p4raw-id: //depot/perl@26078

16 years agoDefine PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION earlier in perl.h
Rafael Garcia-Suarez [Thu, 10 Nov 2005 15:10:42 +0000 (15:10 +0000)]
Define PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION earlier in perl.h
(that is, before embed.h, that uses this symbol, is included)

p4raw-id: //depot/perl@26077

16 years ago[perl #35847] File::Find not performing as documented
jms@mathras.comcast.net [Tue, 17 May 2005 10:40:08 +0000 (10:40 +0000)]
[perl #35847] File::Find not performing as documented
From: "jms@mathras.comcast.net (via RT)" <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-35847-113088.7.09182163210095@perl.org>

p4raw-id: //depot/perl@26076

16 years ago[perl #37648] segfault with PERLIO_DEBUG
Peter Dintelmann [Thu, 10 Nov 2005 04:31:39 +0000 (20:31 -0800)]
[perl #37648] segfault with PERLIO_DEBUG
From: Peter Dintelmann (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37648-124187.17.2251402270294@perl.org>

p4raw-id: //depot/perl@26075

16 years ago[perl #37582] [PATCH] h2ph inc_dirs() fails to prepend gcc include search path, resul...
Jason Vas Dias [Tue, 1 Nov 2005 15:22:45 +0000 (07:22 -0800)]
[perl #37582] [PATCH] h2ph inc_dirs() fails to prepend gcc include search path, resulting in missing C standard headers on Linux
From: Jason Vas Dias (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-37582-123738.12.3509768746337@perl.org>

p4raw-id: //depot/perl@26074

16 years agoremove whitespace preceding semicolon in docs
Steven Schubiger [Mon, 31 Oct 2005 22:48:27 +0000 (23:48 +0100)]
remove whitespace preceding semicolon in docs
Message-ID: <20051031214827.GH24416@accognoscere.homeunix.org>

p4raw-id: //depot/perl@26073

16 years agoReally apply change #26071.
Rafael Garcia-Suarez [Thu, 10 Nov 2005 10:37:42 +0000 (10:37 +0000)]
Really apply change #26071.
p4raw-link: @26071 on //depot/perl: 8861ecc69a87dc6907b3e9c79689edb5df16413e

p4raw-id: //depot/perl@26072

16 years agowince patch
Vadim Konovalov [Wed, 9 Nov 2005 20:22:52 +0000 (23:22 +0300)]
wince patch
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC02@itotest-1.spb.lucent.com>

p4raw-id: //depot/perl@26071

16 years agoAdd tests for two untested syntax error messages about \N
Rafael Garcia-Suarez [Thu, 10 Nov 2005 09:11:26 +0000 (09:11 +0000)]
Add tests for two untested syntax error messages about \N

p4raw-id: //depot/perl@26070

16 years agoMake Perl_seed public
Steve Hay [Thu, 10 Nov 2005 08:41:53 +0000 (08:41 +0000)]
Make Perl_seed public

Fixes Win32 linker error in List::Util introduced by change #26054
p4raw-link: @26054 on //depot/perl: 82f35e8b14e93ac697812d1b28d2e79e1ad82d84

p4raw-id: //depot/perl@26069

16 years agoblead@26052 Symbian update
Jarkko Hietaniemi [Wed, 9 Nov 2005 17:45:07 +0000 (19:45 +0200)]
blead@26052 Symbian update
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A73D@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@26068

16 years agoAs using -C to turn on utf8 IO is equivalent to the open pragma,
Nicholas Clark [Wed, 9 Nov 2005 21:52:03 +0000 (21:52 +0000)]
As using -C to turn on utf8 IO is equivalent to the open pragma,
change 25925 had the side effect of breaking ext/Encode/t/perlio.t
       Fixed by opening with :bytes.

p4raw-id: //depot/perl@26067

16 years agoI/O is UTF-8, not "UNICODE"
Nicholas Clark [Wed, 9 Nov 2005 21:30:02 +0000 (21:30 +0000)]
I/O is UTF-8, not "UNICODE"

p4raw-id: //depot/perl@26066

16 years agoAs using -C to turn on utf8 IO is equivalent to the open pragma,
Nicholas Clark [Wed, 9 Nov 2005 20:53:29 +0000 (20:53 +0000)]
As using -C to turn on utf8 IO is equivalent to the open pragma,
change 25925 had the side effect of breaking t/io/utf8.t
Fixed by adding the missing binmode()s.

p4raw-id: //depot/perl@26065

16 years agoBetter diagnostics from io/utf8.t
Nicholas Clark [Wed, 9 Nov 2005 20:23:28 +0000 (20:23 +0000)]
Better diagnostics from io/utf8.t

p4raw-id: //depot/perl@26064

16 years agoMake the Bytecode changes conditional on perl version.
Nicholas Clark [Wed, 9 Nov 2005 17:29:44 +0000 (17:29 +0000)]
Make the Bytecode changes conditional on perl version.

p4raw-id: //depot/perl@26063

16 years agoRe: [PATCH] Re: [perl #32383] DProf breaks List::Util::shuffle
Graham Barr [Wed, 9 Nov 2005 06:09:48 +0000 (00:09 -0600)]
Re: [PATCH] Re: [perl #32383] DProf breaks List::Util::shuffle
Message-Id: <6CAD749E-AE29-415A-9ACB-BA8F6FB8279E@pobox.com>

p4raw-id: //depot/perl@26062

16 years agoSimplify Perl_allocmy slightly, and cope better with the name is ""
Nicholas Clark [Wed, 9 Nov 2005 11:21:10 +0000 (11:21 +0000)]
Simplify Perl_allocmy slightly, and cope better with the name is ""
case.

p4raw-id: //depot/perl@26061

16 years agoAdd a comment about possible future refactoring of the pad code.
Nicholas Clark [Wed, 9 Nov 2005 11:17:17 +0000 (11:17 +0000)]
Add a comment about possible future refactoring of the pad code.

p4raw-id: //depot/perl@26060

16 years agoRemove superfluous strlen() from pp_require().
Nicholas Clark [Wed, 9 Nov 2005 10:56:28 +0000 (10:56 +0000)]
Remove superfluous strlen() from pp_require().

p4raw-id: //depot/perl@26059

16 years agoPatch from Gisle to add NO_MATHOMS to the Compile-time options.
Steve Peters [Wed, 9 Nov 2005 10:45:57 +0000 (10:45 +0000)]
Patch from Gisle to add NO_MATHOMS to the Compile-time options.

p4raw-id: //depot/perl@26058

16 years agoDon't declare a function inside another function
Rafael Garcia-Suarez [Wed, 9 Nov 2005 10:31:35 +0000 (10:31 +0000)]
Don't declare a function inside another function

p4raw-id: //depot/perl@26057

16 years agoConfigure setting patchlevel broken
Yitzchak Scott-Thoennes [Fri, 14 Oct 2005 00:33:29 +0000 (17:33 -0700)]
Configure setting patchlevel broken
Message-ID: <20051014073329.GA3236@efn.org>

p4raw-id: //depot/perl@26056

16 years agoRe: [perl #32383] DProf breaks List::Util::shuffle
Robin Houston [Tue, 8 Nov 2005 19:02:34 +0000 (19:02 +0000)]
Re: [perl #32383] DProf breaks List::Util::shuffle
Message-ID: <20051108190234.GA25953@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26054

16 years agopatch@26052 - compile rule for mathoms.c
John E. Malmberg [Tue, 8 Nov 2005 23:09:03 +0000 (18:09 -0500)]
patch@26052 - compile rule for mathoms.c
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <4371765F.1000900@qsl.net>

p4raw-id: //depot/perl@26053

16 years agoIt helps to actually *remove* the now-superfluous strlen().
Nicholas Clark [Tue, 8 Nov 2005 22:05:57 +0000 (22:05 +0000)]
It helps to actually *remove* the now-superfluous strlen().
(An addendum to 26050.)

p4raw-id: //depot/perl@26052

16 years agoMoving the 4 writes of PL_no_mem followed by exit(1) to a static
Nicholas Clark [Tue, 8 Nov 2005 21:55:40 +0000 (21:55 +0000)]
Moving the 4 writes of PL_no_mem followed by exit(1) to a static
function makes the object code slightly smaller.

p4raw-id: //depot/perl@26051

16 years agoEliminate some unnecessary strlen()s
Nicholas Clark [Tue, 8 Nov 2005 21:37:52 +0000 (21:37 +0000)]
Eliminate some unnecessary strlen()s

p4raw-id: //depot/perl@26050

16 years agoEliminate duplicate strlen()s by explicitly calling it.
Nicholas Clark [Tue, 8 Nov 2005 20:43:11 +0000 (20:43 +0000)]
Eliminate duplicate strlen()s by explicitly calling it.
Note two places for future audit with FIXME.
Convert a SvPVX_const to SvPVX_const_nolen, where the length is unused.

p4raw-id: //depot/perl@26049

16 years ago3 calls to strlen() we can avoid.
Nicholas Clark [Tue, 8 Nov 2005 20:35:11 +0000 (20:35 +0000)]
3 calls to strlen() we can avoid.

p4raw-id: //depot/perl@26048

16 years ago[DOC PATCH] mention @-, @+ in perl56delta.pod
Yitzchak Scott-Thoennes [Tue, 8 Nov 2005 08:46:42 +0000 (00:46 -0800)]
[DOC PATCH] mention @-, @+ in perl56delta.pod
Message-ID: <20051108164642.GD7972@efn.org>

p4raw-id: //depot/perl@26047

16 years agoProbaby a good idea to include DEBUG_LEAKING_SCALARS in -V output, as
Nicholas Clark [Tue, 8 Nov 2005 16:30:18 +0000 (16:30 +0000)]
Probaby a good idea to include DEBUG_LEAKING_SCALARS in -V output, as
its presence changes structure sizes.

p4raw-id: //depot/perl@26046

16 years agoRe: A surprising segfault
SADAHIRO Tomoyuki [Tue, 8 Nov 2005 23:36:13 +0000 (08:36 +0900)]
Re: A surprising segfault
Message-Id: <20051108233535.735D.BQW10602@nifty.com>

p4raw-id: //depot/perl@26045

16 years agoRemove an unused variable left over from change #26041
Steve Hay [Tue, 8 Nov 2005 10:16:56 +0000 (10:16 +0000)]
Remove an unused variable left over from change #26041
p4raw-link: @26041 on //depot/perl: 8c56068e9474ff1eb28abd58496550d54581dd25

p4raw-id: //depot/perl@26044