This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

p4raw-id: //depot/perl@24382

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoSkip PL_sig_sv when PERL_IMPLICIT_CONTEXT is defined
Steve Hay [Fri, 29 Apr 2005 08:24:50 +0000 (08:24 +0000)]
Skip PL_sig_sv when PERL_IMPLICIT_CONTEXT is defined
(rather than when PERL_IMPLICIT_SYS is defined)

p4raw-id: //depot/perl@24352

15 years agoRefactor Perl_sv_utf8_upgrade_flags to use SvPV_free
Nicholas Clark [Thu, 28 Apr 2005 22:28:53 +0000 (22:28 +0000)]
Refactor Perl_sv_utf8_upgrade_flags to use SvPV_free

p4raw-id: //depot/perl@24351

15 years ago(in blead) a missing const in a prototype
Jarkko Hietaniemi [Wed, 27 Apr 2005 17:35:27 +0000 (20:35 +0300)]
(in blead) a missing const in a prototype
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D6ED@esebe105.NOE.Nokia.com>

p4raw-id: //depot/perl@24350

15 years agoSilence a compilation warning on Win32
Steve Hay [Thu, 28 Apr 2005 16:38:51 +0000 (16:38 +0000)]
Silence a compilation warning on Win32

p4raw-id: //depot/perl@24349

15 years agoAdd a new macro SvPV_free() which undoes OOK and free()s the PVX(),
Nicholas Clark [Thu, 28 Apr 2005 11:22:15 +0000 (11:22 +0000)]
Add a new macro SvPV_free() which undoes OOK and free()s the PVX(),
becase there's a lot of code around that calls SvOOK_off(), memmov()s
the buffer, then promptly free()s it. So avoid the needless memmov().

p4raw-id: //depot/perl@24348

15 years agoRemove temporary clean-up from Win32 makefiles
Steve Hay [Thu, 28 Apr 2005 11:13:55 +0000 (11:13 +0000)]
Remove temporary clean-up from Win32 makefiles

Change 22501 temporarily added some clean-up to the Win32 makefiles
which was only meant to stay until cpan rt #5616 was fixed.  It is
now fixed (in EU-MM 6.22, which in turn has been in blead for a
while now), so these hacks are no longer required.

This change is also good for maint, which currently contains EU-MM
6.17, which didn't create the blibdirs.exists files in question
anyway.

p4raw-id: //depot/perl@24347

15 years agoRemove confusing punctuation
Rafael Garcia-Suarez [Thu, 28 Apr 2005 09:29:07 +0000 (09:29 +0000)]
Remove confusing punctuation
(spotted by David Rigaudiere)

p4raw-id: //depot/perl@24345

15 years agoCalling sv_backoff() on something that's about to be free()d will
Nicholas Clark [Thu, 28 Apr 2005 09:29:06 +0000 (09:29 +0000)]
Calling sv_backoff() on something that's about to be free()d will
memmov() memory that's about to be freed. Seems wasteful.

p4raw-id: //depot/perl@24344

15 years agoFix perlsio_binmode() export breakage caused by change #24338
Steve Hay [Thu, 28 Apr 2005 08:44:28 +0000 (08:44 +0000)]
Fix perlsio_binmode() export breakage caused by change #24338

Define and export perlsio_binmode() based on the same condition,
namely, that USE_PERLIO is defined and USE_SFIO is not.
p4raw-link: @24338 on //depot/perl: de009b76d60bdeb88f1d812ac755ae225805a071

p4raw-id: //depot/perl@24341

15 years agoThe if() clause is the wrong way round, so OOK can never be true in
Nicholas Clark [Thu, 28 Apr 2005 08:34:57 +0000 (08:34 +0000)]
The if() clause is the wrong way round, so OOK can never be true in
this case. Given that OOK is never undone, we could never have been
correctly upgrading a PV with OOK to HV or AV. I believe that only
SVt_NULL is the only type ever upgraded to HV or AV.

p4raw-id: //depot/perl@24340

15 years agoA couple of warning fixes by Gisle
Rafael Garcia-Suarez [Wed, 27 Apr 2005 20:24:30 +0000 (20:24 +0000)]
A couple of warning fixes by Gisle

p4raw-id: //depot/perl@24339

15 years agoperlio-two.patch: More warnings squashed, more consts
Andy Lester [Wed, 27 Apr 2005 10:02:43 +0000 (05:02 -0500)]
perlio-two.patch: More warnings squashed, more consts
Message-ID: <20050427150243.GA21883@petdance.com>

p4raw-id: //depot/perl@24338

15 years agoWin32 MM test fix
Steve Hay [Wed, 27 Apr 2005 08:35:40 +0000 (08:35 +0000)]
Win32 MM test fix
From: Michael G Schwern <schwern@pobox.com>
Date: Mon, 18 Apr 2005 14:30:19 -0700
Message-ID: <20050418213019.GA15797@windhund.schwern.org>

Subject: Re: Win32 MM test fix
From: demerphq <demerphq@gmail.com>
Date: Tue, 19 Apr 2005 00:57:59 +0200
Message-ID: <9b18b31105041815573e10dc10@mail.gmail.com>

p4raw-id: //depot/perl@24334

15 years agoXS() __attribute__
Andy Lester [Fri, 22 Apr 2005 17:39:47 +0000 (12:39 -0500)]
XS() __attribute__
Message-ID: <20050422223947.GA4681@petdance.com>

p4raw-id: //depot/perl@24333

15 years agoRe: [PATCH] pp_pack.c redux, to work w/Jarkko's recent patches
Andy Lester [Mon, 25 Apr 2005 17:56:51 +0000 (12:56 -0500)]
Re: [PATCH] pp_pack.c redux, to work w/Jarkko's recent patches
Message-ID: <20050425225651.GB17271@petdance.com>

p4raw-id: //depot/perl@24328

15 years agoUpgrade to CGI.pm 3.08
Rafael Garcia-Suarez [Tue, 26 Apr 2005 12:49:03 +0000 (12:49 +0000)]
Upgrade to CGI.pm 3.08

p4raw-id: //depot/perl@24326

15 years agofor AIX problems? RE: [PATCH] Symbian port of Perl
H.Merijn Brand [Tue, 26 Apr 2005 11:28:42 +0000 (11:28 +0000)]
for AIX problems? RE: [PATCH] Symbian port of Perl
Date: Tue, 26 Apr 2005 12:22:12 +0300
From: <jarkko.hietaniemi@nokia.com>
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D6CB@esebe105.NOE.Nokia.com>
From: Steve Hay <steve.hay@uk.radan.com>
Message-ID: <426E11A3.8070002@uk.radan.com>

p4raw-id: //depot/perl@24325

15 years agoUpdate location to fetch dmake from in README.win32
Steve Hay [Mon, 25 Apr 2005 13:09:57 +0000 (13:09 +0000)]
Update location to fetch dmake from in README.win32

Use the generic search.cpan.org URL so that the latest version is
always found

p4raw-id: //depot/perl@24321