This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
18 years agodor-assign (//=) was missing from perlop.pod
Steve Peters [Wed, 30 Nov 2005 19:09:17 +0000 (19:09 +0000)]
dor-assign (//=) was missing from perlop.pod

p4raw-id: //depot/perl@26232

18 years agoRemove redundant SvUTF8_on() calls
Gisle Aas [Wed, 30 Nov 2005 09:28:54 +0000 (01:28 -0800)]
Remove redundant SvUTF8_on() calls
Message-ID: <lrhd9uhwo9.fsf@caliper.activestate.com>

p4raw-id: //depot/perl@26231

18 years agoRe: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
SADAHIRO Tomoyuki [Sun, 27 Nov 2005 17:02:02 +0000 (02:02 +0900)]
Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Message-Id: <20051127170016.A786.BQW10602@nifty.com>

p4raw-id: //depot/perl@26229

18 years agoThe regexp engine should check SV flags rather than SV type for
Nicholas Clark [Wed, 30 Nov 2005 13:55:05 +0000 (13:55 +0000)]
The regexp engine should check SV flags rather than SV type for
determining if something is a reference, because under the debugger
the value returned by the swash code is SVt_PVMG.
Not doing this has the side effect of repeatedly reassigning the
same array element, which causes destructors to fire on the reassignment
which in turn causes &utf8::DESTROY to run outside of the pseudo-safety
of save_re_context, which under the debugger involves re-entering the
regexp engine, which causes corruption of the regexp engine's global
state.

p4raw-id: //depot/perl@26228

18 years agoFix B::Concise tests after change #26226
Rafael Garcia-Suarez [Wed, 30 Nov 2005 12:30:47 +0000 (12:30 +0000)]
Fix B::Concise tests after change #26226
p4raw-link: @26226 on //depot/perl: 7c8a3dfd3bf64e6ea427f38183b879af54fe8f18

p4raw-id: //depot/perl@26227

18 years agoRevert change #22520 (optimise away my $foo = undef and similar
Rafael Garcia-Suarez [Wed, 30 Nov 2005 09:53:11 +0000 (09:53 +0000)]
Revert change #22520 (optimise away my $foo = undef and similar
constructs), in order to fix bug perl #37776
p4raw-link: @22520 on //depot/perl: b9d46b3942a9a8cce9cbca1e08f61ac23083a740

p4raw-id: //depot/perl@26226

18 years agoRe: [perl #37716] Re: File::Compare broken for filenames with whitespace
Andreas König [Tue, 29 Nov 2005 08:07:19 +0000 (09:07 +0100)]
Re: [perl #37716] Re: File::Compare broken for filenames with whitespace
Message-ID: <878xv89bko.fsf@k75.linux.bogus>

p4raw-id: //depot/perl@26225

18 years agoAssimilate Pod-Escapes-1.04. This is a prereq for Pod::Simple,
Steve Peters [Tue, 29 Nov 2005 12:36:46 +0000 (12:36 +0000)]
Assimilate Pod-Escapes-1.04.  This is a prereq for Pod::Simple,
which is now a prereq for podlators.

p4raw-id: //depot/perl@26224

18 years agoTypo fix, by Olivier Blin
Rafael Garcia-Suarez [Mon, 28 Nov 2005 18:43:51 +0000 (18:43 +0000)]
Typo fix, by Olivier Blin

p4raw-id: //depot/perl@26223

18 years agoFix ext/POSIX/t/time.t on Win32
Steve Hay [Mon, 28 Nov 2005 17:07:25 +0000 (17:07 +0000)]
Fix ext/POSIX/t/time.t on Win32

According to MSDN, "The string result produced by ctime contains
exactly 26 characters and has the form: Wed Jan 02 02:03:55 1980\n\0"
so we *do* want the leading zero on the day returned by strftime

p4raw-id: //depot/perl@26222

18 years agoMac OS X/Darwin seems to have problems with tzname().
Steve Peters [Mon, 28 Nov 2005 14:11:23 +0000 (14:11 +0000)]
Mac OS X/Darwin seems to have problems with tzname().

p4raw-id: //depot/perl@26221

18 years agoFAQ sync.
Rafael Garcia-Suarez [Mon, 28 Nov 2005 11:00:37 +0000 (11:00 +0000)]
FAQ sync.

p4raw-id: //depot/perl@26220

18 years agoMath::Trig: blead and maint (doc patch only): s/Bay/Gulf/ and do away with bad quotes
Jarkko Hietaniemi [Sun, 27 Nov 2005 23:04:31 +0000 (01:04 +0200)]
Math::Trig: blead and maint (doc patch only): s/Bay/Gulf/ and do away with bad quotes
Message-Id: <20051127210431.F1D2C6CF55@ugli.hut.fi>

p4raw-id: //depot/perl@26219

18 years agoMention of possible use of a scalar variable on the rhs of an arrow "->"
Steve Peters [Mon, 28 Nov 2005 02:34:49 +0000 (02:34 +0000)]
Mention of possible use of a scalar variable on the rhs of an arrow "->"
operator added to close two tickets.

p4raw-id: //depot/perl@26218

18 years agoDon't let MakeMaker install doc for MIME::Base64
Rafael Garcia-Suarez [Sun, 27 Nov 2005 23:18:38 +0000 (23:18 +0000)]
Don't let MakeMaker install doc for MIME::Base64
(since installpod does it already)

p4raw-id: //depot/perl@26217

18 years agoUpgrade to Getopt::Long 2.34_04
Rafael Garcia-Suarez [Sun, 27 Nov 2005 22:42:42 +0000 (22:42 +0000)]
Upgrade to Getopt::Long 2.34_04

p4raw-id: //depot/perl@26216

18 years agofix wrong pool error in cygwin build
Yitzchak Scott-Thoennes [Sun, 27 Nov 2005 09:29:00 +0000 (09:29 +0000)]
fix wrong pool error in cygwin build
Message-ID: <20051127082918.GA2556@efn.org>

p4raw-id: //depot/perl@26215

18 years agoUpgrade to MIME-Base64-3.06
Steve Peters [Sun, 27 Nov 2005 02:35:25 +0000 (02:35 +0000)]
Upgrade to MIME-Base64-3.06

p4raw-id: //depot/perl@26214

18 years agoDeal with differences in what clock() does between POSIX and BSD.
Steve Peters [Sat, 26 Nov 2005 12:48:42 +0000 (12:48 +0000)]
Deal with differences in what clock() does between POSIX and BSD.

p4raw-id: //depot/perl@26213

18 years agoUpgrade to Scalar-List-Utils-1.18
Steve Peters [Sat, 26 Nov 2005 12:04:00 +0000 (12:04 +0000)]
Upgrade to Scalar-List-Utils-1.18

p4raw-id: //depot/perl@26212

18 years agoUpgrade to Digest-MD5-2.35
Steve Peters [Sat, 26 Nov 2005 11:50:17 +0000 (11:50 +0000)]
Upgrade to Digest-MD5-2.35

p4raw-id: //depot/perl@26211

18 years agoActually update one of the files from the previous change.
Steve Peters [Sat, 26 Nov 2005 11:40:57 +0000 (11:40 +0000)]
Actually update one of the files from the previous change.

p4raw-id: //depot/perl@26210

18 years agoUpgrade to Digest-1.14
Steve Peters [Sat, 26 Nov 2005 11:38:02 +0000 (11:38 +0000)]
Upgrade to Digest-1.14

p4raw-id: //depot/perl@26209

18 years agoJust be explicit about $TZ.
Steve Peters [Sat, 26 Nov 2005 02:56:26 +0000 (02:56 +0000)]
Just be explicit about $TZ.

p4raw-id: //depot/perl@26208

18 years agoHmmm...strftime() does work on Win32, but tzset() is having problems
Steve Peters [Sat, 26 Nov 2005 02:32:10 +0000 (02:32 +0000)]
Hmmm...strftime() does work on Win32, but tzset() is having problems
on OpenBSD.

p4raw-id: //depot/perl@26207

18 years agoAdditional tests for B and POSIX. The POSIX ones concern me a bit,
Steve Peters [Sat, 26 Nov 2005 01:31:24 +0000 (01:31 +0000)]
Additional tests for B and POSIX.  The POSIX ones concern me a bit,
but I don't expect any black smokes because of testing on OpenBSD,
Linux, Win32, an Cygwin.

p4raw-id: //depot/perl@26206

18 years agoMove report_uninit() and its static supporting functions to the end of
Nicholas Clark [Fri, 25 Nov 2005 15:12:02 +0000 (15:12 +0000)]
Move report_uninit() and its static supporting functions to the end of
sv.c, so that they are not sandwiched between the two halves of the
SV allocation code. However, the diff looks far more evil than it
should given that this is just moving a single albeit large hunk.

p4raw-id: //depot/perl@26205

18 years agoperlpod documentation discrepancy in 5.8.6 ( and maybe later? )
Yves Orton [Fri, 25 Nov 2005 13:57:38 +0000 (14:57 +0100)]
perlpod documentation discrepancy in 5.8.6 ( and maybe later? )
Message-ID: <9b18b3110511250457k6c196c4fu167badd045c2d9e6@mail.gmail.com>

p4raw-id: //depot/perl@26204

18 years agoRe: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
SADAHIRO Tomoyuki [Fri, 25 Nov 2005 00:19:35 +0000 (09:19 +0900)]
Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Date: Fri, 25 Nov 2005 00:19:35 +0900
Message-Id: <20051125001031.24E3.BQW10602@nifty.com>

Date: Fri, 25 Nov 2005 01:18:17 +0900
Message-Id: <20051125011410.24E9.BQW10602@nifty.com>

p4raw-id: //depot/perl@26203

18 years agoDocument new perldoc -L switch
Enrico Sorcinelli [Thu, 24 Nov 2005 16:04:03 +0000 (17:04 +0100)]
Document new perldoc -L switch

Subject: Re: Pod::Perldoc patch (Fw: [ANNOUNCE] POD2::IT 0.10)
Message-Id: <20051124160403.568a194b.bepi@perl.it>

p4raw-id: //depot/perl@26202

18 years agoDelete a README made redundant by change 26200.
Rafael Garcia-Suarez [Thu, 24 Nov 2005 08:52:35 +0000 (08:52 +0000)]
Delete a README made redundant by change 26200.

p4raw-id: //depot/perl@26201

18 years agoperlce touches
Vadim Konovalov [Wed, 23 Nov 2005 20:55:00 +0000 (20:55 +0000)]
perlce touches
From: Konovalov, Vadim <vkonovalov@spb.lucent.com>
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DDC3@itotest-1.spb.lucent.com>

p4raw-id: //depot/perl@26200

18 years agoXS-assisted SWASHGET (esp. for t/uni/class.t speedup)
SADAHIRO Tomoyuki [Wed, 23 Nov 2005 17:57:34 +0000 (02:57 +0900)]
XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Message-Id: <20051123175603.FFD5.BQW10602@nifty.com>

And :
Message-Id: <20051123202935.4D9D.BQW10602@nifty.com>

with some nits to use U8 instead of char more consistently

p4raw-id: //depot/perl@26199

18 years agoNotes in perlstyle about POD formatting, by Sébastien
Rafael Garcia-Suarez [Tue, 22 Nov 2005 21:24:19 +0000 (21:24 +0000)]
Notes in perlstyle about POD formatting, by Sébastien
Aperghis-Tramoni, with nits by chromatic and Randy W. Sims.

p4raw-id: //depot/perl@26198

18 years agoNote the URL describing the vast riches awaiting us.
Nicholas Clark [Tue, 22 Nov 2005 20:23:34 +0000 (20:23 +0000)]
Note the URL describing the vast riches awaiting us.

p4raw-id: //depot/perl@26197

18 years agoinclude PERL_TRACK_MEMPOOL in perl -V output
Dave Mitchell [Tue, 22 Nov 2005 16:52:24 +0000 (16:52 +0000)]
include PERL_TRACK_MEMPOOL in perl -V output

p4raw-id: //depot/perl@26196

18 years ago[perl #37725] perl segfaults on reversed array reference
Dave Mitchell [Tue, 22 Nov 2005 16:32:42 +0000 (16:32 +0000)]
[perl #37725] perl segfaults on reversed array reference

The 'for (reverse @a)' optimisation got its index wrong when
create LVALUE SVs for undef elements

p4raw-id: //depot/perl@26195

18 years ago[DOC PATCH] Sort subs *can* now be recursive
Robin Houston [Tue, 22 Nov 2005 13:28:17 +0000 (13:28 +0000)]
[DOC PATCH] Sort subs *can* now be recursive
Message-ID: <20051122132817.GA20895@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26194

18 years agoUse the system's free to dealloc a PV allocated by the system
Rafael Garcia-Suarez [Mon, 21 Nov 2005 18:22:00 +0000 (19:22 +0100)]
Use the system's free to dealloc a PV allocated by the system
(more precisely by libgdbm.) See :

Subject: GDBM_file realloc failures
Message-ID: <20051121182200.0b3d2454@grubert.mandrakesoft.com>

p4raw-id: //depot/perl@26193

18 years agoRe: [PATCH] concat interacts badly with magic
Robin Houston [Tue, 22 Nov 2005 14:07:27 +0000 (14:07 +0000)]
Re: [PATCH] concat interacts badly with magic
Message-ID: <20051122140727.GA29861@rpc142.cs.man.ac.uk>

(new version of patch for bug #37722)

p4raw-id: //depot/perl@26192

18 years agoPod::Perldoc patch (Fw: [ANNOUNCE] POD2::IT 0.10)
Enrico Sorcinelli [Sun, 20 Nov 2005 10:20:51 +0000 (11:20 +0100)]
Pod::Perldoc patch (Fw: [ANNOUNCE] POD2::IT 0.10)
Message-Id: <20051120102051.23ef095d.bepi@perl.it>

Also, bump version number of Perldoc.

p4raw-id: //depot/perl@26191

18 years agoRevert change #26185, which could have some unwanted side-effects.
Rafael Garcia-Suarez [Tue, 22 Nov 2005 11:29:03 +0000 (11:29 +0000)]
Revert change #26185, which could have some unwanted side-effects.
(lib/warnings.t had failures due to this patch.)
Moreover Dave Mitchell correctly pointed out that [perl #37722]
wasn't really a bug.
p4raw-link: @26185 on //depot/perl: 91cec4fb3b9ce703dab10db05e717127b2a9ed44

p4raw-id: //depot/perl@26190

18 years agoRE: [perl #37708] [PATCH] wrong IP_ constants on Win32
Jan Dubois [Mon, 21 Nov 2005 21:35:51 +0000 (13:35 -0800)]
RE: [perl #37708] [PATCH] wrong IP_ constants on Win32
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <062401c5ef26$99b3a490$2217a8c0@candy>

p4raw-id: //depot/perl@26189

18 years agoff_chop.patch redux
Andy Lester [Mon, 21 Nov 2005 21:16:14 +0000 (15:16 -0600)]
ff_chop.patch redux
Message-ID: <20051122031614.GB19424@petdance.com>

p4raw-id: //depot/perl@26188

18 years agopatch@26180 - t/op/pat.t : Can't reset %ENV on VMS
John E. Malmberg [Mon, 21 Nov 2005 22:09:17 +0000 (17:09 -0500)]
patch@26180 - t/op/pat.t : Can't reset %ENV on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <43828BDD.7080302@qsl.net>

p4raw-id: //depot/perl@26187

18 years agopatch@26180 - t/op/array.t : Can't reset %ENV on VMS
John E. Malmberg [Mon, 21 Nov 2005 21:19:31 +0000 (16:19 -0500)]
patch@26180 - t/op/array.t : Can't reset %ENV on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-ID: <43828033.9040708@qsl.net>

p4raw-id: //depot/perl@26186

18 years agoconcat interacts badly with magic
Robin Houston [Mon, 21 Nov 2005 17:03:39 +0000 (17:03 +0000)]
concat interacts badly with magic
Message-ID: <20051121170339.GA8214@rpc142.cs.man.ac.uk>

p4raw-id: //depot/perl@26185

18 years agoFlip the sign of the value in body details offset, and change its type
Nicholas Clark [Mon, 21 Nov 2005 14:18:03 +0000 (14:18 +0000)]
Flip the sign of the value in body details offset, and change its type
to size_t.

p4raw-id: //depot/perl@26184

18 years agoThread failures on AIX (and others) caused by interleaved output
H.Merijn Brand [Sun, 20 Nov 2005 14:36:00 +0000 (15:36 +0100)]
Thread failures on AIX (and others) caused by interleaved output

Subject: Smoke [5.9.3] 26168 FAIL(X) AIX 4.3.3.0/ML11 (PPC/1 cpu)
From: "H.Merijn Brand" <h.m.brand@xs4all.nl>
Message-Id: <200511201337.jAKDbc1O066213@smtp-vbr6.xs4all.nl>

p4raw-id: //depot/perl@26183

18 years agoUpgrade to Time::HiRes 1.83
Rafael Garcia-Suarez [Mon, 21 Nov 2005 08:58:59 +0000 (08:58 +0000)]
Upgrade to Time::HiRes 1.83

p4raw-id: //depot/perl@26181

18 years agoEliminate two more strlen()s, by using the return value of sprintf().
Nicholas Clark [Sun, 20 Nov 2005 20:39:50 +0000 (20:39 +0000)]
Eliminate two more strlen()s, by using the return value of sprintf().

p4raw-id: //depot/perl@26180

18 years agoDeclarations must come first, or some compilers aren't happy.
Rafael Garcia-Suarez [Sun, 20 Nov 2005 12:10:15 +0000 (12:10 +0000)]
Declarations must come first, or some compilers aren't happy.
(spotted by Jarkko)

p4raw-id: //depot/perl@26179

18 years agoPulling ancient RCS comments
Andy Lester [Sat, 19 Nov 2005 00:16:39 +0000 (18:16 -0600)]
Pulling ancient RCS comments
Message-ID: <20051119061639.GA25086@petdance.com>

p4raw-id: //depot/perl@26178

18 years agoReworked PERL_TRACK_MEMPOOL patch
Jan Dubois [Fri, 18 Nov 2005 11:38:24 +0000 (03:38 -0800)]
Reworked PERL_TRACK_MEMPOOL patch
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <003601c5ec77$a45eb260$2217a8c0@candy>

p4raw-id: //depot/perl@26177

18 years agoDown with "warning: code has no effect"
Steve Peters [Sat, 19 Nov 2005 19:14:42 +0000 (19:14 +0000)]
Down with "warning: code has no effect"

p4raw-id: //depot/perl@26176

18 years agoCleaning up some warnings generated by "gcc -W"
Steve Peters [Sat, 19 Nov 2005 18:06:14 +0000 (18:06 +0000)]
Cleaning up some warnings generated by "gcc -W"

p4raw-id: //depot/perl@26175

18 years agoUpgrade to PathTools-3.14
Steve Peters [Sat, 19 Nov 2005 13:46:27 +0000 (13:46 +0000)]
Upgrade to PathTools-3.14

p4raw-id: //depot/perl@26174

18 years agoNorman observed that a couple of macros could make the body defintion
Nicholas Clark [Sat, 19 Nov 2005 11:21:15 +0000 (11:21 +0000)]
Norman observed that a couple of macros could make the body defintion
table a lot more readable.

p4raw-id: //depot/perl@26173

18 years agoWith -DPURFIY we change the flags so that everything is allocated
Nicholas Clark [Sat, 19 Nov 2005 00:50:33 +0000 (00:50 +0000)]
With -DPURFIY we change the flags so that everything is allocated
directly. (Don't use arenas at all.) This seems a rather elegant way
to simplify some of the code in sv.c by removing conditional
compilation.

p4raw-id: //depot/perl@26172

18 years agoMap the HE arena onto SV type 0 (SVt_NULL).
Nicholas Clark [Sat, 19 Nov 2005 00:21:58 +0000 (00:21 +0000)]
Map the HE arena onto SV type 0 (SVt_NULL).
Abolish PL_he_root and PL_he_arenaroot.

p4raw-id: //depot/perl@26171

18 years agoRemove all the now unused new_XFOO()/del_XFOO() macros
Nicholas Clark [Fri, 18 Nov 2005 23:44:32 +0000 (23:44 +0000)]
Remove all the now unused new_XFOO()/del_XFOO() macros

p4raw-id: //depot/perl@26170

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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