This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agoRevert change 33326
Jerry D. Hedden [Fri, 22 Feb 2008 16:21:14 +0000 (11:21 -0500)]
Revert change 33326
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802221321r8af47eh9a8c2772b9aa33c8@mail.gmail.com>

p4raw-id: //depot/perl@33358

14 years agocygwin hints
Reini Urban [Thu, 21 Feb 2008 14:38:33 +0000 (15:38 +0100)]
cygwin hints
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60802210538p4fdb84abwf5128e87399dddf4@mail.gmail.com>

p4raw-id: //depot/perl@33357

14 years agoRe: [PATCH] Splitting OP_CONST (Was: pp_const, not, that, hot?)
Vincent Pit [Fri, 15 Feb 2008 23:08:50 +0000 (00:08 +0100)]
Re: [PATCH] Splitting OP_CONST (Was: pp_const, not, that, hot?)
Message-ID: <47B60D72.50708@profvince.com>
Date: Fri, 15 Feb 2008 23:08:50 +0100

p4raw-id: //depot/perl@33356

14 years agoAs best as I (and my minion, gcc -Os) can tell, PL_curcop and
Nicholas Clark [Fri, 22 Feb 2008 22:30:05 +0000 (22:30 +0000)]
As best as I (and my minion, gcc -Os) can tell, PL_curcop and
PL_in_eval do not need to be volatile. This improves the generated code
measurably - for example toke.o is 1.5% smaller. Every little helps.

p4raw-id: //depot/perl@33355

14 years agoUpdate to embed.h somehow missed from change 33343.
Nicholas Clark [Fri, 22 Feb 2008 22:27:47 +0000 (22:27 +0000)]
Update to embed.h somehow missed from change 33343.

p4raw-id: //depot/perl@33354

14 years agoTake advantage of the fact that we can use indent as a stdin/stdout
Nicholas Clark [Fri, 22 Feb 2008 20:06:15 +0000 (20:06 +0000)]
Take advantage of the fact that we can use indent as a stdin/stdout
filter to reduce its workload (and ours) by only sending it the 3 or
so lines that we are interested in printing, not the preceding
bucket loads.

p4raw-id: //depot/perl@33353

14 years ago[patch] Porting/expand-macros.pl gets 'indent'ing
Jim Cromie [Thu, 7 Feb 2008 17:03:22 +0000 (10:03 -0700)]
[patch] Porting/expand-macros.pl gets 'indent'ing
Message-ID: <47AB9C4A.3080107@gmail.com>
Date: Thu, 07 Feb 2008 17:03:22 -0700

p4raw-id: //depot/perl@33352

14 years agoRegenerate the win32/config_H.* files using the makefile targets
Steve Hay [Fri, 22 Feb 2008 18:12:36 +0000 (18:12 +0000)]
Regenerate the win32/config_H.* files using the makefile targets
fixed-up by #33349.

There shouldn't be any real changes here. If there are then I've
screwed up.

p4raw-id: //depot/perl@33350

14 years agoFix-up Win32's regen_config_h targets for semi-automatic updating of
Steve Hay [Fri, 22 Feb 2008 18:10:36 +0000 (18:10 +0000)]
Fix-up Win32's regen_config_h targets for semi-automatic updating of
the win32/config_H.* files

p4raw-id: //depot/perl@33349

14 years agoCorrect large files / lseek size & type settings in Win32 canned configs.
Steve Hay [Fri, 22 Feb 2008 17:10:50 +0000 (17:10 +0000)]
Correct large files / lseek size & type settings in Win32 canned configs.

Change 25208 switched off USE_LARGE_FILES in win32/config_H.* but left
LSEEKSIZE/Off_t_size and Off_t as 8 and __int64 (or long long)
respectively. Similarly change 25215 switched off uselargefiles in
win32/config.* but left lseeksize and lseektype as 8 and __int64 (or
long long) respectively. Change 25216 fixed the Borland settings in
win32/config.bc on the basis that Borland should always be using 4 and
long, but really all the other files should be using 4 and long for
their default values as well to match the default values of
USE_LARGE_FILES and uselargefiles. Having done that, we must then
reverse the logic for fiddling with these values in win32/config_sh.PL:
they are now changed to 8 and __int64 (or long long) if uselargefiles
*is* defined (except for Borland, which always wants 4 and long).

p4raw-id: //depot/perl@33347

