16 years agoRename safer_rename() to rename_if_different(), to accurately describe
Nicholas Clark [Sat, 15 Mar 2008 18:37:34 +0000]
Rename safer_rename() to rename_if_different(), to accurately describe
what it does. Use File::Compare rather than Digest::MD5, as the files
are small enough to simply read in. (File::Compare dates from 5.004)
Remove safer_rename_always(), which isn't used.
DRY by replacing the cargo-culted "open or die" with a new function
safer_open(), which uses Gensym (5.002) to create an anonymous file
handle, and opens and binmodes the file, or dies.
This necessitates replacing bareword file handles with lexicals in all
the callers.
Correct the names of files in close or die constructions.

p4raw-id: //depot/perl@33538

16 years agoRe: [patch] refine make regen to be more selective
Jim Cromie [Tue, 11 Mar 2008 18:16:14 +0000]
Re: [patch] refine make regen to be more selective
   Message-ID: <47D720CE.7060004@gmail.com>
   Date: Tue, 11 Mar 2008 18:16:14 -0600

p4raw-id: //depot/perl@33537

16 years ago++$Pod::Html::VERSION
Nicholas Clark [Fri, 14 Mar 2008 17:33:17 +0000]
++$Pod::Html::VERSION

p4raw-id: //depot/perl@33534

16 years agoUpdate the use of single quotes to be consistent with the advice in
Nicholas Clark [Fri, 14 Mar 2008 15:13:43 +0000]
Update the use of single quotes to be consistent with the advice in
http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html

p4raw-id: //depot/perl@33531

16 years agoFix a couple of minor differences between the Encode 2.14 CPAN tarball
Nicholas Clark [Fri, 14 Mar 2008 00:12:20 +0000]
Fix a couple of minor differences between the Encode 2.14 CPAN tarball
and blead.

p4raw-id: //depot/perl@33523

