This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years agoA macro used only once isn't a typing saving, and 3 macro definitions
Nicholas Clark [Sun, 6 Apr 2008 20:27:34 +0000 (20:27 +0000)]
A macro used only once isn't a typing saving, and 3 macro definitions
never used are more obfuscation than clarification, so inline the only
use of SAVECOPLABEL_FREE(), and remove the unthreaded variant and
both SAVECOPLABEL()s. Exterminate! Exterminate! Exterminate!

p4raw-id: //depot/perl@33654

13 years agoReplace all remaining accesses to COP's cop_label with CopLABEL().
Nicholas Clark [Sun, 6 Apr 2008 20:11:52 +0000 (20:11 +0000)]
Replace all remaining accesses to COP's cop_label with CopLABEL().

p4raw-id: //depot/perl@33653

13 years agoAdd attempting Exterminate! cop_label to perltodo.
Nicholas Clark [Sun, 6 Apr 2008 19:32:03 +0000 (19:32 +0000)]
Add attempting Exterminate! cop_label to perltodo.

p4raw-id: //depot/perl@33652

13 years agoRe: [PATCH][NUDGE] Documentation fix for perlfunc/shutdown
Paul Fenwick [Mon, 31 Mar 2008 22:53:04 +0000 (09:53 +1100)]
Re: [PATCH][NUDGE] Documentation fix for perlfunc/shutdown
Message-ID: <47F0D0A0.8010801@perltraining.com.au>

p4raw-id: //depot/perl@33651

13 years agoperlfunc.pod: atan2(0,0) returns 0, not undef
Paul Fenwick [Sun, 6 Apr 2008 11:28:27 +0000 (21:28 +1000)]
perlfunc.pod: atan2(0,0) returns 0, not undef
Message-ID: <47F8273B.6010504@perltraining.com.au>

p4raw-id: //depot/perl@33650

13 years agoMissed updated a test description, as spotted by vincent.
Nicholas Clark [Sun, 6 Apr 2008 09:29:24 +0000 (09:29 +0000)]
Missed updated a test description, as spotted by vincent.

p4raw-id: //depot/perl@33649

13 years agoUCD 5.1.0
Nicholas Clark [Sat, 5 Apr 2008 13:03:18 +0000 (13:03 +0000)]
UCD 5.1.0

p4raw-id: //depot/perl@33648

13 years agoTru64: align fp policies of gcc and cc
Jarkko Hietaniemi [Sat, 5 Apr 2008 04:16:17 +0000 (07:16 +0300)]
Tru64: align fp policies of gcc and cc
Message-Id: <200804050116.m351GH5P042062@kosh.hut.fi>

p4raw-id: //depot/perl@33647

13 years agoRun overload.pl from regen.pl, and check overload.c as well as overload.h
Steve Hay [Fri, 4 Apr 2008 08:28:11 +0000 (08:28 +0000)]
Run overload.pl from regen.pl, and check overload.c as well as overload.h

p4raw-id: //depot/perl@33646

13 years agoMake PL_AMG_names and PL_AMG_namelens static
Jan Dubois [Thu, 3 Apr 2008 18:50:08 +0000 (11:50 -0700)]
Make PL_AMG_names and PL_AMG_namelens static

From: "Jan Dubois" <jand@activestate.com>
Message-ID: <02c401c895f6$369e8130$a3db8390$@com>

p4raw-id: //depot/perl@33645

13 years agoPL_bincompat_opt should be exported on AIX and Windows
Jan Dubois [Thu, 3 Apr 2008 17:34:13 +0000 (10:34 -0700)]
PL_bincompat_opt should be exported on AIX and Windows

From: "Jan Dubois" <jand@activestate.com>
Message-ID: <02c001c895eb$9bc3e920$d34bbb60$@com>

(with one tweak--it should be PL_bincompat_options!)

p4raw-id: //depot/perl@33644