14 years agoMissed a file from regen.pl
Nicholas Clark [Fri, 22 Feb 2008 12:37:34 +0000 (12:37 +0000)]
Missed a file from regen.pl

p4raw-id: //depot/perl@33346

14 years agoSync win32/config.* with Porting/config.sh
Steve Hay [Fri, 22 Feb 2008 12:19:44 +0000 (12:19 +0000)]
Sync win32/config.* with Porting/config.sh

p4raw-id: //depot/perl@33345

14 years agoSilence warning from VC8 when building without USE_LARGE_FILES
Steve Hay [Fri, 22 Feb 2008 12:17:17 +0000 (12:17 +0000)]
Silence warning from VC8 when building without USE_LARGE_FILES

p4raw-id: //depot/perl@33344

14 years agoFollowing 33291, on VMS we need to use the same prototypes other platforms
Craig A. Berry [Fri, 22 Feb 2008 00:20:45 +0000 (00:20 +0000)]
Following 33291, on VMS we need to use the same prototypes other platforms
use in order to get the do_spawn-related assert macros defined.  Based
on suggestions by John Malmberg.

p4raw-id: //depot/perl@33343

14 years agofix variable names in 'ununit var' warnings in evals
Dave Mitchell [Fri, 22 Feb 2008 00:07:15 +0000 (00:07 +0000)]
fix variable names in 'ununit var' warnings in evals

p4raw-id: //depot/perl@33342

