This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
16 years agoavoid leaked scalar in BEGIN { threads->new(...) }
Dave Mitchell [Sun, 15 May 2005 00:09:35 +0000 (00:09 +0000)]
avoid leaked scalar in BEGIN { threads->new(...) }

p4raw-id: //depot/perl@24469

16 years agoFix typo in DDEBUG_LEAKING_SCALARS flags output
Dave Mitchell [Sat, 14 May 2005 23:16:50 +0000 (23:16 +0000)]
Fix typo in DDEBUG_LEAKING_SCALARS flags output

p4raw-id: //depot/perl@24468

16 years agoinitialize the PL_xpvgv_[arena]root vars during clone
Dave Mitchell [Sat, 14 May 2005 15:11:30 +0000 (15:11 +0000)]
initialize the PL_xpvgv_[arena]root vars during clone

p4raw-id: //depot/perl@24467

16 years agoUpdate to Scalar-List-Utils-1.15
Graham Barr [Fri, 13 May 2005 20:42:53 +0000 (20:42 +0000)]
Update to Scalar-List-Utils-1.15

p4raw-id: //depot/perl@24465

16 years agochange to quiet cygwin's perlld
Yitzchak Scott-Thoennes [Fri, 13 May 2005 06:15:45 +0000 (23:15 -0700)]
change to quiet cygwin's perlld
Message-ID: <20050513131545.GB4024@efn.org>

p4raw-id: //depot/perl@24461

16 years agoReorder the *more* arena allocation functions into a block
Nicholas Clark [Fri, 13 May 2005 11:59:26 +0000 (11:59 +0000)]
Reorder the *more* arena allocation functions into a block
As they are now ahead of their corresponding *new* functions, no need
for all the embedding guff.
Remove all the "register" keywords.

p4raw-id: //depot/perl@24460

16 years agoAllocate GV bodies from arenas
Nicholas Clark [Fri, 13 May 2005 11:09:03 +0000 (11:09 +0000)]
Allocate GV bodies from arenas

p4raw-id: //depot/perl@24459

16 years agomake join.t threadsafe!
Dave Mitchell [Thu, 12 May 2005 19:07:27 +0000 (19:07 +0000)]
make join.t threadsafe!
tests 13 and 14 could output in reverse order. Add a lock to stop
this.

p4raw-id: //depot/perl@24455

16 years agoRemove a couple of unreferenced local variables
Steve Hay [Thu, 12 May 2005 10:56:20 +0000 (10:56 +0000)]
Remove a couple of unreferenced local variables

p4raw-id: //depot/perl@24454

16 years agoAdd Win32::GetFileVersion() function
Jan Dubois [Wed, 11 May 2005 22:30:37 +0000 (15:30 -0700)]
Add Win32::GetFileVersion() function
From: "Jan Dubois" <jand@ActiveState.com>
Message-Id: <200505120530.j4C5UhpX031152@smtp3.ActiveState.com>

p4raw-id: //depot/perl@24453

16 years agoSilence DEBUGGING compilation warnings
Rafael Garcia-Suarez [Thu, 12 May 2005 09:58:50 +0000 (09:58 +0000)]
Silence DEBUGGING compilation warnings

p4raw-id: //depot/perl@24452

16 years agoSvUPGRADE doesn't return false.
Rafael Garcia-Suarez [Thu, 12 May 2005 09:52:12 +0000 (09:52 +0000)]
SvUPGRADE doesn't return false.

p4raw-id: //depot/perl@24451