13 years agoPack lib/CGI/t/upload_post_text.txt with uupacktool.pl. (It contains a
Nicholas Clark [Thu, 3 Apr 2008 17:14:51 +0000 (17:14 +0000)]
Pack lib/CGI/t/upload_post_text.txt with uupacktool.pl. (It contains a
GIF, which clearly isn't text)

p4raw-id: //depot/perl@33643

13 years agoClean up some compiler warnings spotted by smokers.
Nicholas Clark [Thu, 3 Apr 2008 15:41:26 +0000 (15:41 +0000)]
Clean up some compiler warnings spotted by smokers.

p4raw-id: //depot/perl@33639

13 years agoIn Perl_sv_grow(), no need to do PERL_STRLEN_ROUNDUP() if we have
Nicholas Clark [Wed, 2 Apr 2008 21:03:33 +0000 (21:03 +0000)]
In Perl_sv_grow(), no need to do PERL_STRLEN_ROUNDUP() if we have
malloc_size() to get the true allocated space, as PERL_STRLEN_ROUNDUP()
might actually bump the request across an allocation size boundary.

p4raw-id: //depot/perl@33632

13 years agoRe: Change 33598: [PATCH] Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1...
Jerry D. Hedden [Wed, 2 Apr 2008 13:45:26 +0000 (09:45 -0400)]
Re: Change 33598: [PATCH] Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510804021045s1f7ec22ftbf5b9e2f2c6c619e@mail.gmail.com>

p4raw-id: //depot/perl@33631

13 years agoFix bug in change 33379 - if we're using malloc_size() as well as being
Nicholas Clark [Wed, 2 Apr 2008 18:23:58 +0000 (18:23 +0000)]
Fix bug in change 33379 - if we're using malloc_size() as well as being
careful to work with PERL_TRACK_MEMPOOL, we also have to be careful to
work *without* it.

p4raw-id: //depot/perl@33629

13 years agoDefine sv_insert() as a wrapper to sv_insert_flags(), and move
Nicholas Clark [Tue, 1 Apr 2008 19:59:54 +0000 (19:59 +0000)]
Define sv_insert() as a wrapper to sv_insert_flags(), and move
Perl_sv_insert() to mathoms.c

p4raw-id: //depot/perl@33627

13 years agoAdd the correct argument assertion macro to sv_insert_flags().
Nicholas Clark [Tue, 1 Apr 2008 18:47:01 +0000 (18:47 +0000)]
Add the correct argument assertion macro to sv_insert_flags().
Don't want anything wrongly marked as non-NULL slipping through.

p4raw-id: //depot/perl@33626

13 years agoUpgrade to Win32-0.35
Steve Hay [Tue, 1 Apr 2008 16:42:04 +0000 (16:42 +0000)]
Upgrade to Win32-0.35

p4raw-id: //depot/perl@33625

13 years agoModule::CoreList wasn't listing Config.pm everywhere.
Rafael Garcia-Suarez [Tue, 1 Apr 2008 09:38:03 +0000 (09:38 +0000)]
Module::CoreList wasn't listing Config.pm everywhere.

p4raw-id: //depot/perl@33624

13 years ago$VERSION++ for all the non-dual life modules outside ext/ that
Nicholas Clark [Mon, 31 Mar 2008 23:08:45 +0000 (23:08 +0000)]
$VERSION++ for all the non-dual life modules outside ext/ that
Porting/cmpVERSION.pl reports differ from the 5.10.0 release.

All the rest of the differences would seem to be dual-life. :-(

p4raw-id: //depot/perl@33623

13 years agoFix bug in the code for --opened - it was not working on blead.
Nicholas Clark [Mon, 31 Mar 2008 22:33:36 +0000 (22:33 +0000)]
Fix bug in the code for --opened - it was not working on blead.

p4raw-id: //depot/perl@33622

13 years ago$VERSION++ for all the non-dual life modules in ext/ that
Nicholas Clark [Mon, 31 Mar 2008 22:25:19 +0000 (22:25 +0000)]
$VERSION++ for all the non-dual life modules in ext/ that
Porting/cmpVERSION.pl reports differ from the 5.10.0 release.

p4raw-id: //depot/perl@33621

13 years agoDouble magic with substr
Vincent Pit [Mon, 31 Mar 2008 19:05:44 +0000 (21:05 +0200)]
Double magic with substr
Message-ID: <47F119E8.5010106@profvince.com>

p4raw-id: //depot/perl@33618

13 years agoConfig.pm needs to be listed in Module::CoreList, too
Rafael Garcia-Suarez [Mon, 31 Mar 2008 15:21:42 +0000 (15:21 +0000)]
Config.pm needs to be listed in Module::CoreList, too

p4raw-id: //depot/perl@33612

13 years agoGive DynaLoader a non-dev version number.
Nicholas Clark [Sun, 30 Mar 2008 23:19:29 +0000 (23:19 +0000)]
Give DynaLoader a non-dev version number.

p4raw-id: //depot/perl@33609

13 years agoadd -v to regen.pl and friends
Robin Barker [Wed, 19 Mar 2008 10:55:59 +0000 (10:55 +0000)]
add -v to regen.pl and friends
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093AA6@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33608

13 years agodetecting Configure test goofs (Was Re: branch prediction hints)
Nicholas Clark [Mon, 24 Mar 2008 16:35:09 +0000 (16:35 +0000)]
detecting Configure test goofs (Was Re: branch prediction hints)
Message-ID: <20080324163509.GW79799@plum.flirble.org>

p4raw-id: //depot/perl@33606

13 years agoGDBM_File isn't dual life, so no need for a dev module version number.
Nicholas Clark [Sat, 29 Mar 2008 16:15:52 +0000 (16:15 +0000)]
GDBM_File isn't dual life, so no need for a dev module version number.

p4raw-id: //depot/perl@33601

13 years agoRe: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)
Dominic Dunlop [Tue, 11 Mar 2008 21:54:04 +0000 (22:54 +0100)]
Re: Smoke [5.11.0] 33456 PASS darwin 9.2.0 (macppcG5/1 cpu)
Message-Id: <3B7752C8-D5A2-452C-B3E0-C453FFCBCAFA@mac.com>

[but rename ******* to i_mallocmalloc.U, and then fix up all the files
that Porting/checkcfgvar.pl says need i_mallocmalloc declared]

p4raw-id: //depot/perl@33598

13 years agoAdd i_syspoll to all the pre-canned configs.
Nicholas Clark [Sat, 29 Mar 2008 11:08:07 +0000 (11:08 +0000)]
Add i_syspoll to all the pre-canned configs.

p4raw-id: //depot/perl@33597

13 years agoFix compiler warning about comparison of pointer types.
Nicholas Clark [Sat, 29 Mar 2008 07:08:50 +0000 (07:08 +0000)]
Fix compiler warning about comparison of pointer types.

p4raw-id: //depot/perl@33596

13 years agodo not use SVTYPEMASK to prevent cleaning of PL_fdpid and PL_strtab
Gerard Goossen [Wed, 26 Mar 2008 14:07:13 +0000 (15:07 +0100)]
do not use SVTYPEMASK to prevent cleaning of PL_fdpid and PL_strtab
Message-ID: <20080326130713.GL4409@ostwald>
Date: Wed, 26 Mar 2008 14:07:13 +0100

p4raw-id: //depot/perl@33595

13 years agoRe: Tests failed on PPC64
Dominic Dunlop [Fri, 14 Mar 2008 14:45:39 +0000 (15:45 +0100)]
Re: Tests failed on PPC64
Message-Id: <53E6407E-B87C-4D6A-A6E7-D842BDF30292@mac.com>
Date: Fri, 14 Mar 2008 14:45:39 +0100

p4raw-id: //depot/perl@33594

13 years agoAdditional CGI.pm test files that got missed at some point.
Steve Peters [Fri, 28 Mar 2008 19:16:53 +0000 (19:16 +0000)]
Additional CGI.pm test files that got missed at some point.

p4raw-id: //depot/perl@33592

13 years agoMake the nv_preserves... checking on VMS more robust (and more like
Craig A. Berry [Fri, 28 Mar 2008 19:06:35 +0000 (19:06 +0000)]
Make the nv_preserves... checking on VMS more robust (and more like
what Configure does).  Problem using long int without long double
reported by Jeremy Begg.

p4raw-id: //depot/perl@33591

13 years agoMake uudmap.h dependencies more explicit in the VMS build
Craig A. Berry [Fri, 28 Mar 2008 19:01:13 +0000 (19:01 +0000)]
Make uudmap.h dependencies more explicit in the VMS build
(needed by MMS but not MMK).

p4raw-id: //depot/perl@33589

13 years agoMAD dump xml escape regex
Gerard Goossen [Thu, 27 Mar 2008 13:55:31 +0000 (14:55 +0100)]
MAD dump xml escape regex
Message-ID: <20080327125531.GN4409@ostwald>

p4raw-id: //depot/perl@33584

13 years agoDB_File 1.817
Paul Marquess [Thu, 27 Mar 2008 11:12:22 +0000 (11:12 +0000)]
DB_File 1.817
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <051d01c88ffb$6f662eb0$6901a8c0@myopwv.com>

p4raw-id: //depot/perl@33583

13 years agoThe offset for pos is stored as bytes, and converted to (Unicode)
Nicholas Clark [Wed, 26 Mar 2008 21:05:20 +0000 (21:05 +0000)]
The offset for pos is stored as bytes, and converted to (Unicode)
character position when read, if needed. The code for setting pos
inside subst was incorrectly converting to character position before
storing the value. This code appears to have been buggy since it was
added in 2000 in change 7562.

p4raw-id: //depot/perl@33580

13 years agoDon't call S_utf8_mg_pos_cache_update(), and hence don't even create
Nicholas Clark [Wed, 26 Mar 2008 18:59:03 +0000 (18:59 +0000)]
Don't call S_utf8_mg_pos_cache_update(), and hence don't even create
the magic for the UTF-8 cache, if the UTF-8 caching is disabled.

p4raw-id: //depot/perl@33579

13 years agoUpdate makemeta to add the 3 official "resources" - homepage, license
Nicholas Clark [Wed, 26 Mar 2008 18:38:10 +0000 (18:38 +0000)]
Update makemeta to add the 3 official "resources" - homepage, license
and bugtracker.

p4raw-id: //depot/perl@33578

13 years agoRe-run Porting/makemeta
Nicholas Clark [Wed, 26 Mar 2008 18:37:15 +0000 (18:37 +0000)]
Re-run Porting/makemeta

p4raw-id: //depot/perl@33577

13 years agoWith change 33252, MM_Unix.pm isn't quite in sync with upstream any
Nicholas Clark [Wed, 26 Mar 2008 16:50:06 +0000 (16:50 +0000)]
With change 33252, MM_Unix.pm isn't quite in sync with upstream any
more. Of the changes references in 33252, 6.44 accepted and improved
change 32879 (grep in void context), so only changes 32905 and 32964
are outstanding (ABSPERL with whitespace).

p4raw-id: //depot/perl@33575

13 years agoFix whitespace difference between blead and upstream in MM_Unix.pm
Nicholas Clark [Wed, 26 Mar 2008 16:20:11 +0000 (16:20 +0000)]
Fix whitespace difference between blead and upstream in MM_Unix.pm

p4raw-id: //depot/perl@33573

13 years agoActually use the computed @path so as to write the awkwardly named test
Nicholas Clark [Wed, 26 Mar 2008 11:45:12 +0000 (11:45 +0000)]
Actually use the computed @path so as to write the awkwardly named test
files to the right place when in core. Without this the open fails
(silently as intended) and the tests are skipped on all OS.

p4raw-id: //depot/perl@33571

13 years agoRe: [PATCH] perlhack.pod update walkthrough
Leon Brocard [Wed, 26 Mar 2008 10:53:43 +0000 (10:53 +0000)]
Re: [PATCH] perlhack.pod update walkthrough
From: "Leon Brocard" <acme@astray.com>
Message-ID: <a92222c80803260353k6cae53eieea909aed0a967b5@mail.gmail.com>

p4raw-id: //depot/perl@33570

13 years agoTypo Fixes
chromatic [Wed, 26 Mar 2008 00:12:09 +0000 (17:12 -0700)]
Typo Fixes
Message-Id: <200803260012.09967.chromatic@wgz.org>

p4raw-id: //depot/perl@33569

13 years agoUpgrade to CGI-3.35.
Steve Peters [Wed, 26 Mar 2008 03:18:01 +0000 (03:18 +0000)]
Upgrade to CGI-3.35.

p4raw-id: //depot/perl@33568

13 years agoPatches for VMS by Craig Berry from
Nicholas Clark [Tue, 25 Mar 2008 16:55:03 +0000 (16:55 +0000)]
Patches for VMS by Craig Berry from
http://rt.cpan.org/Public/Bug/Display.html?id=34095
(1.50 has 3 failures on VMS)

p4raw-id: //depot/perl@33567

13 years agoRE: [PATCH revised] Fix ExtUtils::Install under Cygwin
Steve Hay [Mon, 17 Mar 2008 14:36:54 +0000 (14:36 +0000)]
RE: [PATCH revised] Fix ExtUtils::Install under Cygwin
From: "Steve Hay" <SteveHay@planit.com>
Message-ID: <1B32FF956ABF414C9BCE5E487A1497E70176BD61@ukmail02.planit.group>

"OK, so how about the attached. This fixes up -w for all compilers so
 that it is symmetrical with chmod(), and adds a note to perltodo on
 fixing POSIX::access() and chdir()."

The whole long thread started here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-03/msg00056.html

p4raw-id: //depot/perl@33566

13 years agoRe: Change 33556: [PATCH] borg parent.pm
Jerry D. Hedden [Tue, 25 Mar 2008 11:51:00 +0000 (07:51 -0400)]
Re: Change 33556: [PATCH] borg parent.pm
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510803250851w52ea0c84n9876834d8e8b79e3@mail.gmail.com>

p4raw-id: //depot/perl@33565

13 years agoUpgrade to CGI.pm-3.34. There are still a few differences, so adding
Steve Peters [Tue, 25 Mar 2008 15:27:06 +0000 (15:27 +0000)]
Upgrade to CGI.pm-3.34.  There are still a few differences, so adding
a version bump.

p4raw-id: //depot/perl@33564

13 years agoRepeat change 33508 - change 33561 re-instated the mistake in change
Nicholas Clark [Tue, 25 Mar 2008 11:36:22 +0000 (11:36 +0000)]
Repeat change 33508 - change 33561 re-instated the mistake in change
33507.

p4raw-id: //depot/perl@33563

13 years ago"646"
Jarkko Hietaniemi [Wed, 12 Mar 2008 21:43:53 +0000 (17:43 -0400)]
"646"
Message-ID: <47D886D9.6060001@iki.fi>

Encode::Alias fix for encoding "646" (aka ASCII) on Solaris

p4raw-id: //depot/perl@33562

13 years agoRe: [PATCH] sv.c: consting
Steven Schubiger [Thu, 13 Mar 2008 17:58:00 +0000 (18:58 +0100)]
Re: [PATCH] sv.c: consting
Message-ID: <20080313165800.GD31102@refcnt.homeunix.org>

p4raw-id: //depot/perl@33561

13 years agoUse sv_setpvs() like a few lines before since change #33557
Rafael Garcia-Suarez [Tue, 25 Mar 2008 09:52:27 +0000 (09:52 +0000)]
Use sv_setpvs() like a few lines before since change #33557
p4raw-link: @33557 on //depot/perl: 502d9230ec570254fed51ae721c1da50944a5cbf

p4raw-id: //depot/perl@33560

13 years ago[perl #51964] Typo on regular expression at perlopentut manual page.
pancho@pancho.name [Fri, 21 Mar 2008 03:31:04 +0000 (20:31 -0700)]
[perl #51964] Typo on regular expression at perlopentut manual page.
From: pancho@pancho.name (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-25460-1206095463-311.51964-75-0@perl.org>

p4raw-id: //depot/perl@33559

13 years agoRe: local $@ has an unwanted side effect
David Nicol [Fri, 21 Mar 2008 12:56:12 +0000 (07:56 -0500)]
Re: local $@ has an unwanted side effect
From: "David Nicol" <davidnicol@gmail.com>
Message-ID: <934f64a20803211056q5148027ava77af36f51c96418@mail.gmail.com>

(with Tim Bunce's amendments)

p4raw-id: //depot/perl@33558

13 years agoRe: [PATCH] Double warning with perl -we 'my $a; substr $a, 0, 10,
Vincent Pit [Sat, 22 Mar 2008 13:37:42 +0000 (14:37 +0100)]
Re: [PATCH] Double warning with perl -we 'my $a; substr $a, 0, 10,
Message-ID: <47E4FD96.6080304@profvince.com>

p4raw-id: //depot/perl@33557

13 years agoborg parent.pm
Yitzchak Scott-Thoennes [Wed, 5 Mar 2008 17:19:32 +0000 (09:19 -0800)]
borg parent.pm
From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
Message-ID: <57512.71.32.86.11.1204766372.squirrel@webmail.efn.org>

Plus bump base.pm's version to a non-alpha number

p4raw-id: //depot/perl@33556

13 years agoIO::Socket::INET unnecessarily resolves "udp"
Niko Tyni [Mon, 24 Mar 2008 23:32:24 +0000 (01:32 +0200)]
IO::Socket::INET unnecessarily resolves "udp"
Message-Id: <1206394344-30835-1-git-send-email-ntyni@debian.org>

p4raw-id: //depot/perl@33554

13 years agoapidoc mismatch for Perl_magic_clearhint
Vincent Pit [Mon, 24 Mar 2008 21:30:10 +0000 (22:30 +0100)]
apidoc mismatch for Perl_magic_clearhint
Message-ID: <47E80F52.4030805@profvince.com>

p4raw-id: //depot/perl@33553

13 years agoUpgrade to Module-Pluggable-3.8
Steve Peters [Mon, 24 Mar 2008 17:55:29 +0000 (17:55 +0000)]
Upgrade to Module-Pluggable-3.8

p4raw-id: //depot/perl@33552

13 years agoGive the test file for __builtin_expect() the correct name (try.c, not
Nicholas Clark [Mon, 24 Mar 2008 16:30:26 +0000 (16:30 +0000)]
Give the test file for __builtin_expect() the correct name (try.c, not
builtin.c). Correct the user visible text, which was clearly a cut &
paste from __builtin_choose_expr. For both, also run the program as
part of the checks. Add a return value to the test program, and make
it return something useful (that the if statement worked).

p4raw-id: //depot/perl@33551

13 years agoconfigure.com and vms.c fixes.
John E. Malmberg [Sun, 23 Mar 2008 14:29:25 +0000 (09:29 -0500)]
configure.com and vms.c fixes.
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <47E6AF95.1000704@qsl.net>

p4raw-id: //depot/perl@33550

13 years agoFinal move from meta-3.0 to meta-3.5
H.Merijn Brand [Fri, 21 Mar 2008 10:28:42 +0000 (10:28 +0000)]
Final move from meta-3.0 to meta-3.5

p4raw-id: //depot/perl@33547

13 years agoDouble warning with perl -we '\&$x'
Vincent Pit [Thu, 20 Mar 2008 12:06:47 +0000 (13:06 +0100)]
Double warning with perl -we '\&$x'
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <38561.147.210.17.175.1206011207.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33544

13 years agoRe: Smoke [5.11.0] 33500 FAIL(F) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Nicholas Clark [Thu, 13 Mar 2008 12:47:51 +0000 (12:47 +0000)]
Re: Smoke [5.11.0] 33500 FAIL(F) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
Message-ID: <20080313124751.GX79799@plum.flirble.org>

Fixes test failures introduced by #33480 in non-fork()-enabled builds.

p4raw-id: //depot/perl@33543

13 years agoFixing "make distclean" to remove "config.arch"
Sérgio Durigan Júnior [Tue, 18 Mar 2008 15:35:54 +0000 (12:35 -0300)]
Fixing "make distclean" to remove "config.arch"
Message-Id: <1205865354.16048.56.camel@miki>

p4raw-id: //depot/perl@33542

13 years agoSilence some warnings introduced by #33507
Steve Hay [Tue, 18 Mar 2008 08:41:13 +0000 (08:41 +0000)]
Silence some warnings introduced by #33507

p4raw-id: //depot/perl@33541

13 years agoDrag autodoc.pl and overload.pl into the age of safer_open().
Nicholas Clark [Mon, 17 Mar 2008 00:17:26 +0000 (00:17 +0000)]
Drag autodoc.pl and overload.pl into the age of safer_open().
Thanks to the wisdom of london.pm, stuff the filename into the SCALAR
slot of the typeglob created in safer_open(), so that ...
Add safer_close(), that will die (with the filename) if the close
fails.

p4raw-id: //depot/perl@33539

13 years agoRename safer_rename() to rename_if_different(), to accurately describe
Nicholas Clark [Sat, 15 Mar 2008 18:37:34 +0000 (18:37 +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

13 years agoRe: [patch] refine make regen to be more selective
Jim Cromie [Tue, 11 Mar 2008 18:16:14 +0000 (12:16 -0600)]
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

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

p4raw-id: //depot/perl@33534

13 years agoUpdate the use of single quotes to be consistent with the advice in
Nicholas Clark [Fri, 14 Mar 2008 15:13:43 +0000 (15:13 +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

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

p4raw-id: //depot/perl@33523

13 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 (16:03 +0000)]
Change 33507 had a const too far (Perl_mg_dup()'s mg is assigned to).

p4raw-id: //depot/perl@33508

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

p4raw-id: //depot/perl@33507

13 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 (01:06 +0530)]
[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

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

p4raw-id: //depot/perl@33505

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

p4raw-id: //depot/perl@33504

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

p4raw-id: //depot/perl@33503

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

p4raw-id: //depot/perl@33500

13 years agoMove Module::Pluggable into ext/ as the next version has actions in its
Nicholas Clark [Wed, 12 Mar 2008 19:32:09 +0000 (19:32 +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

13 years agoChange 33492 did not spread the protection wide enough. There were
Nicholas Clark [Wed, 12 Mar 2008 19:09:21 +0000 (19:09 +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

13 years ago[perl #51636] segmentation fault with array ties
blino@mandriva.com [Wed, 12 Mar 2008 02:59:45 +0000 (19:59 -0700)]
[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

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

p4raw-id: //depot/perl@33493

13 years agoWe need mutex protection in PerlIOStdio_close() for the duration of
Nicholas Clark [Wed, 12 Mar 2008 12:23:55 +0000 (12:23 +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

13 years agoCorrect logic error in PerlIOStdio_close() - 0 is an acceptable value
Nicholas Clark [Wed, 12 Mar 2008 11:46:17 +0000 (11:46 +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

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

p4raw-id: //depot/perl@33489

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

p4raw-id: //depot/perl@33488

13 years agocygwin hints back to old
Reini Urban [Wed, 12 Mar 2008 08:11:17 +0000 (09:11 +0100)]
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

13 years agoAn unfortunate side-effect of Encode and Encode::Alias use'ing each
Rafael Garcia-Suarez [Wed, 12 Mar 2008 08:50:11 +0000 (08:50 +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

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

p4raw-id: //depot/perl@33485

13 years agoRe: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
Reini Urban [Sat, 8 Mar 2008 20:55:36 +0000 (21:55 +0100)]
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

13 years agoRe: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
Reini Urban [Sat, 8 Mar 2008 20:55:36 +0000 (21:55 +0100)]
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

13 years agoRe: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2
Reini Urban [Sat, 8 Mar 2008 20:55:36 +0000 (21:55 +0100)]
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

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

p4raw-id: //depot/perl@33473

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

p4raw-id: //depot/perl@33471