This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
14 years agouse strict; and use Test::More; to give decent failure diagnostics.
Nicholas Clark [Tue, 4 Mar 2008 17:14:30 +0000 (17:14 +0000)]
use strict; and use Test::More; to give decent failure diagnostics.
(And less code)

p4raw-id: //depot/perl@33433

14 years agoDetermine nv_overflows_integers_at on VMS.
Craig A. Berry [Tue, 4 Mar 2008 13:29:01 +0000 (13:29 +0000)]
Determine nv_overflows_integers_at on VMS.

p4raw-id: //depot/perl@33431

14 years agoFix some checkpod complaints.
Steve Peters [Mon, 3 Mar 2008 19:20:12 +0000 (19:20 +0000)]
Fix some checkpod complaints.

p4raw-id: //depot/perl@33423

14 years agoRe: [PATCH] NEXT.pm bug within overloaded stringification
Marcel GrĂ¼nauer [Mon, 3 Mar 2008 16:08:48 +0000 (17:08 +0100)]
Re: [PATCH] NEXT.pm bug within overloaded stringification
Message-Id: <511B0A54-AB2D-4A65-A02E-E2E07C043EAB@univie.ac.at>

(a resend of <7BBCFD93-91CF-4656-A97F-ED5E749F7B2E@univie.ac.at>)

p4raw-id: //depot/perl@33416