16 years agoRework documentation of split(//,...)
Rafael Garcia-Suarez [Thu, 12 May 2005 08:45:40 +0000 (08:45 +0000)]
Rework documentation of split(//,...)

p4raw-id: //depot/perl@24450

16 years ago[perl #33765] [PATCH] perlop: mention why 'print !!0' doesn't
Steve Peters [Wed, 11 May 2005 16:58:22 +0000 (16:58 +0000)]
[perl #33765] [PATCH] perlop: mention why 'print !!0' doesn't
From: Steve Peters via RT <perlbug-followup@perl.org>
Date: 11 May 2005 16:58:22 -0000
Message-Id: <rt-3.0.11-33765-112475.14.5633321030279@perl.org>

Subject: [perl #33766] [PATCH] perldoc -f split lacks basic null example
From: Steve Peters via RT <perlbug-followup@perl.org>
Date: 11 May 2005 17:13:29 -0000
Message-Id: <rt-3.0.11-33766-112476.1.84217630998887@perl.org>

p4raw-id: //depot/perl@24449

16 years agoHints changes for OS X 10.4
Michael G. Schwern [Tue, 10 May 2005 18:10:47 +0000 (11:10 -0700)]
Hints changes for OS X 10.4
Message-ID: <20050511011047.GA23955@windhund.schwern.org>

p4raw-id: //depot/perl@24446

16 years agoInclude vim/emacs modelines in generated files to open them
Rafael Garcia-Suarez [Wed, 11 May 2005 07:54:19 +0000 (07:54 +0000)]
Include vim/emacs modelines in generated files to open them
in read-only mode. Make vi modelines compatible with non-vim
vi versions.

p4raw-id: //depot/perl@24445

16 years agopotential [PATCH] Tru64 crank up strictness
Jarkko Hietaniemi [Tue, 10 May 2005 19:44:00 +0000 (19:44 +0000)]
potential [PATCH] Tru64 crank up strictness
Message-Id: <4ADE5AAD-27CB-4F9E-BEC7-41DAA7671108@iki.fi>

p4raw-id: //depot/perl@24444

16 years ago"make regen" should run reentr.pl
Rafael Garcia-Suarez [Tue, 10 May 2005 20:27:16 +0000 (20:27 +0000)]
"make regen" should run reentr.pl

p4raw-id: //depot/perl@24443

16 years agoRegenerate reentr.[ch]
Rafael Garcia-Suarez [Tue, 10 May 2005 20:08:27 +0000 (20:08 +0000)]
Regenerate reentr.[ch]

p4raw-id: //depot/perl@24442

16 years agoRe: [PATCH] reentr.h changes so threaded Perl's compile on OpenBSD 3.7
Steve Peters [Tue, 10 May 2005 12:44:13 +0000 (07:44 -0500)]
Re: [PATCH] reentr.h changes so threaded Perl's compile on OpenBSD 3.7
Message-Id: <20050510174413.GA19686@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24441

16 years agoAdd editor boilerplates to all C files
Rafael Garcia-Suarez [Tue, 10 May 2005 16:51:02 +0000 (16:51 +0000)]
Add editor boilerplates to all C files
(except the generated ones)

p4raw-id: //depot/perl@24440

16 years agos/sv_setpv(sv,"")/sv_setpvn(sv,"",0)/
Nicholas Clark [Tue, 10 May 2005 15:38:07 +0000 (15:38 +0000)]
s/sv_setpv(sv,"")/sv_setpvn(sv,"",0)/
plus a couple of 1 byte sv_setpv()s too.

p4raw-id: //depot/perl@24439

16 years agoAs we have the length of the string easily to hand, no reason not to
Nicholas Clark [Tue, 10 May 2005 14:47:58 +0000 (14:47 +0000)]
As we have the length of the string easily to hand, no reason not to
use it.

p4raw-id: //depot/perl@24438

16 years agoperlop.pod nit
Steve Peters [Tue, 10 May 2005 09:41:01 +0000 (04:41 -0500)]
perlop.pod nit
Message-Id: <20050510144101.GA21362@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24437

16 years agoExperiment with using the ptr_table code to hold the seen hash
Nicholas Clark [Tue, 10 May 2005 11:03:49 +0000 (11:03 +0000)]
Experiment with using the ptr_table code to hold the seen hash

p4raw-id: //depot/perl@24436

16 years agoSimplify the debug and assert logic.
Nicholas Clark [Tue, 10 May 2005 09:17:32 +0000 (09:17 +0000)]
Simplify the debug and assert logic.

p4raw-id: //depot/perl@24435

16 years agoChange 24165 missed one s/class/classname/ in the debugging code.
Nicholas Clark [Tue, 10 May 2005 09:03:11 +0000 (09:03 +0000)]
Change 24165 missed one s/class/classname/ in the debugging code.

p4raw-id: //depot/perl@24434

16 years agoreentr.h changes so threaded Perl's compile on OpenBSD 3.7
Steve Peters [Mon, 9 May 2005 21:10:49 +0000 (16:10 -0500)]
reentr.h changes so threaded Perl's compile on OpenBSD 3.7
Message-Id: <20050510021049.GA20147@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24433

16 years agoAvoid USE_SITECUSTOMIZE redefined warnings
Jan Dubois [Mon, 9 May 2005 19:29:06 +0000 (12:29 -0700)]
Avoid USE_SITECUSTOMIZE redefined warnings
Message-Id: <200505100229.j4A2TGm1019135@smtp3.ActiveState.com>

p4raw-id: //depot/perl@24432

16 years agoattributes-two.patch, the next batch
Andy Lester [Mon, 9 May 2005 17:45:00 +0000 (17:45 +0000)]
attributes-two.patch, the next batch
Message-ID: <20050509154518.GA18273@petdance.com>

p4raw-id: //depot/perl@24431

16 years agoFix typo (bug #35368)
Rafael Garcia-Suarez [Mon, 9 May 2005 19:19:20 +0000 (19:19 +0000)]
Fix typo (bug #35368)

p4raw-id: //depot/perl@24430

16 years agoUpdate the comment describing arenas.
Nicholas Clark [Mon, 9 May 2005 16:33:57 +0000 (16:33 +0000)]
Update the comment describing arenas.

p4raw-id: //depot/perl@24429

16 years agoHoist the static "AUTOLOAD" into a static const variable. Makes the
Nicholas Clark [Mon, 9 May 2005 11:22:19 +0000 (11:22 +0000)]
Hoist the static "AUTOLOAD" into a static const variable. Makes the
object file slightly smaller, and also increases the proportion of
read only data section.

p4raw-id: //depot/perl@24427

16 years agoUpgrade to Unicode::Collate 0.50
Rafael Garcia-Suarez [Mon, 9 May 2005 11:11:35 +0000 (11:11 +0000)]
Upgrade to Unicode::Collate 0.50

p4raw-id: //depot/perl@24426

16 years agoChange 24413 should have updated makedef.pl with the knowledge that 2
Nicholas Clark [Mon, 9 May 2005 10:10:42 +0000 (10:10 +0000)]
Change 24413 should have updated makedef.pl with the knowledge that 2
symbols are ithreads only.

p4raw-id: //depot/perl@24425

16 years agoChange 24420 should have hand updated globvar.sym to reflect the
Nicholas Clark [Mon, 9 May 2005 10:00:37 +0000 (10:00 +0000)]
Change 24420 should have hand updated globvar.sym to reflect the
renaming of the global variable.

p4raw-id: //depot/perl@24424

16 years agoSimplify S_hv_notallowed slightly by passing a prebuilt message
Nicholas Clark [Mon, 9 May 2005 08:48:46 +0000 (08:48 +0000)]
Simplify S_hv_notallowed slightly by passing a prebuilt message
template. (Also slightly smaller object code)

p4raw-id: //depot/perl@24423

16 years agoSv_*set() doc's and extra const's for the SvPVX_const() tasks
Steve Peters [Sun, 8 May 2005 20:49:17 +0000 (15:49 -0500)]
Sv_*set() doc's and extra const's for the SvPVX_const() tasks
Message-ID: <20050509014917.GA24132@mccoy.peters.homeunix.org>

p4raw-id: //depot/perl@24422

16 years agoRevert to Andy's first solution for nonnull attributes;
Rafael Garcia-Suarez [Mon, 9 May 2005 07:29:33 +0000 (07:29 +0000)]
Revert to Andy's first solution for nonnull attributes;
add the missing defines for non-threaded perls in perl.h

p4raw-id: //depot/perl@24421

16 years agoPerl_croak uses perl's printf, so can pass in SVs direct - no need for
Nicholas Clark [Sun, 8 May 2005 22:09:18 +0000 (22:09 +0000)]
Perl_croak uses perl's printf, so can pass in SVs direct - no need for
SvPV and a %s format.

p4raw-id: //depot/perl@24420

16 years agoThere's no need to set a reference count for the new SV heads, as it's
Nicholas Clark [Sun, 8 May 2005 21:40:29 +0000 (21:40 +0000)]
There's no need to set a reference count for the new SV heads, as it's
always set to 1 at uprooting time.
But set it to zero when DEBUGGING to make things clearer. Plus fix a
bug introduced by change 22945, where the last SV head had an
uninitialised reference count.

p4raw-id: //depot/perl@24419

16 years agoThe idea is that when you find something, you stop looking.
Nicholas Clark [Sun, 8 May 2005 19:45:30 +0000 (19:45 +0000)]
The idea is that when you find something, you stop looking.
( http://use.perl.org/comments.pl?sid=26369&cid=40183 )

p4raw-id: //depot/perl@24418

16 years agot/TEST's new error messages now include the prefix 'FAILURE--'
Dave Mitchell [Sun, 8 May 2005 14:39:19 +0000 (14:39 +0000)]
t/TEST's new error messages now include the prefix 'FAILURE--'

p4raw-id: //depot/perl@24417

16 years agoTweak the insertion of __attribute__((nonnull())) declarations
Rafael Garcia-Suarez [Sun, 8 May 2005 12:19:51 +0000 (12:19 +0000)]
Tweak the insertion of __attribute__((nonnull())) declarations
in proto.h so it compiles with and without threads with gcc 3.4

p4raw-id: //depot/perl@24416

16 years agoGCC attributes!
Andy Lester [Wed, 4 May 2005 23:55:00 +0000 (23:55 +0000)]
GCC attributes!
Message-ID: <20050504215540.GA20413@petdance.com>

p4raw-id: //depot/perl@24414

16 years agoThe ptr_table arena variables and code is only needed for ithreads.
Nicholas Clark [Sat, 7 May 2005 16:08:16 +0000 (16:08 +0000)]
The ptr_table arena variables and code is only needed for ithreads.

p4raw-id: //depot/perl@24413

16 years agowhile (my $x ...) { ...; redo } shouldn't undef $x.
Dave Mitchell [Sat, 7 May 2005 12:57:06 +0000 (12:57 +0000)]
while (my $x ...) { ...; redo } shouldn't undef $x.
In the presence of 'my' in the conditional of a while(), until(),
or for(;;) loop, add an extra scope to the body so that redo
doesn't undef the lexical

p4raw-id: //depot/perl@24412

16 years agoadd 1.875c to the list of supported bisons
Dave Mitchell [Sat, 7 May 2005 11:06:16 +0000 (11:06 +0000)]
add 1.875c to the list of supported bisons

p4raw-id: //depot/perl@24411

16 years agoGet the correct refcount on the temporary assignment to PL_sigwarn so
Nicholas Clark [Fri, 6 May 2005 22:17:04 +0000 (22:17 +0000)]
Get the correct refcount on the temporary assignment to PL_sigwarn so
that other code assigning to $SIG{__WARN__} doesn't cause a premature
free.

p4raw-id: //depot/perl@24410

16 years agoOoops. Wise man tests with ithreads before commiting. D'oh!
Nicholas Clark [Fri, 6 May 2005 19:08:35 +0000 (19:08 +0000)]
Ooops. Wise man tests with ithreads before commiting. D'oh!

p4raw-id: //depot/perl@24409

16 years agoChange types of PL_he_arenaroot and PL_pte_arenaroot to avoid casting.
Nicholas Clark [Fri, 6 May 2005 18:38:45 +0000 (18:38 +0000)]
Change types of PL_he_arenaroot and PL_pte_arenaroot to avoid casting.

p4raw-id: //depot/perl@24408

16 years agoUpgrade to PathTools 3.07
Rafael Garcia-Suarez [Fri, 6 May 2005 15:37:30 +0000 (15:37 +0000)]
Upgrade to PathTools 3.07

p4raw-id: //depot/perl@24407

16 years agoDon't pretend SIGZERO exists [#35291].
Abhijit Menon-Sen [Fri, 6 May 2005 15:17:26 +0000 (15:17 +0000)]
Don't pretend SIGZERO exists [#35291].

p4raw-id: //depot/perl@24406

16 years agoMake the arena size changeable at compile time, and up the default by
Nicholas Clark [Fri, 6 May 2005 13:11:54 +0000 (13:11 +0000)]
Make the arena size changeable at compile time, and up the default by
a factor of 4.

p4raw-id: //depot/perl@24405

16 years agoAllocate pointer table entries (for ithread cloning) from an arena
Nicholas Clark [Fri, 6 May 2005 12:34:36 +0000 (12:34 +0000)]
Allocate pointer table entries (for ithread cloning) from an arena

p4raw-id: //depot/perl@24404

16 years agoavoid accessing a just-freed SV (keep ponie happy)
Dave Mitchell [Thu, 5 May 2005 20:52:11 +0000 (20:52 +0000)]
avoid accessing a just-freed SV (keep ponie happy)

p4raw-id: //depot/perl@24402

16 years agoMissing files in Test::Simple
Rafael Garcia-Suarez [Thu, 5 May 2005 17:12:38 +0000 (17:12 +0000)]
Missing files in Test::Simple

p4raw-id: //depot/perl@24401

16 years agoBump versions of non dual-life modules
Nicholas Clark [Thu, 5 May 2005 15:17:23 +0000 (15:17 +0000)]
Bump versions of non dual-life modules

p4raw-id: //depot/perl@24399

16 years agoBump version numbers
Nicholas Clark [Thu, 5 May 2005 14:54:20 +0000 (14:54 +0000)]
Bump version numbers

p4raw-id: //depot/perl@24398

16 years agoUpgrade to Test::Simple 0.60
Rafael Garcia-Suarez [Thu, 5 May 2005 14:41:55 +0000 (14:41 +0000)]
Upgrade to Test::Simple 0.60

p4raw-id: //depot/perl@24397

16 years agoBump B version numbers
Nicholas Clark [Thu, 5 May 2005 14:28:42 +0000 (14:28 +0000)]
Bump B version numbers

p4raw-id: //depot/perl@24396

16 years agostop Math/BigInt/t/bare_mbf.t producing spurious test output
Dave Mitchell [Thu, 5 May 2005 12:06:32 +0000 (12:06 +0000)]
stop Math/BigInt/t/bare_mbf.t producing spurious test output

p4raw-id: //depot/perl@24393

16 years agostrictifying t/TEST stopped it handling '1..n todo' correctly
Dave Mitchell [Thu, 5 May 2005 12:01:51 +0000 (12:01 +0000)]
strictifying t/TEST stopped it handling '1..n todo' correctly
(made scope of %toto too narrow)

p4raw-id: //depot/perl@24392

16 years agomake t/TEST detect various failure modes in testfile outputs
Dave Mitchell [Thu, 5 May 2005 00:34:50 +0000 (00:34 +0000)]
make t/TEST detect various failure modes in testfile outputs
in particular:
    multiple leader lines
    leader line not first or last line of file
    unrecognised lines
    out-of-sequence test numbers

p4raw-id: //depot/perl@24390

16 years agostrictify t/TEST
Dave Mitchell [Wed, 4 May 2005 22:14:54 +0000 (22:14 +0000)]
strictify t/TEST
make most variables lexical, narrow their scope, and give some of
them more meaningful names. Also fix a harmless bug where the wrong
filehandles are closed (A+B rather than U+A)

p4raw-id: //depot/perl@24389

16 years agoDocument the unportability of atan2() edge cases
Rafael Garcia-Suarez [Wed, 4 May 2005 20:50:59 +0000 (20:50 +0000)]
Document the unportability of atan2() edge cases
and remove unportable tests (by Steve Peters)

p4raw-id: //depot/perl@24388

16 years agoadd test for [perl #34682] leaving eval via last in inner runops
Dave Mitchell [Wed, 4 May 2005 20:30:00 +0000 (20:30 +0000)]
add test for [perl #34682] leaving eval via last in inner runops

p4raw-id: //depot/perl@24387

16 years agoFix test numerotation
Rafael Garcia-Suarez [Wed, 4 May 2005 18:31:19 +0000 (18:31 +0000)]
Fix test numerotation

p4raw-id: //depot/perl@24386

16 years agomake goto.t use test.pl, strict and warnings
Dave Mitchell [Wed, 4 May 2005 15:52:11 +0000 (15:52 +0000)]
make goto.t use test.pl, strict and warnings

p4raw-id: //depot/perl@24385

16 years ago[perl #35214] SEGV when next is followed by a goto
Dave Mitchell [Wed, 4 May 2005 14:01:40 +0000 (14:01 +0000)]
[perl #35214] SEGV when next is followed by a goto

next and redo didn't restore PL_curcop

p4raw-id: //depot/perl@24384

16 years agoperlvar.pod verbatim paragraph first line does not start with a space
Offer Kaye [Wed, 4 May 2005 15:10:37 +0000 (18:10 +0300)]
perlvar.pod verbatim paragraph first line does not start with a space
Message-Id: <56942505050405101bfe678d@mail.gmail.com>

p4raw-id: //depot/perl@24383

16 years agoSync synopses
Rafael Garcia-Suarez [Wed, 4 May 2005 11:21:54 +0000 (11:21 +0000)]
Sync synopses

p4raw-id: //depot/perl@24382

16 years agodocument the internals of exception handling
Dave Mitchell [Tue, 3 May 2005 22:10:45 +0000 (22:10 +0000)]
document the internals of exception handling

p4raw-id: //depot/perl@24381

16 years agoFix getting prototype of builtins mkdir and setpgrp.
Rafael Garcia-Suarez [Tue, 3 May 2005 15:43:34 +0000 (15:43 +0000)]
Fix getting prototype of builtins mkdir and setpgrp.
Hardcode special exceptions for exec and system, instead
of trying to be clever and failing.

p4raw-id: //depot/perl@24380

16 years agoError in the latest FindBin patch, noticed by Nicholas
Rafael Garcia-Suarez [Tue, 3 May 2005 12:18:50 +0000 (12:18 +0000)]
Error in the latest FindBin patch, noticed by Nicholas

p4raw-id: //depot/perl@24379

16 years agomkdir without arguments now defaults to $_
Rafael Garcia-Suarez [Tue, 3 May 2005 12:15:45 +0000 (12:15 +0000)]
mkdir without arguments now defaults to $_

p4raw-id: //depot/perl@24378

16 years agook($a == $b) better written as cmp_ok($a, '==', $b)
Nicholas Clark [Tue, 3 May 2005 12:00:25 +0000 (12:00 +0000)]
ok($a == $b) better written as cmp_ok($a, '==', $b)
(The latter gives more diagnostics in the case of failure)

p4raw-id: //depot/perl@24377

16 years agoConvert to test.pl
Rafael Garcia-Suarez [Tue, 3 May 2005 09:45:24 +0000 (09:45 +0000)]
Convert to test.pl

p4raw-id: //depot/perl@24376

16 years agoFix for [perl #34252] Access rights in FindBin::Bin
Rafael Garcia-Suarez [Tue, 3 May 2005 08:53:25 +0000 (08:53 +0000)]
Fix for [perl #34252] Access rights in FindBin::Bin
At least on my platform, Cwd::getcwd doesn't find the current
directory if it has no access to it. Try harder with Cwd::cwd.

p4raw-id: //depot/perl@24375

16 years agoFix croak() and confess() so that they don't clobber $!
Steve Hay [Tue, 3 May 2005 08:51:24 +0000 (08:51 +0000)]
Fix croak() and confess() so that they don't clobber $!
(plus tests to check this)

p4raw-id: //depot/perl@24374

16 years agoPL_mess_sv is always >= SVt_PVMG, so no need for an if() test
Nicholas Clark [Tue, 3 May 2005 08:45:28 +0000 (08:45 +0000)]
PL_mess_sv is always >= SVt_PVMG, so no need for an if() test

p4raw-id: //depot/perl@24373

16 years ago[perl #33809] optimize macro dXSARGS
Sergey Skvortsov [Mon, 17 Jan 2005 09:02:33 +0000 (09:02 +0000)]
[perl #33809] optimize macro dXSARGS
From: Sergey Skvortsov (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-33809-105714.16.4209917806492@perl.org>

p4raw-id: //depot/perl@24372

16 years agoIEEE math for the masses
Steve Peters [Fri, 15 Apr 2005 09:10:54 +0000 (04:10 -0500)]
IEEE math for the masses
Message-ID: <20050415141054.GA12749@mccoy.peters.homeunix.org>

(tests added to t/op/exp.t)

p4raw-id: //depot/perl@24371

16 years agoConvert to test.pl
Rafael Garcia-Suarez [Tue, 3 May 2005 06:30:47 +0000 (06:30 +0000)]
Convert to test.pl

p4raw-id: //depot/perl@24370

16 years agoA slightly better layout for the diagram.
Nicholas Clark [Mon, 2 May 2005 20:45:00 +0000 (20:45 +0000)]
A slightly better layout for the diagram.

p4raw-id: //depot/perl@24369

16 years agoClarify the definition of the 'w' pack format, as suggested by
Rafael Garcia-Suarez [Mon, 2 May 2005 20:10:34 +0000 (20:10 +0000)]
Clarify the definition of the 'w' pack format, as suggested by
Alexey Toptygin.

p4raw-id: //depot/perl@24368

16 years agoFor perls where pids and ppids are cached, when the ppid of
Rafael Garcia-Suarez [Mon, 2 May 2005 17:10:19 +0000 (17:10 +0000)]
For perls where pids and ppids are cached, when the ppid of
the perl process becomes 1, refresh the ppid cache (this may
indicate that the parent process has died.)

p4raw-id: //depot/perl@24367

16 years agoChange inheritance hierarchy of B subclassses :
Nicholas Clark [Wed, 27 Apr 2005 14:57:51 +0000 (15:57 +0100)]
Change inheritance hierarchy of B subclassses :

Subject: @B::NV::ISA = 'B::IV';
Message-ID: <20050427135750.GD94420@plum.flirble.org>

p4raw-id: //depot/perl@24366

16 years agoprintf.patch: Adding printf checking for gcc
Andy Lester [Sun, 1 May 2005 15:07:55 +0000 (10:07 -0500)]
printf.patch: Adding printf checking for gcc
Message-ID: <20050501200755.GA30259@petdance.com>

p4raw-id: //depot/perl@24365

16 years agoRe: [perl #31793] Data::Dumper: Useqq interacts badly with overloading
Rafael Garcia-Suarez [Wed, 3 Nov 2004 16:38:01 +0000 (17:38 +0100)]
Re: [perl #31793] Data::Dumper: Useqq interacts badly with overloading
Message-ID: <20041103163801.6839be30@valis.local>

p4raw-id: //depot/perl@24364

16 years agoBetter fix for #8738 (Core dump in 'leavetry')
Dave Mitchell [Mon, 2 May 2005 14:27:20 +0000 (14:27 +0000)]
Better fix for #8738  (Core dump in 'leavetry')
When in an inner runops loop (eg via a tie or sort), an eval
needs a new JMPENV pushing by S_docatch. If an exception is raised,
control is returned to S_docatch, and it must determine whether
the eval that trapped the exception is an inner eval or an outer
one. In the former case, restart the loop, in the latter case,
rethrow the exception. This is determined by whether we are still
at the same PL_curstackinfo level. This fails in the case of
SPLICE(), which pushes a new SETJMP and runops level, but not a
new stackinfo level. There may be other code which does similar.
The solution is to store the current value of PL_top_env in each
pushed CxEVAL, and see if it's still the same as PL_top_env when
the exception is handled.

p4raw-id: //depot/perl@24363

16 years agoRevert change #15705 (Core dump in 'leavetry')
Dave Mitchell [Mon, 2 May 2005 13:51:42 +0000 (13:51 +0000)]
Revert change #15705 (Core dump in 'leavetry')
This fixes bug #34682, reintroduces bug #8738 (ID 20020301.011),
and reintroduces an eval optimisation for innter runops levels
p4raw-link: @15705 on //depot/perl: 8bffa5f8f4dd0cd203052722c9fcfd899f51d033

p4raw-id: //depot/perl@24362

16 years agomove the SETJMP exception-handing definitions from scope.h to cop.h
Dave Mitchell [Mon, 2 May 2005 13:29:17 +0000 (13:29 +0000)]
move the SETJMP exception-handing definitions from scope.h to cop.h
so that a JMPENV* entry can be added to struct block_eval

p4raw-id: //depot/perl@24361

16 years agoFix [perl #35162] $SIG{__DIE__} = 'IGNORE' is base.pm is illegal
Rafael Garcia-Suarez [Mon, 2 May 2005 09:37:04 +0000 (09:37 +0000)]
Fix [perl #35162] $SIG{__DIE__} = 'IGNORE' is base.pm is illegal

p4raw-id: //depot/perl@24360

16 years agoundo pod utilities regression in 24034
Craig A. Berry [Fri, 29 Apr 2005 17:22:48 +0000 (12:22 -0500)]
undo pod utilities regression in 24034
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <4272B3B8.6030603@mac.com>

p4raw-id: //depot/perl@24359

16 years agouninitialized warnings in regcomp
Steven Philip Schubiger [Mon, 2 May 2005 01:14:29 +0000 (03:14 +0200)]
uninitialized warnings in regcomp
Message-Id: <200505012314.j41NETLk018737@accognoscere.homeunix.org>

p4raw-id: //depot/perl@24358

16 years agoExplode if anyone attempts to sv_upgrade PL_mess_sv.
Nicholas Clark [Sun, 1 May 2005 22:16:16 +0000 (22:16 +0000)]
Explode if anyone attempts to sv_upgrade PL_mess_sv.
Should this be a panic: ?

p4raw-id: //depot/perl@24357

16 years agoPut back INSTALL_PREFIX and INSTALL_PREFIX_EXP as they were
H.Merijn Brand [Fri, 29 Apr 2005 15:32:17 +0000 (15:32 +0000)]
Put back INSTALL_PREFIX and INSTALL_PREFIX_EXP as they were
unintendedly removed by patch #23435

p4raw-id: //depot/perl@24355

16 years agoSmall patch to perlport.pod
S├ębastien Aperghis-Tramoni [Thu, 28 Apr 2005 02:24:04 +0000 (04:24 +0200)]
Small patch to perlport.pod
Message-Id: <D38E89F3-B77B-11D9-B91D-000502F3279F@free.fr>

p4raw-id: //depot/perl@24354

16 years agoone cannot "static" exported functions
Jarkko Hietaniemi [Fri, 29 Apr 2005 11:02:01 +0000 (14:02 +0300)]
one cannot "static" exported functions
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D705@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@24353