14 years agoFix [perl #50430].
Steve Hay [Thu, 21 Feb 2008 17:53:05 +0000 (17:53 +0000)]
Fix [perl #50430].
Not 100% sure this is right, but it fixes the bug without breaking
any tests so hopefully it's at least better than it was before.

p4raw-id: //depot/perl@33341

14 years agoFix Module-Build test that has been failing on Win32
Steve Hay [Thu, 21 Feb 2008 14:02:29 +0000 (14:02 +0000)]
Fix Module-Build test that has been failing on Win32
since the upgrade of Test-Harness at #32659

p4raw-id: //depot/perl@33340

14 years agoFix CBuilder test that has been failing on Win32
Steve Hay [Thu, 21 Feb 2008 13:38:57 +0000 (13:38 +0000)]
Fix CBuilder test that has been failing on Win32
since the upgrade at #33263

p4raw-id: //depot/perl@33339

14 years agoEliminate ck_lengthconst.
Nicholas Clark [Wed, 20 Feb 2008 22:39:56 +0000 (22:39 +0000)]
Eliminate ck_lengthconst.

p4raw-id: //depot/perl@33338

14 years agoSetting the f flag on length causes the op to be constant folded.
Nicholas Clark [Wed, 20 Feb 2008 09:21:53 +0000 (09:21 +0000)]
Setting the f flag on length causes the op to be constant folded.

p4raw-id: //depot/perl@33337

14 years agoFix Win32/VC6 compiler warnings caused by #33231
Steve Hay [Wed, 20 Feb 2008 09:17:37 +0000 (09:17 +0000)]
Fix Win32/VC6 compiler warnings caused by #33231

p4raw-id: //depot/perl@33336

14 years agoVisual C++ 2008 Express Edition is now out: update README.win32
Steve Hay [Wed, 20 Feb 2008 08:32:24 +0000 (08:32 +0000)]
Visual C++ 2008 Express Edition is now out: update README.win32

p4raw-id: //depot/perl@33335

14 years agoEnable caching of strxfrm() results also for readonly SVs as
Marcus Holland-Moritz [Fri, 15 Feb 2008 17:00:15 +0000 (18:00 +0100)]
Enable caching of strxfrm() results also for readonly SVs as
returned e.g. by "keys %hash". This speeds up sorting of lots
of hash keys significantly. See also:

Subject: Slowdown of "sort keys %hash" under "use locale"
Message-ID: <20080215170015.72f6160d@r2d2>

p4raw-id: //depot/perl@33334

14 years agowas RE: [PATCH] re patch 33127: formatting for C<<{ bydepth => 1 }>>
Robin Barker [Mon, 18 Feb 2008 15:47:42 +0000 (15:47 +0000)]
was RE: [PATCH] re patch 33127: formatting for C<<{ bydepth => 1 }>>
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A46@exchsvr2.npl.ad.local>

plus another POD fix found by podchecker

p4raw-id: //depot/perl@33333

14 years agoconsting for .c files in tests
Robin Barker [Mon, 18 Feb 2008 13:43:56 +0000 (13:43 +0000)]
consting for .c files in tests
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A3F@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33332

14 years agoThread::Queue 2.03
Jerry D. Hedden [Fri, 15 Feb 2008 14:02:14 +0000 (09:02 -0500)]
Thread::Queue 2.03
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802151102s41bebc4xab19aa6e464dbf04@mail.gmail.com>

p4raw-id: //depot/perl@33331

14 years ago[perl #50946] modified hints for Darwin x86 64bit
Daniel M. Quinlan [Sun, 17 Feb 2008 14:20:58 +0000 (06:20 -0800)]
[perl #50946] modified hints for Darwin x86  64bit
From: "Daniel M. Quinlan" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-24181-1203286856-952.50946-75-0@perl.org>

p4raw-id: //depot/perl@33330

14 years agoThread::Semaphore 2.04
Jerry D. Hedden [Fri, 15 Feb 2008 11:12:07 +0000 (06:12 -0500)]
Thread::Semaphore 2.04
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802150812r3facd53cs1913dd82c3070ac0@mail.gmail.com>

p4raw-id: //depot/perl@33329

14 years agoModulo operator and floating point numbers
Ken Williams [Sat, 16 Feb 2008 23:22:15 +0000 (17:22 -0600)]
Modulo operator and floating point numbers
From: "Ken Williams" <kenahoo@gmail.com>
Message-ID: <6a7ee8cc0802162122r4e59b93boee18b1f045b8954d@mail.gmail.com>

p4raw-id: //depot/perl@33328

14 years ago[ patch ] silence 2 possibly uninitialized vars
Jim Cromie [Sat, 16 Feb 2008 18:02:19 +0000 (11:02 -0700)]
[ patch ] silence 2 possibly uninitialized vars
Message-ID: <47B7879B.5040302@gmail.com>

p4raw-id: //depot/perl@33327

14 years agoDon't install threads files on non-threaded Perls
Jerry D. Hedden [Fri, 15 Feb 2008 11:02:54 +0000 (06:02 -0500)]
Don't install threads files on non-threaded Perls
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802150802g5bf52a52nc9543eb236063b86@mail.gmail.com>

p4raw-id: //depot/perl@33326

14 years agoFix bug 50496 -- regcomp.c=~s/lastcloseparen/lastparen/g
Yves Orton [Sun, 17 Feb 2008 16:53:27 +0000 (16:53 +0000)]
Fix bug 50496 -- regcomp.c=~s/lastcloseparen/lastparen/g
-- lastcloseparen is literally the index of the last paren closed
-- lastparen is index of the highest index paren that has been closed.
In nested parens, they will be completely different.
'ab'=~/(a(b))/ will have: lastparen = 2, lastcloseparen = 1
'ab'=~/(a)(b)/ will have: lastparen = lastcloseparen = 2

p4raw-id: //depot/perl@33325

14 years agoFix perlbug 50114 and document what the code does a bit better
Yves Orton [Sun, 17 Feb 2008 15:39:22 +0000 (15:39 +0000)]
Fix perlbug 50114 and document what the code does a bit better

p4raw-id: //depot/perl@33324

14 years agoFix macro name in comment
Rafael Garcia-Suarez [Sat, 16 Feb 2008 07:06:40 +0000 (07:06 +0000)]
Fix macro name in comment

p4raw-id: //depot/perl@33323

14 years agoCorrectly reference count the hints hash
Rafael Garcia-Suarez [Sat, 16 Feb 2008 07:06:16 +0000 (07:06 +0000)]
Correctly reference count the hints hash

p4raw-id: //depot/perl@33322

14 years agoResync with metaconfig. Escape the last ~.
H.Merijn Brand [Fri, 15 Feb 2008 16:41:12 +0000 (16:41 +0000)]
Resync with metaconfig. Escape the last ~.

p4raw-id: //depot/perl@33321

14 years agoShell patterns are subject to tilde expansion. So the case statement
Nicholas Clark [Fri, 15 Feb 2008 14:27:55 +0000 (14:27 +0000)]
Shell patterns are subject to tilde expansion. So the case statement
in the filexp script (written out by Configure) for expanding ~ and
~/*  has never worked. It's always been relying on the /bin/csh glob
for the ~* case. Few people ever noticed because one has to be
building to one's home directory on a system with no csh installed.
This is a bug from Perl 1.0's Configure!

p4raw-id: //depot/perl@33318

14 years agoTypo catch, by Abigail
Rafael Garcia-Suarez [Fri, 15 Feb 2008 11:08:51 +0000 (11:08 +0000)]
Typo catch, by Abigail

p4raw-id: //depot/perl@33317

14 years agoAvoid utf8 warnings when printing diagnostics
Rafael Garcia-Suarez [Fri, 15 Feb 2008 10:19:05 +0000 (10:19 +0000)]
Avoid utf8 warnings when printing diagnostics

p4raw-id: //depot/perl@33316

14 years agoSilence compiler warnings on Win32/VC6
Jan Dubois [Thu, 14 Feb 2008 11:24:01 +0000 (03:24 -0800)]
Silence compiler warnings on Win32/VC6

Subject: RE: Bit-fields patch causes warnings on Win32/VC6
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <002f01c86f3f$27e23ca0$77a6b5e0$@com>

p4raw-id: //depot/perl@33315

14 years agosprintf "%+d"
Abigail [Thu, 14 Feb 2008 17:43:14 +0000 (18:43 +0100)]
sprintf "%+d"
Message-ID: <20080214164314.GA31694@abigail.be>

p4raw-id: //depot/perl@33314

14 years agoRe: [perl #50496] Bug Report: 'keys %+' does not return the correct keys.
Abigail [Thu, 7 Feb 2008 17:53:30 +0000 (18:53 +0100)]
Re: [perl #50496] Bug Report: 'keys %+' does not return the correct keys.
Message-ID: <20080207165330.GA25617@abigail.be>

with tweaks (one more test marked TODO)

p4raw-id: //depot/perl@33313

14 years agoAdd missing file to MANIFEST, to go with change #33311
Rafael Garcia-Suarez [Thu, 14 Feb 2008 16:33:11 +0000 (16:33 +0000)]
Add missing file to MANIFEST, to go with change #33311
p4raw-link: @33311 on //depot/perl: 27eaf14c55a541e1e4f2529a8084e15a8cc43d41

p4raw-id: //depot/perl@33312

14 years agoRe: [perl #50706] %^H affecting outside file scopes
Rick Delaney [Tue, 12 Feb 2008 14:05:22 +0000 (09:05 -0500)]
Re: [perl #50706] %^H affecting outside file scopes
Message-ID: <20080212190522.GB16896@bort.ca>

p4raw-id: //depot/perl@33311

14 years agodoio.c:Perl_my_lstat:/* XXX Do really need to be calling SvPV() all these times? */
Vincent Pit [Thu, 14 Feb 2008 15:21:29 +0000 (16:21 +0100)]
doio.c:Perl_my_lstat:/* XXX Do really need to be calling SvPV() all these times? */
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <37048.147.210.17.175.1202998889.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33310

14 years agoMake the new warning report undef constants as undef
Rafael Garcia-Suarez [Thu, 14 Feb 2008 15:14:36 +0000 (15:14 +0000)]
Make the new warning report undef constants as undef

p4raw-id: //depot/perl@33309

14 years agoFix leak when issuing new warning implemented by #33305
Rafael Garcia-Suarez [Thu, 14 Feb 2008 15:05:38 +0000 (15:05 +0000)]
Fix leak when issuing new warning implemented by #33305

p4raw-id: //depot/perl@33308

14 years agoRevert change #33302. This change was wrong, since it was
Rafael Garcia-Suarez [Thu, 14 Feb 2008 14:39:21 +0000 (14:39 +0000)]
Revert change #33302. This change was wrong, since it was
using OP_ENTERSUB as a LISTOP, whereas it's a UNOP.
p4raw-link: @33302 on //depot/perl: 781e3f050073176aa21ffc243184a1cb57f4ec92

p4raw-id: //depot/perl@33307

14 years agoFix linker error introduced by #33305
Steve Hay [Thu, 14 Feb 2008 10:09:33 +0000 (10:09 +0000)]
Fix linker error introduced by #33305

p4raw-id: //depot/perl@33306

14 years agoShow constant in "Useless use of a constant in void context"
Rick Delaney [Wed, 13 Feb 2008 23:29:16 +0000 (18:29 -0500)]
Show constant in "Useless use of a constant in void context"
Message-ID: <20080214042916.GA12678@bort.ca>

p4raw-id: //depot/perl@33305

14 years agouse svtype
Robin Barker [Wed, 13 Feb 2008 17:46:02 +0000 (17:46 +0000)]
use svtype
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A35@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33304

14 years agoJerry D. Hedden now maintains Thread::Semaphore on CPAN
Rafael Garcia-Suarez [Thu, 14 Feb 2008 07:52:45 +0000 (07:52 +0000)]
Jerry D. Hedden now maintains Thread::Semaphore on CPAN

p4raw-id: //depot/perl@33303

14 years ago[perl #47047] Use of inherited AUTOLOAD for non-method is deprecated
Rick Delaney [Tue, 30 Oct 2007 20:19:40 +0000 (13:19 -0700)]
[perl #47047] Use of inherited AUTOLOAD for non-method is deprecated
From: Rick Delaney (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-24634-1193800780-55.47047-75-0@perl.org>

p4raw-id: //depot/perl@33302

14 years agoPERL_MAGIC_uvar_elem should be 'u' in dump.c
Vincent Pit [Wed, 13 Feb 2008 11:10:11 +0000 (12:10 +0100)]
PERL_MAGIC_uvar_elem should be 'u' in dump.c
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <36116.147.210.17.175.1202897411.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33301

14 years agopp_system explicitly passes NULL to do_aspawn, so NULL must be "OK"
Steve Hay [Wed, 13 Feb 2008 12:27:56 +0000 (12:27 +0000)]
pp_system explicitly passes NULL to do_aspawn, so NULL must be "OK"
*Now* my Win32 DEBUGGING build works :-)

p4raw-id: //depot/perl@33300

14 years agoDrat. #33298 doesn't fix it: need this too.
Steve Hay [Wed, 13 Feb 2008 12:19:17 +0000 (12:19 +0000)]
Drat. #33298 doesn't fix it: need this too.
And even then I now get an assertion from win32.c line 628. Sigh...

p4raw-id: //depot/perl@33299

14 years agoCorrect another variable name in embed.fnc
Steve Hay [Wed, 13 Feb 2008 12:05:49 +0000 (12:05 +0000)]
Correct another variable name in embed.fnc
(Fixes my DEBUGGING builds on Win32)

p4raw-id: //depot/perl@33298

14 years agoRead-only variable tests
Jerry D. Hedden [Fri, 8 Feb 2008 14:06:41 +0000 (09:06 -0500)]
Read-only variable tests
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802081106l737e4dcdibb73c8eacb4c39d8@mail.gmail.com>

with one less TODO test

p4raw-id: //depot/perl@33297

14 years agoUnused var in perlio.c (revised)
Jerry D. Hedden [Tue, 12 Feb 2008 10:00:18 +0000 (05:00 -0500)]
Unused var in perlio.c (revised)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802120700q689fb457ya5939bb440626157@mail.gmail.com>

p4raw-id: //depot/perl@33296

14 years agoMake sure we only find the macro we were looking for,
Marcus Holland-Moritz [Wed, 13 Feb 2008 07:42:02 +0000 (07:42 +0000)]
Make sure we only find the macro we were looking for,
not something that only starts with the same string.

p4raw-id: //depot/perl@33295

14 years agoUpgrade to PathTools-3.2701
Steve Peters [Tue, 12 Feb 2008 15:11:48 +0000 (15:11 +0000)]
Upgrade to PathTools-3.2701

p4raw-id: //depot/perl@33294

14 years agoUpgrade to Math-Complex-1.52
Steve Peters [Tue, 12 Feb 2008 15:07:44 +0000 (15:07 +0000)]
Upgrade to Math-Complex-1.52

p4raw-id: //depot/perl@33293

14 years agoFix bit-fields for VC [was RE: [perl #50386] GIMME_V broken with 5.10.0/GCC and XS?]
Jan Dubois [Fri, 1 Feb 2008 13:40:41 +0000 (05:40 -0800)]
Fix bit-fields for VC [was RE: [perl #50386] GIMME_V broken with 5.10.0/GCC and XS?]
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <02ee01c8651b$17ef72f0$47ce58d0$@com>

p4raw-id: //depot/perl@33292

14 years agoassert() that every NN argument is not NULL. Otherwise we have the
Nicholas Clark [Tue, 12 Feb 2008 13:15:20 +0000 (13:15 +0000)]
assert() that every NN argument is not NULL. Otherwise we have the
ability to create landmines that will explode under someone in the
future when they upgrade their compiler to one with better
optimisation. We've already done this at least twice.
(Yes, some of the assertions are after code that would already have
SEGVd because it already deferences a pointer, but they are put in
to make it easier to automate checking that each and every case is
covered.)
Add a tool, checkARGS_ASSERT.pl, to check that every case is covered.

p4raw-id: //depot/perl@33291

14 years agoCorrect the paramter to Perl_op_xmldump(). The one that got away from
Nicholas Clark [Tue, 12 Feb 2008 12:52:14 +0000 (12:52 +0000)]
Correct the paramter to Perl_op_xmldump(). The one that got away from
change 33289.

p4raw-id: //depot/perl@33290

14 years agoCorrect (some) variable names in embed.fnc where they differ from the
Nicholas Clark [Tue, 12 Feb 2008 12:16:23 +0000 (12:16 +0000)]
Correct (some) variable names in embed.fnc where they differ from the
actual function declaration.

p4raw-id: //depot/perl@33289

14 years agoIn Perl_load_module_nocontext(), ver can actually be NULL.
Nicholas Clark [Tue, 12 Feb 2008 11:52:30 +0000 (11:52 +0000)]
In Perl_load_module_nocontext(), ver can actually be NULL.
In Perl_hv_copy_hints_hv(), ohv can actually be NULL.
In Perl_sortsv(), Perl_sortsv_flags() and S_qsortsvu(), array can be
NULL (if the number of elements to sort is <= 1).
In Perl_save_nogv(), gv can not be NULL.
In Perl_sv_cmp() and Perl_sv_cmp_locale(), both SVs can be NULL.
In Perl_ptr_table_fetch(), the sv can be NULL.
In PerlIO_set_ptrcnt(), ptr can be NULL.

p4raw-id: //depot/perl@33287

14 years agoTeach Math::Complex the maximum NV for a 16 byte float. (At least, a
Nicholas Clark [Tue, 12 Feb 2008 06:56:24 +0000 (06:56 +0000)]
Teach Math::Complex the maximum NV for a 16 byte float. (At least, a
16 byte float on x86_64. This feels fragile.)

p4raw-id: //depot/perl@33286

14 years agoPerl_sv_2iv_flags(), Perl_sv_2uv_flags, Perl_sv_2nv and
Nicholas Clark [Mon, 11 Feb 2008 23:04:12 +0000 (23:04 +0000)]
Perl_sv_2iv_flags(), Perl_sv_2uv_flags, Perl_sv_2nv and
Perl_sv_2pv_flags() all return 0/0/0.0/"" without warning given a
NULL SV pointer so they ought to be marked as NULLOK in embed.fnc.

p4raw-id: //depot/perl@33285

14 years agoPerl_ck_retarget() doesn't even exist, so little point in mentioning
Nicholas Clark [Mon, 11 Feb 2008 20:07:50 +0000 (20:07 +0000)]
Perl_ck_retarget() doesn't even exist, so little point in mentioning
it.

p4raw-id: //depot/perl@33284

14 years agoIn Perl_sv_catpv(), Perl_sv_catpv_mg() the ptr can be not NULL.
Nicholas Clark [Mon, 11 Feb 2008 19:22:18 +0000 (19:22 +0000)]
In Perl_sv_catpv(), Perl_sv_catpv_mg() the ptr can be not NULL.
In Perl_sv_inc() and Perl_sv_dec(), the sv can be not NULL.
In Perl_parser_dup() the proto parser can be NULL.
In Perl_ptr_table_find(), the sought-for pointer can be NULL.
In Perl_save_set_svflags(), the saved SV can't be NULL.

p4raw-id: //depot/perl@33283

14 years agoUpgrade to Math-Complex-1.51
Steve Peters [Mon, 11 Feb 2008 17:37:43 +0000 (17:37 +0000)]
Upgrade to Math-Complex-1.51

p4raw-id: //depot/perl@33282

14 years agoUpgrade to Test-Harness-3.09
Steve Peters [Mon, 11 Feb 2008 16:58:15 +0000 (16:58 +0000)]
Upgrade to Test-Harness-3.09

p4raw-id: //depot/perl@33281

14 years agoRe: Unwanted warnings from "PerlIO::scalar"
Ben Morrow [Fri, 8 Feb 2008 13:50:09 +0000 (13:50 +0000)]
Re: Unwanted warnings from "PerlIO::scalar"
Message-ID: <20080208135008.GA3885@osiris.mauzo.dyndns.org>

p4raw-id: //depot/perl@33280

14 years agoIn Perl_regfree_internal(), rx is actually not NULL.
Nicholas Clark [Mon, 11 Feb 2008 14:46:40 +0000 (14:46 +0000)]
In Perl_regfree_internal(), rx is actually not NULL.
In Perl_regnext(), p can actually be NULL.

p4raw-id: //depot/perl@33279

14 years agoFix test to pass en 5.6.2 (unpack is needed by version.pm there)
Rafael Garcia-Suarez [Mon, 11 Feb 2008 11:10:09 +0000 (11:10 +0000)]
Fix test to pass en 5.6.2 (unpack is needed by version.pm there)

p4raw-id: //depot/perl@33278

14 years agoIn Perl_ck_lengthconst, "XXX length optimization goes here" is TODO.
Nicholas Clark [Mon, 11 Feb 2008 10:43:35 +0000 (10:43 +0000)]
In Perl_ck_lengthconst, "XXX length optimization goes here" is TODO.

p4raw-id: //depot/perl@33277

14 years agoThe "pointer" argument to S_restore_magic() is not not NULL, because
Nicholas Clark [Mon, 11 Feb 2008 08:54:16 +0000 (08:54 +0000)]
The "pointer" argument to S_restore_magic() is not not NULL, because
it's actually an integer index wedged into a pointer. (To fit within
the existing save stack API.)

p4raw-id: //depot/perl@33276

14 years agoCorrect quad-related %Config variables on VMS.
Craig A. Berry [Mon, 11 Feb 2008 04:17:45 +0000 (04:17 +0000)]
Correct quad-related %Config variables on VMS.

p4raw-id: //depot/perl@33275

14 years agoMake fs.t compare the permissions of a link with those
Craig A. Berry [Mon, 11 Feb 2008 00:05:14 +0000 (00:05 +0000)]
Make fs.t compare the permissions of a link with those
of the linked file rather than guessing at system defaults.

p4raw-id: //depot/perl@33274

14 years agoThe sv argument to gv_stashsv() is not NULL.
Nicholas Clark [Sun, 10 Feb 2008 19:17:13 +0000 (19:17 +0000)]
The sv argument to gv_stashsv() is not NULL.

p4raw-id: //depot/perl@33273

14 years agovcroak()'s pattern is actually NULLOK.
Nicholas Clark [Sun, 10 Feb 2008 17:44:34 +0000 (17:44 +0000)]
vcroak()'s pattern is actually NULLOK.

p4raw-id: //depot/perl@33272

14 years agoCorrect some names of parameters in embed.fnc.
Nicholas Clark [Sun, 10 Feb 2008 15:26:19 +0000 (15:26 +0000)]
Correct some names of parameters in embed.fnc.

p4raw-id: //depot/perl@33271

14 years agoTwo parameter names missing in embed.fnc
Nicholas Clark [Sun, 10 Feb 2008 14:56:53 +0000 (14:56 +0000)]
Two parameter names missing in embed.fnc

p4raw-id: //depot/perl@33270

14 years agoEliminate use of Nullop in the core code. Dual life uses remain.
Nicholas Clark [Sun, 10 Feb 2008 10:21:04 +0000 (10:21 +0000)]
Eliminate use of Nullop in the core code. Dual life uses remain.

p4raw-id: //depot/perl@33269

14 years agoexp(999) isn't "infinity". Even exp(9999) can still be represented on
Nicholas Clark [Sun, 10 Feb 2008 09:02:21 +0000 (09:02 +0000)]
exp(999) isn't "infinity". Even exp(9999) can still be represented on
80 bit long doubles. exp(99999) can't.

p4raw-id: //depot/perl@33268

14 years ago[patch] optimize OP_IS_(FILETEST|SOCKET) macros
Jim Cromie [Sat, 9 Feb 2008 07:56:59 +0000 (00:56 -0700)]
[patch] optimize OP_IS_(FILETEST|SOCKET) macros
Message-ID: <47ADBF3B.2050108@gmail.com>
Date: Sat, 09 Feb 2008 07:56:59 -0700

p4raw-id: //depot/perl@33267

14 years agoUpgrade to Time-HiRes-1.9712
Steve Peters [Sun, 10 Feb 2008 05:05:28 +0000 (05:05 +0000)]
Upgrade to Time-HiRes-1.9712

p4raw-id: //depot/perl@33266

14 years ago[perl #49472] Attributes + Unkown Error
Dave Mitchell [Sat, 9 Feb 2008 14:56:23 +0000 (14:56 +0000)]
[perl #49472] Attributes + Unkown Error
An errored attribute sub still processes the attributes,
which require's attribute.pm, so make sure the error state is
passed to the new require

p4raw-id: //depot/perl@33265

14 years agoUpgrade to Test-Harness-3.08
Steve Peters [Sat, 9 Feb 2008 07:29:21 +0000 (07:29 +0000)]
Upgrade to Test-Harness-3.08

p4raw-id: //depot/perl@33264

14 years agoUpgrade to ExtUtils-CBuilder-0.22
Steve Peters [Sat, 9 Feb 2008 07:18:35 +0000 (07:18 +0000)]
Upgrade to ExtUtils-CBuilder-0.22

p4raw-id: //depot/perl@33263

14 years agohints/aix_4.sh to allow build on aix 4.2
AUGUSTE-ETIENNE Jose [Fri, 8 Feb 2008 17:10:26 +0000 (14:10 -0300)]
hints/aix_4.sh to allow build on aix 4.2
Message-Id: <1202501426.15175.10.camel@sinf009w.d81970300.cgss-guyane.fr>

p4raw-id: //depot/perl@33262

14 years agoRemove an unneeded if statement.
Steve Peters [Fri, 8 Feb 2008 21:55:48 +0000 (21:55 +0000)]
Remove an unneeded if statement.

p4raw-id: //depot/perl@33261

14 years agoI've been maintaining Net::Ping for a while now.
Steve Peters [Fri, 8 Feb 2008 21:49:16 +0000 (21:49 +0000)]
I've been maintaining Net::Ping for a while now.

p4raw-id: //depot/perl@33260

14 years agoRE: Perl @ 33218 (Stratus VOS patches)
Paul Green [Fri, 8 Feb 2008 12:36:03 +0000 (07:36 -0500)]
RE: Perl @ 33218 (Stratus VOS patches)
From: "Green, Paul" <Paul.Green@stratus.com>
Message-ID: <F5F42E77A43DD944B6D664B00A5401CB037149FF@EXNA.corp.stratus.com>

Includes a fix to the patch to ext/Time/HiRes/Makefile.PL

p4raw-id: //depot/perl@33259

14 years agoIO::Handle->say should ignore $\ (bug #49266)
Rafael Garcia-Suarez [Fri, 8 Feb 2008 16:15:52 +0000 (16:15 +0000)]
IO::Handle->say should ignore $\ (bug #49266)

p4raw-id: //depot/perl@33258

14 years ago[perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation
Martin Hasch [Mon, 28 Jan 2008 16:56:07 +0000 (08:56 -0800)]
[perl #50364] [PATCH] perlop.pod - misnomer in % operator documentation
From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4355-1201568166-693.50364-75-0@perl.org>

p4raw-id: //depot/perl@33257

14 years agomg_copy ought to take an I32
Vincent Pit [Wed, 6 Feb 2008 10:39:58 +0000 (11:39 +0100)]
mg_copy ought to take an I32
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <39468.147.210.17.175.1202290798.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33256

14 years agoGive Win32 message windows proper window procedures
Robert May [Sun, 3 Feb 2008 18:04:46 +0000 (23:34 +0530)]
Give Win32 message windows proper window procedures
From: "Robert May" <rob@themayfamily.me.uk>
Message-ID: <54bdc7510802030434g4f9da56eq8d526e80c297290b@mail.gmail.com>

p4raw-id: //depot/perl@33255

14 years agowin32_async_check() doesn't loop enough.
Robert May [Sun, 3 Feb 2008 13:11:57 +0000 (18:41 +0530)]
win32_async_check() doesn't loop enough.
From: "Robert May" <robertmay@cpan.org>
Message-ID: <54bdc7510802022341r3654d32dva26ef04bd9fa04b7@mail.gmail.com>

p4raw-id: //depot/perl@33254