14 years ago[perl #46957] [PATCH] make Devel::Peek::mstat always available
srezic@cpan.org [Sat, 27 Oct 2007 11:33:57 +0000 (04:33 -0700)]
[perl #46957] [PATCH] make Devel::Peek::mstat always available
From: srezic@cpan.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4732-1193510037-297.46957-75-0@perl.org>

p4raw-id: //depot/perl@33414

14 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Sun, 2 Mar 2008 20:10:29 +0000 (21:10 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080302191029.GC10705@refcnt.homeunix.org>

Plus regen and additional tweaks to silence warnings from VC7 in sv.c from this patch and previous patches from same author.

p4raw-id: //depot/perl@33411

14 years agoUpdate ExtUtils::Install to release 1.47
Yves Orton [Sun, 2 Mar 2008 18:37:45 +0000 (18:37 +0000)]
Update ExtUtils::Install to release 1.47

p4raw-id: //depot/perl@33410

14 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Sun, 2 Mar 2008 17:47:43 +0000 (18:47 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080302164743.GB10705@refcnt.homeunix.org>

p4raw-id: //depot/perl@33409

14 years agoRe: interrupting system() with signal depends on signal handler
Steffen Ullrich [Tue, 26 Feb 2008 19:43:00 +0000 (20:43 +0100)]
Re: interrupting system() with signal depends on signal handler
Message-ID:  <47C45DB4.9060306@gmx.net>

p4raw-id: //depot/perl@33408

14 years agofor -M:Foo, extended and revised
Robin Barker [Wed, 27 Feb 2008 19:19:54 +0000 (19:19 +0000)]
for -M:Foo, extended and revised
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093A61@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33407

14 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Sat, 1 Mar 2008 19:29:53 +0000 (20:29 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080301182953.GB16742@refcnt.homeunix.org>

p4raw-id: //depot/perl@33406

14 years agoUpdate to Module-Load-Conditional-0.26
Steve Peters [Sun, 2 Mar 2008 02:31:06 +0000 (02:31 +0000)]
Update to Module-Load-Conditional-0.26

p4raw-id: //depot/perl@33405

14 years agoSynchronize blead with changes from ExtUtils::Install 1.46
Yves Orton [Sat, 1 Mar 2008 14:40:16 +0000 (14:40 +0000)]
Synchronize blead with changes from ExtUtils::Install 1.46

Apply patches from Michael Schwern (rt #33688, rt #31429, rt #31248)
and from Slaven Rezic (rt #33290).  Also implemented the suggestion from
Schwern about not dieing when failing to remove a shadow file that is
later on in INC than the installed version. (rt #2928)

p4raw-id: //depot/perl@33404

14 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Fri, 29 Feb 2008 21:29:39 +0000 (22:29 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080229202939.GA16742@refcnt.homeunix.org>
Date: Fri, 29 Feb 2008 21:29:39 +0100

p4raw-id: //depot/perl@33403

14 years agoTypo in doc, found by Kornel Umann.
Rafael Garcia-Suarez [Sat, 1 Mar 2008 11:20:20 +0000 (11:20 +0000)]
Typo in doc, found by Kornel Umann.

p4raw-id: //depot/perl@33402

14 years agoMake ext/POSIX/t/sysconf.t use File::Spec->tmpdir() for pathconf/
Nicholas Clark [Fri, 29 Feb 2008 16:33:56 +0000 (16:33 +0000)]
Make ext/POSIX/t/sysconf.t use File::Spec->tmpdir() for pathconf/
fpathconf testing rather than ->curdir(), as the latter can be on
networked storage that fails the syscall (and the tests).

p4raw-id: //depot/perl@33401

14 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Fri, 8 Feb 2008 14:13:50 +0000 (15:13 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080208131350.GB22321@refcnt.homeunix.org>
Date: Fri, 8 Feb 2008 14:13:50 +0100

p4raw-id: //depot/perl@33400

14 years agoMore diagnostics for Fatal.pm
Slaven Rezic [Fri, 29 Feb 2008 11:29:31 +0000 (12:29 +0100)]
More diagnostics for Fatal.pm
Message-ID: <49601.89.247.126.95.1204280971.squirrel@mail.rezic.de>

plus version bump

p4raw-id: //depot/perl@33399

14 years agoContext fix to make the test pass
Rafael Garcia-Suarez [Fri, 29 Feb 2008 08:22:01 +0000 (08:22 +0000)]
Context fix to make the test pass

p4raw-id: //depot/perl@33398

14 years agoRe-apply change #32880
Steve Peters [Fri, 29 Feb 2008 05:39:42 +0000 (05:39 +0000)]
Re-apply change #32880
p4raw-link: @32880 on //depot/perl: 0fc92fc6bbe8a1e6ff117eca89462208ffcf7f5c

p4raw-id: //depot/perl@33397

14 years agoUpgrade to ExtUtils-MakeMaker-6.44
Steve Peters [Fri, 29 Feb 2008 05:09:27 +0000 (05:09 +0000)]
Upgrade to ExtUtils-MakeMaker-6.44

p4raw-id: //depot/perl@33396

14 years agoHmmm...lib/Test/Builder.pm didn't get updated corectly. Unfortunately,
Steve Peters [Fri, 29 Feb 2008 04:44:43 +0000 (04:44 +0000)]
Hmmm...lib/Test/Builder.pm didn't get updated corectly.  Unfortunately,
the tests didn't seem to catch this.

p4raw-id: //depot/perl@33395

14 years agoUpgrade to Test-Simple-0.78
Steve Peters [Fri, 29 Feb 2008 04:39:18 +0000 (04:39 +0000)]
Upgrade to Test-Simple-0.78

p4raw-id: //depot/perl@33394

14 years agoUpgrade to Test-Harness-3.10
Steve Peters [Fri, 29 Feb 2008 04:10:17 +0000 (04:10 +0000)]
Upgrade to Test-Harness-3.10

p4raw-id: //depot/perl@33393

14 years agoUpgrade to ExtUtils-ParseXS-2.19. There are several patches not
Steve Peters [Fri, 29 Feb 2008 03:38:46 +0000 (03:38 +0000)]
Upgrade to ExtUtils-ParseXS-2.19.  There are several patches not
in the CPAN version, so a version bump to 2.19_01 is in the core.

p4raw-id: //depot/perl@33392

14 years agoUpgrade to Test-Simple-0.75
Steve Peters [Fri, 29 Feb 2008 03:10:59 +0000 (03:10 +0000)]
Upgrade to Test-Simple-0.75

p4raw-id: //depot/perl@33391

14 years agoUse malloc_good_size() to round up the size of requested arenas to the
Nicholas Clark [Wed, 27 Feb 2008 19:11:12 +0000 (19:11 +0000)]
Use malloc_good_size() to round up the size of requested arenas to the
size that will actually be allocated, to squeeze last few bytes into
use.

p4raw-id: //depot/perl@33390

14 years agoAdd Perl_malloc_good_size to malloc.c. (A routine that rounds up the
Nicholas Clark [Wed, 27 Feb 2008 19:10:02 +0000 (19:10 +0000)]
Add Perl_malloc_good_size to malloc.c. (A routine that rounds up the
passed in request to the size that will actually be allocated. It's
the same interface as Darwin already provides with malloc_good_size().)

p4raw-id: //depot/perl@33389

14 years agoDo the memory debug header fixup earlier to avoid valgrind screaming
Nicholas Clark [Wed, 27 Feb 2008 16:45:20 +0000 (16:45 +0000)]
Do the memory debug header fixup earlier to avoid valgrind screaming
under -Dm. Also, temporarily disable memory logging during thread
memory freeing, as otherwise we try to log using memory we already
freed.

p4raw-id: //depot/perl@33388

14 years agothreads::shared 1.18
Jerry D. Hedden [Tue, 26 Feb 2008 11:29:54 +0000 (06:29 -0500)]
threads::shared 1.18
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802260829h306ea16by990af232dac22a82@mail.gmail.com>

p4raw-id: //depot/perl@33387

14 years agoFwd: CPAN Upload: Y/YV/YVES/ExtUtils-Install-1.45.tar.gz
Yves Orton [Wed, 27 Feb 2008 14:06:29 +0000 (15:06 +0100)]
Fwd: CPAN Upload: Y/YV/YVES/ExtUtils-Install-1.45.tar.gz
Message-ID: <9b18b3110802270506j6194cb4idefa42765d634c79@mail.gmail.com>

Upgrade to ExtUtils-Install-1.45 to fix [cpan #32813]

p4raw-id: //depot/perl@33386

14 years agoFix another Win32/VC6 compiler warning caused by #33231
Steve Hay [Wed, 27 Feb 2008 12:54:52 +0000 (12:54 +0000)]
Fix another Win32/VC6 compiler warning caused by #33231
(missed by #33336--this one only occurs in debug builds)

p4raw-id: //depot/perl@33385

14 years agoChange variable name to fix debug build with PERL_OLD_COPY_ON_WRITE
Steve Hay [Wed, 27 Feb 2008 12:29:36 +0000 (12:29 +0000)]
Change variable name to fix debug build with PERL_OLD_COPY_ON_WRITE

p4raw-id: //depot/perl@33384

14 years agoComment on why I don't think changing Perl_safesysmalloc_size() in av.c
Nicholas Clark [Wed, 27 Feb 2008 11:48:38 +0000 (11:48 +0000)]
Comment on why I don't think changing Perl_safesysmalloc_size() in av.c
analagous to the change in sv.c is a good idea. [It's not a language
design issue, so sadly I can't get a talk out of it. Or is that
fortunately? :-)]

p4raw-id: //depot/perl@33383

14 years agoFix preprocessor syntax
Rafael Garcia-Suarez [Wed, 27 Feb 2008 09:06:47 +0000 (09:06 +0000)]
Fix preprocessor syntax

p4raw-id: //depot/perl@33380

14 years agoIf the C library provides malloc_size(), we can use that in the same
Nicholas Clark [Tue, 26 Feb 2008 23:22:30 +0000 (23:22 +0000)]
If the C library provides malloc_size(), we can use that in the same
places as Perl's malloced_size(), except that we need to be careful of
any PERL_TRACK_MEMPOOL manipulations in force. Wrap both as
Perl_safesysmalloc_size(), to give a consistent name and interface.

p4raw-id: //depot/perl@33379

14 years agoIn Perl_sv_usepvn_flags(), with MYMALLOC, use the actual malloc()ed
Nicholas Clark [Tue, 26 Feb 2008 19:55:33 +0000 (19:55 +0000)]
In Perl_sv_usepvn_flags(), with MYMALLOC, use the actual malloc()ed
size for SvLEN(), rather than an estimate.

p4raw-id: //depot/perl@33378

14 years agoIf we have malloced_size() available, then avoid rounding up the string
Nicholas Clark [Tue, 26 Feb 2008 19:17:38 +0000 (19:17 +0000)]
If we have malloced_size() available, then avoid rounding up the string
to the next (guessed) plausible alignment size, and instead find out
how much memory was actually allocated, so that we can set this in the
scalar's SvLEN(). This way, sv_grow() will be called far less often.

p4raw-id: //depot/perl@33377

14 years agoChainsaw DEBUG_S out, as suggested by Vincent Pit.
Rafael Garcia-Suarez [Tue, 26 Feb 2008 13:13:18 +0000 (13:13 +0000)]
Chainsaw DEBUG_S out, as suggested by Vincent Pit.

p4raw-id: //depot/perl@33376

14 years agoTypo found by Roland Giersig
Rafael Garcia-Suarez [Tue, 26 Feb 2008 10:51:27 +0000 (10:51 +0000)]
Typo found by Roland Giersig

p4raw-id: //depot/perl@33375

14 years agoTidy up error messages
Rafael Garcia-Suarez [Tue, 26 Feb 2008 10:19:15 +0000 (10:19 +0000)]
Tidy up error messages

p4raw-id: //depot/perl@33374

14 years agoRe: making it easier not to get feedback
Vincent Pit [Tue, 26 Feb 2008 09:56:59 +0000 (10:56 +0100)]
Re: making it easier not to get feedback
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <1232.90.46.219.25.1204016219.squirrel@90.46.219.25>

p4raw-id: //depot/perl@33373

14 years agoDocument perlthanks
Rafael Garcia-Suarez [Tue, 26 Feb 2008 09:46:57 +0000 (09:46 +0000)]
Document perlthanks

p4raw-id: //depot/perl@33372

14 years agoAlso install perlbug as perlthanks, to make it easy for people to send
Nicholas Clark [Mon, 25 Feb 2008 23:29:33 +0000 (23:29 +0000)]
Also install perlbug as perlthanks, to make it easy for people to send
their appreciation to perl-thanks@perl.org.
It would be nice to get feedback other than bug reports.

p4raw-id: //depot/perl@33371

14 years agoSilence Borland compiler warnings (except for warnings from zlib) here:
Steve Hay [Mon, 25 Feb 2008 17:42:38 +0000 (17:42 +0000)]
Silence Borland compiler warnings (except for warnings from zlib) here:
http://www.nntp.perl.org/group/perl.daily-build.reports/2008/02/msg53937.html

p4raw-id: //depot/perl@33370

14 years agoEnsure that constant folding runs with IN_PERL_RUNTIME true, by copying
Nicholas Clark [Mon, 25 Feb 2008 12:48:22 +0000 (12:48 +0000)]
Ensure that constant folding runs with IN_PERL_RUNTIME true, by copying
the current compiling cop to a different address. This ensures that
lexical hints are correctly honoured, and allows us to fold sprintf.

p4raw-id: //depot/perl@33369

14 years agoTwo break; statements that aren't (yet) needed, but may trip someone up
Nicholas Clark [Mon, 25 Feb 2008 11:47:03 +0000 (11:47 +0000)]
Two break; statements that aren't (yet) needed, but may trip someone up
in the future.

p4raw-id: //depot/perl@33368

14 years agoAvoid a segfault case in MRO code, based on :
ilmari@vesla.ilmari.org [Thu, 21 Feb 2008 20:29:42 +0000 (12:29 -0800)]
Avoid a segfault case in MRO code, based on :

Subject: [perl #51092] [PATCH] Segfault when calling ->next::method on non-existing package
From: ilmari@vesla.ilmari.org (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-15287-1203654581-377.51092-75-0@perl.org>

p4raw-id: //depot/perl@33367

14 years agoRe: [PATCH] POD fixes
Vincent Pit [Sat, 23 Feb 2008 12:04:43 +0000 (13:04 +0100)]
Re: [PATCH] POD fixes
Message-ID: <47BFFDCB.60107@profvince.com>

p4raw-id: //depot/perl@33366

14 years agoRegenerate embed.h
Rafael Garcia-Suarez [Mon, 25 Feb 2008 08:04:14 +0000 (08:04 +0000)]
Regenerate embed.h

p4raw-id: //depot/perl@33365

14 years agoRe: [patch] optimize OP_IS_(FILETEST|SOCKET) macros
Jim Cromie [Sun, 10 Feb 2008 12:52:59 +0000 (05:52 -0700)]
Re: [patch] optimize OP_IS_(FILETEST|SOCKET) macros
From: "Jim Cromie" <jim.cromie@gmail.com>
Message-ID: <cfe85dfa0802101152n4e1b9e07pc7fb7ad9241a9794@mail.gmail.com>

p4raw-id: //depot/perl@33364

14 years agoB::Debug enhancements
Reini Urban [Fri, 22 Feb 2008 09:52:32 +0000 (10:52 +0100)]
B::Debug enhancements
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60802220052t3c1f1d91ne38b8ba6f6c56651@mail.gmail.com>

p4raw-id: //depot/perl@33363

14 years agoThread::Queue 2.06
Jerry D. Hedden [Fri, 22 Feb 2008 17:10:35 +0000 (12:10 -0500)]
Thread::Queue 2.06
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802221410r2ceda3deg6cd503f0037b0805@mail.gmail.com>

p4raw-id: //depot/perl@33362

14 years agoThread::Semaphore 2.07
Jerry D. Hedden [Fri, 22 Feb 2008 17:05:55 +0000 (12:05 -0500)]
Thread::Semaphore 2.07
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802221405w15277004u53e7e0a2d2603049@mail.gmail.com>

p4raw-id: //depot/perl@33361

14 years agothreads::shared 1.17
Jerry D. Hedden [Fri, 22 Feb 2008 16:31:02 +0000 (11:31 -0500)]
threads::shared 1.17
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802221331u48f85e8cg884c02a145dbee10@mail.gmail.com>

p4raw-id: //depot/perl@33360

14 years agothreads 1.69
Jerry D. Hedden [Fri, 22 Feb 2008 16:26:21 +0000 (11:26 -0500)]
threads 1.69
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510802221326ib73c7e5kf26ad87086ee113d@mail.gmail.com>

p4raw-id: //depot/perl@33359

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