16 years agoChange 33507 had a const too far (Perl_mg_dup()'s mg is assigned to).
Nicholas Clark [Thu, 13 Mar 2008 16:03:56 +0000]
Change 33507 had a const too far (Perl_mg_dup()'s mg is assigned to).

p4raw-id: //depot/perl@33508

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Wed, 12 Mar 2008 12:38:46 +0000]
Re: [PATCH] sv.c: consting
Message-ID: <20080312113846.GB31102@refcnt.homeunix.org>

p4raw-id: //depot/perl@33507

16 years ago[perl #51674] op/alarm.t hangs on 5.11.0 (Windows Vista only)
Robert May [Thu, 13 Mar 2008 19:36:33 +0000]
[perl #51674] op/alarm.t hangs on 5.11.0 (Windows Vista only)
From: "Robert May" <rob@themayfamily.me.uk>
Message-ID: <54bdc7510803130706q6523793ak1f3f1c6578fa97c1@mail.gmail.com>

p4raw-id: //depot/perl@33506

16 years agoUpgrade to Module::Pluggable 3.7
Nicholas Clark [Thu, 13 Mar 2008 13:02:05 +0000]
Upgrade to Module::Pluggable 3.7

p4raw-id: //depot/perl@33505

16 years agoCorrect two spelling mistakes, and reformat some comments.
Nicholas Clark [Thu, 13 Mar 2008 13:01:44 +0000]
Correct two spelling mistakes, and reformat some comments.

p4raw-id: //depot/perl@33504

16 years agoRegexp::DESTROY was only added in 5.8.1
Rafael Garcia-Suarez [Thu, 13 Mar 2008 10:43:13 +0000]
Regexp::DESTROY was only added in 5.8.1

p4raw-id: //depot/perl@33503

16 years agoOops. Change 33499 forgot to add the new Makefile.PL to the MANIFEST.
Nicholas Clark [Wed, 12 Mar 2008 19:40:01 +0000]
Oops. Change 33499 forgot to add the new Makefile.PL to the MANIFEST.

p4raw-id: //depot/perl@33500

16 years agoMove Module::Pluggable into ext/ as the next version has actions in its
Nicholas Clark [Wed, 12 Mar 2008 19:32:09 +0000]
Move Module::Pluggable into ext/ as the next version has actions in its
Makefile.PL that we will need to run as part of a core build.

p4raw-id: //depot/perl@33499

16 years agoChange 33492 did not spread the protection wide enough. There were
Nicholas Clark [Wed, 12 Mar 2008 19:09:21 +0000]
Change 33492 did not spread the protection wide enough. There were
still two more races to be lost.
1: The close() could still happen after the (premature) mutex release
   allowed another thread to dup() to that file descriptor.
2: The initial dup() could happen whilst another thread was in the
   mutex protected region, and had temporarily closed the file
   descriptor.
Race conditions remain with any other thread that actually does I/O
during the execution of the mutex protected region (as noted in a
comment), and dup() failure is not handled gracefully (also noted).

p4raw-id: //depot/perl@33498

16 years ago[perl #51636] segmentation fault with array ties
blino@mandriva.com [Wed, 12 Mar 2008 02:59:45 +0000]
[perl #51636] segmentation fault with array ties
From: blino@mandriva.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-25460-1205315984-377.51636-75-0@perl.org>

p4raw-id: //depot/perl@33495

16 years agoUpgrade to Encode-2.24
Steve Peters [Wed, 12 Mar 2008 14:20:49 +0000]
Upgrade to Encode-2.24

p4raw-id: //depot/perl@33493

16 years agoWe need mutex protection in PerlIOStdio_close() for the duration of
Nicholas Clark [Wed, 12 Mar 2008 12:23:55 +0000]
We need mutex protection in PerlIOStdio_close() for the duration of
holding our true love file handle open, to stop anything else
temporarily using it for a quick dup() fling, and then closing the
file handle underneath us.
I suspect that the lack of this protection was the cause of the threads
free.t and blocks.t failures on OS X on 5.8.x, where usefaststdio is
the default, and PerlIO is unable to "invalidate" the FILE *.

p4raw-id: //depot/perl@33492

16 years agoCorrect logic error in PerlIOStdio_close() - 0 is an acceptable value
Nicholas Clark [Wed, 12 Mar 2008 11:46:17 +0000]
Correct logic error in PerlIOStdio_close() - 0 is an acceptable value
from dup(), so it can't also be the "don't do anything later" value.

p4raw-id: //depot/perl@33491

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Tue, 11 Mar 2008 19:59:37 +0000]
Re: [PATCH] sv.c: consting
Message-ID: <20080311185937.GA18713@refcnt.homeunix.org>

p4raw-id: //depot/perl@33489

16 years agoCorrect misleading example in perlsyn.pod (given/when/default)
Paul Fenwick [Wed, 12 Mar 2008 13:19:15 +0000]
Correct misleading example in perlsyn.pod (given/when/default)
Message-ID: <47D73DA3.8050300@perltraining.com.au>

p4raw-id: //depot/perl@33488

16 years agocygwin hints back to old
Reini Urban [Wed, 12 Mar 2008 08:11:17 +0000]
cygwin hints back to old
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60803120011y4ff1d1f0x5654906570dc19ab@mail.gmail.com>

Revert a part of blead patch #33357
* no cpu. revert the archname part of patch #33357
  to the old behaviour.

p4raw-id: //depot/perl@33487

16 years agoAn unfortunate side-effect of Encode and Encode::Alias use'ing each
Rafael Garcia-Suarez [Wed, 12 Mar 2008 08:50:11 +0000]
An unfortunate side-effect of Encode and Encode::Alias use'ing each
other, and Encode::Alias exporting functions into Encode for it to use
as methods, broke the loading of the find_alias() Encode method in some
cases since 5.10. Breaking the recursive inheritance fixes it.

p4raw-id: //depot/perl@33486

16 years agoAdd characters that VOS forbids in filenames, mentioned by Paul Green
Nicholas Clark [Tue, 11 Mar 2008 22:28:09 +0000]
Add characters that VOS forbids in filenames, mentioned by Paul Green
in private correspondence.

p4raw-id: //depot/perl@33485

16 years agoRe: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
Reini Urban [Sat, 8 Mar 2008 20:55:36 +0000]
Re: Perl @ www.ccl4.org/~nick/P/perl-33444.tar.bz2
Message-ID: <47D2EF38.10503@x-ray.at>

* CYG10 improve Win32::GetLastError test

p4raw-id: //depot/perl@33482

16 years agoRe: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
Reini Urban [Sat, 8 Mar 2008 20:55:36 +0000]
Re: Perl @ www.ccl4.org/~nick/P/perl-33444.tar.bz2
Message-ID: <47D2EF38.10503@x-ray.at>

* CYG04 At least on cygwin strip the last number
    from the dll. This is in the cygwin.com build since years.

p4raw-id: //depot/perl@33481

16 years agoRe: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
Reini Urban [Sat, 8 Mar 2008 20:55:36 +0000]
Re: Perl @ www.ccl4.org/~nick/P/perl-33444.tar.bz2
Message-ID: <47D2EF38.10503@x-ray.at>

CYG09 enhance GetCurrentThreadId test

p4raw-id: //depot/perl@33480

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Tue, 11 Mar 2008 11:49:30 +0000]
Re: [PATCH] sv.c: consting
Message-ID: <20080311104929.GA4950@refcnt.homeunix.org>

p4raw-id: //depot/perl@33473

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Sun, 2 Mar 2008 22:09:51 +0000]
Re: [PATCH] sv.c: consting
Message-ID: <20080302210951.GD10705@refcnt.homeunix.org>

p4raw-id: //depot/perl@33471

16 years agoRe: [PATCH] make Archive::Extract's x.lzma test file be lzma'd,
Yitzchak Scott-Thoennes [Tue, 4 Mar 2008 00:28:34 +0000]
Re: [PATCH] make Archive::Extract's x.lzma test file be lzma'd,
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <52329.71.32.86.11.1204619314.squirrel@webmail.efn.org>

p4raw-id: //depot/perl@33470

16 years agoRe-apply part of #33370 to Time::Piece
Rafael Garcia-Suarez [Mon, 10 Mar 2008 21:50:24 +0000]
Re-apply part of #33370 to Time::Piece

p4raw-id: //depot/perl@33469

16 years agoUpgrade to Time::Piece 1.13
Rafael Garcia-Suarez [Mon, 10 Mar 2008 21:48:45 +0000]
Upgrade to Time::Piece 1.13

p4raw-id: //depot/perl@33468

16 years agoRe: [PATCH] MAD fix p55 $[
Gerard Goossen [Mon, 10 Mar 2008 15:44:03 +0000]
Re: [PATCH] MAD fix p55 $[
Message-ID: <20080310144403.GC28994@ostwald>

p4raw-id: //depot/perl@33467

16 years agoMAD update list of failures in mad/t/p55.t
Gerard Goossen [Mon, 10 Mar 2008 15:17:08 +0000]
MAD update list of failures in mad/t/p55.t
Message-ID: <20080310141708.GA28994@ostwald>

p4raw-id: //depot/perl@33466

16 years agoSilence warning from VC++ following #33447
Steve Hay [Mon, 10 Mar 2008 17:37:30 +0000]
Silence warning from VC++ following #33447
(not all control paths return a value)

p4raw-id: //depot/perl@33463

16 years agoAdd investigating arenas for GP and MAGIC to perltodo.
Nicholas Clark [Mon, 10 Mar 2008 14:48:29 +0000]
Add investigating arenas for GP and MAGIC to perltodo.

p4raw-id: //depot/perl@33462

16 years agoUpgrade to ExtUtils-Install-1.50
Steve Hay [Mon, 10 Mar 2008 13:58:15 +0000]
Upgrade to ExtUtils-Install-1.50

p4raw-id: //depot/perl@33460

16 years agoRe: [PATCH] mg_magical() sometimes turns SvRMAGICAL on when it shouldn't
Vincent Pit [Fri, 8 Feb 2008 23:22:19 +0000]
Re: [PATCH] mg_magical() sometimes turns SvRMAGICAL on when it shouldn't
Message-ID: <47ACD61B.6030501@profvince.com>

p4raw-id: //depot/perl@33458

16 years agocount-only transliteration needlessly makes copy-on-write
Yitzchak Scott-Thoennes [Tue, 4 Mar 2008 16:54:29 +0000]
count-only transliteration needlessly makes copy-on-write
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <47935.71.32.86.11.1204678469.squirrel@webmail.efn.org>

p4raw-id: //depot/perl@33457

16 years agocheckAUTHORS.pl update for me
Michael G. Schwern [Sun, 9 Mar 2008 00:35:48 +0000]
checkAUTHORS.pl update for me
Message-ID: <47D322D4.8090508@pobox.com>

p4raw-id: //depot/perl@33456

16 years agoTypo Fix
chromatic [Sat, 8 Mar 2008 14:08:30 +0000]
Typo Fix
Message-Id: <200803081408.30766.chromatic@wgz.org>

p4raw-id: //depot/perl@33455

16 years agoPerl_croak_nocontext() is called with NULL indirectly from
Steve Peters [Sat, 8 Mar 2008 15:13:26 +0000]
Perl_croak_nocontext() is called with NULL indirectly from
some XS-based modules.

p4raw-id: //depot/perl@33453

16 years agoAssert that the av argument to all the av_*() functions is an array.
Nicholas Clark [Sat, 8 Mar 2008 11:20:28 +0000]
Assert that the av argument to all the av_*() functions is an array.

p4raw-id: //depot/perl@33452

16 years agoOn VMS, don't call flex_stat from my_flush as the latter may be
Craig A. Berry [Fri, 7 Mar 2008 13:48:58 +0000]
On VMS, don't call flex_stat from my_flush as the latter may be
called during global destruction and the former checks hints flags
that depend on the interpreter's still existing.

p4raw-id: //depot/perl@33451

16 years agoSilence warning introduced by #32703 when building with MYMALLOC
Steve Hay [Thu, 6 Mar 2008 18:02:22 +0000]
Silence warning introduced by #32703 when building with MYMALLOC

p4raw-id: //depot/perl@33450

16 years agoSilence some warnings on Win32 with VC6
Steve Hay [Thu, 6 Mar 2008 13:29:56 +0000]
Silence some warnings on Win32 with VC6

VC7 onwards didn't seem to mind (perhaps thanks to #33411):
http://www.nntp.perl.org/group/perl.daily-build.reports/2008/03/msg54118.html
but VC6 wasn't happy:
http://www.nntp.perl.org/group/perl.daily-build.reports/2008/03/msg54099.html

p4raw-id: //depot/perl@33448

16 years agoRefactoring the /Can't return (?:array|hash) to scalar context/ croak
Nicholas Clark [Thu, 6 Mar 2008 11:08:24 +0000]
Refactoring the /Can't return (?:array|hash) to scalar context/ croak
logic in pp_rv2av into one place saves 112 bytes here.

p4raw-id: //depot/perl@33447

16 years agoBring the joy of strict to ext/B/t/lint.t.
Nicholas Clark [Wed, 5 Mar 2008 17:00:34 +0000]
Bring the joy of strict to ext/B/t/lint.t.

p4raw-id: //depot/perl@33445

16 years agoBetter line diagnostics - runlint's caller rather than runlint itself.
Nicholas Clark [Wed, 5 Mar 2008 11:58:58 +0000]
Better line diagnostics - runlint's caller rather than runlint itself.

p4raw-id: //depot/perl@33442

16 years agoFix skip counts introduced in #33433
Steve Hay [Wed, 5 Mar 2008 09:08:00 +0000]
Fix skip counts introduced in #33433

p4raw-id: //depot/perl@33440

16 years agoBump VERSION after change #33416
Rafael Garcia-Suarez [Wed, 5 Mar 2008 09:07:33 +0000]
Bump VERSION after change #33416
(so we don't end up with different code but same version in
5.10.0 and, say, 5.10.1)
p4raw-link: @33416 on //depot/perl: 5dd54fb4257bccaa223fa7d57413e664e9bb3c2c

p4raw-id: //depot/perl@33439

16 years ago*Really* add nv_overflows_integers_at to the VMS configuration
Craig A. Berry [Wed, 5 Mar 2008 03:14:28 +0000]
*Really* add nv_overflows_integers_at to the VMS configuration
as 33431 should have done (and would have if I'd remembered to
remove --dry-run from the patch command).

p4raw-id: //depot/perl@33438

16 years agoThree variables in S_scan_trans only hold flags for op_private, so can
Nicholas Clark [Tue, 4 Mar 2008 19:59:20 +0000]
Three variables in S_scan_trans only hold flags for op_private, so can
be U8.

p4raw-id: //depot/perl@33437

16 years ago[perl #50538] when( @n && %n ) fails to smart match
brian d foy [Mon, 4 Feb 2008 19:36:01 +0000]
[perl #50538] when( @n && %n ) fails to smart match
From: "brian d foy" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-4355-1202182561-1550.50538-75-0@perl.org>

Updated tests in ticket to become TODO tests

p4raw-id: //depot/perl@33434

16 years agouse strict; and use Test::More; to give decent failure diagnostics.
Nicholas Clark [Tue, 4 Mar 2008 17:14:30 +0000]
use strict; and use Test::More; to give decent failure diagnostics.
(And less code)

p4raw-id: //depot/perl@33433

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

p4raw-id: //depot/perl@33431

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

p4raw-id: //depot/perl@33423

16 years agoRe: [PATCH] NEXT.pm bug within overloaded stringification
Marcel GrĂ¼nauer [Mon, 3 Mar 2008 16:08:48 +0000]
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

16 years ago[perl #46957] [PATCH] make Devel::Peek::mstat always available
srezic@cpan.org [Sat, 27 Oct 2007 11:33:57 +0000]
[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

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Sun, 2 Mar 2008 20:10:29 +0000]
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

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

p4raw-id: //depot/perl@33410

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

p4raw-id: //depot/perl@33409

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

p4raw-id: //depot/perl@33408

16 years agofor -M:Foo, extended and revised
Robin Barker [Wed, 27 Feb 2008 19:19:54 +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

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

p4raw-id: //depot/perl@33406

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

p4raw-id: //depot/perl@33405

16 years agoSynchronize blead with changes from ExtUtils::Install 1.46
Yves Orton [Sat, 1 Mar 2008 14:40:16 +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

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Fri, 29 Feb 2008 21:29:39 +0000]
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

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

p4raw-id: //depot/perl@33402

16 years agoMake ext/POSIX/t/sysconf.t use File::Spec->tmpdir() for pathconf/
Nicholas Clark [Fri, 29 Feb 2008 16:33:56 +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

16 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Fri, 8 Feb 2008 14:13:50 +0000]
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

16 years agoMore diagnostics for Fatal.pm
Slaven Rezic [Fri, 29 Feb 2008 11:29:31 +0000]
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

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

p4raw-id: //depot/perl@33398

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

p4raw-id: //depot/perl@33397

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

p4raw-id: //depot/perl@33396

16 years agoHmmm...lib/Test/Builder.pm didn't get updated corectly. Unfortunately,
Steve Peters [Fri, 29 Feb 2008 04:44:43 +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

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

p4raw-id: //depot/perl@33394

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

p4raw-id: //depot/perl@33393

16 years agoUpgrade to ExtUtils-ParseXS-2.19. There are several patches not
Steve Peters [Fri, 29 Feb 2008 03:38:46 +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

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

p4raw-id: //depot/perl@33391

16 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]
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

16 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]
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

16 years agoDo the memory debug header fixup earlier to avoid valgrind screaming
Nicholas Clark [Wed, 27 Feb 2008 16:45:20 +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

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

p4raw-id: //depot/perl@33387

16 years agoFwd: CPAN Upload: Y/YV/YVES/ExtUtils-Install-1.45.tar.gz
Yves Orton [Wed, 27 Feb 2008 14:06:29 +0000]
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

16 years agoFix another Win32/VC6 compiler warning caused by #33231
Steve Hay [Wed, 27 Feb 2008 12:54:52 +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

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

p4raw-id: //depot/perl@33384

16 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]
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

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

p4raw-id: //depot/perl@33380

16 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]
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

16 years agoIn Perl_sv_usepvn_flags(), with MYMALLOC, use the actual malloc()ed
Nicholas Clark [Tue, 26 Feb 2008 19:55:33 +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

16 years agoIf we have malloced_size() available, then avoid rounding up the string
Nicholas Clark [Tue, 26 Feb 2008 19:17:38 +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

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

p4raw-id: //depot/perl@33376

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

p4raw-id: //depot/perl@33375

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

p4raw-id: //depot/perl@33374

16 years agoRe: making it easier not to get feedback
Vincent Pit [Tue, 26 Feb 2008 09:56:59 +0000]
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

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

p4raw-id: //depot/perl@33372

16 years agoAlso install perlbug as perlthanks, to make it easy for people to send
Nicholas Clark [Mon, 25 Feb 2008 23:29:33 +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

16 years agoSilence Borland compiler warnings (except for warnings from zlib) here:
Steve Hay [Mon, 25 Feb 2008 17:42:38 +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

16 years agoEnsure that constant folding runs with IN_PERL_RUNTIME true, by copying
Nicholas Clark [Mon, 25 Feb 2008 12:48:22 +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

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

p4raw-id: //depot/perl@33368