platform/upstream/perl.git
15 years agothreads::shared 1.27
Jerry D. Hedden [Tue, 25 Nov 2008 11:52:12 +0000 (06:52 -0500)]
threads::shared 1.27
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510811250852r17a88593h373ca49c74ea0ffa@mail.gmail.com>
Date: Tue, 25 Nov 2008 11:52:12 -0500

p4raw-id: //depot/perl@34915

15 years agoA correction to change 34909 - we want *different* constants.
Nicholas Clark [Tue, 25 Nov 2008 17:47:11 +0000 (17:47 +0000)]
A correction to change 34909 - we want *different* constants.

p4raw-id: //depot/perl@34914

15 years agoAdd Rainer Tammer and Torsten Schönfeld to AUTHORS.
Nicholas Clark [Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)]
Add Rainer Tammer and Torsten Schönfeld to AUTHORS.

p4raw-id: //depot/perl@34910

15 years agoTweak the constants used in testing to constants that Win32 also has.
Nicholas Clark [Tue, 25 Nov 2008 15:48:04 +0000 (15:48 +0000)]
Tweak the constants used in testing to constants that Win32 also has.

p4raw-id: //depot/perl@34909

15 years agoRe: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to...
Luke Ross [Tue, 30 Sep 2008 22:41:50 +0000 (23:41 +0100)]
Re: [perl #59280] perlbug AutoReply: PUSH on tied array gives incorrect context to method and can result in needless calls to FETCHSIZE
From: "Luke Ross" <lukeross@gmail.com>
Message-ID: <970a62710809301441v1d8d1877tfc30d7b91cd4dc1a@mail.gmail.com>

p4raw-id: //depot/perl@34908

15 years ago[perl #38809] return do { } : take 3 (or 4...)
Vincent Pit [Mon, 29 Sep 2008 17:36:09 +0000 (19:36 +0200)]
[perl #38809] return do { } : take 3 (or 4...)
Message-ID: <48E0F5E9.4050805@profvince.com>

p4raw-id: //depot/perl@34907

15 years agoRe: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Andy Dougherty [Fri, 11 Jul 2008 11:27:13 +0000 (07:27 -0400)]
Re: [perl #56826] Perl-5.8.8 compilation on AIX 5.1
Message-ID: <Pine.LNX.4.64.0807111112440.1349@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@34906

15 years ago[perl #7911] no warning for useless /d in tr/0-9//d
reneeb [Mon, 17 Nov 2008 06:13:57 +0000 (22:13 -0800)]
[perl #7911] no warning for useless /d in tr/0-9//d
From: "reneeb via RT" <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-10965-1226931231-1833.7911-15-0@perl.org>

p4raw-id: //depot/perl@34905

15 years agoPromote Perl_setdefout() to the public API.
Nicholas Clark [Mon, 24 Nov 2008 18:48:43 +0000 (18:48 +0000)]
Promote Perl_setdefout() to the public API.

p4raw-id: //depot/perl@34904

15 years agoChange 34831 missed running autodoc.pl
Nicholas Clark [Mon, 24 Nov 2008 18:37:22 +0000 (18:37 +0000)]
Change 34831 missed running autodoc.pl

p4raw-id: //depot/perl@34903

15 years agoRespecting inc_version_list while processing PERL_VENDORLIB_STEM
Mandalemula, Rajesh [Tue, 18 Nov 2008 14:55:03 +0000 (20:25 +0530)]
Respecting inc_version_list while processing PERL_VENDORLIB_STEM
From: "Mandalemula, Rajesh" <Rajesh.Mandalemula@deshaw.com>
Message-ID: <B911686319FBAC4BA4671AF36F8DC30902CEA28A@mailhyd2.hyd.deshaw.com>

p4raw-id: //depot/perl@34902

15 years ago[patch@34896] vms readdir() fixes for UNIX/EFS mode
John E. Malmberg [Sat, 22 Nov 2008 11:31:58 +0000 (05:31 -0600)]
[patch@34896] vms readdir() fixes for UNIX/EFS mode
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4928420E.2010607@qsl.net>

p4raw-id: //depot/perl@34901

16 years agoHard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Tim Bunce [Thu, 20 Nov 2008 13:17:19 +0000 (13:17 +0000)]
Hard-coded Perl_pp_entersub and Perl_pp_entereval should use PL_ppaddr
Message-ID: <20081120131719.GA32120@timac.local>

[tweaked for blead because of change 27941]

p4raw-id: //depot/perl@34896

16 years agoNote where there is a U8 of space.
Nicholas Clark [Tue, 18 Nov 2008 21:01:24 +0000 (21:01 +0000)]
Note where there is a U8 of space.

p4raw-id: //depot/perl@34887

16 years agoRename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
Nicholas Clark [Tue, 18 Nov 2008 20:32:23 +0000 (20:32 +0000)]
Rename PL_breakable_sub_generation to PL_breakable_sub_gen, to please
the ANSI gods of VMS.

p4raw-id: //depot/perl@34886

16 years agoRemove the trailing NUL byte, and (hopefully) convert perforce to
Nicholas Clark [Tue, 18 Nov 2008 15:10:57 +0000 (15:10 +0000)]
Remove the trailing NUL byte, and (hopefully) convert perforce to
thinking that it is text, not binary.

p4raw-id: //depot/perl@34883

16 years agoImprove and restructure t/op/pat.t and split out some unicode related tests into...
Abigail [Tue, 18 Nov 2008 09:29:05 +0000 (10:29 +0100)]
Improve and restructure t/op/pat.t and split out some unicode related tests into a new test file

Subject: t/op/pat.t
Message-ID: <20081118082905.GJ3172@almanda>

With tweaks: Seems the new harness is quite picky about # signs in test names,
and doesnt like SKIP and TODO to be used together.

p4raw-id: //depot/perl@34882

16 years agoRe: 5.8.9 RC1 patches for AIX
Rainer Tammer [Tue, 18 Nov 2008 12:58:27 +0000 (13:58 +0100)]
Re: 5.8.9 RC1 patches for AIX
Message-ID: <4922ADE3.5030701@tammer.net>

p4raw-id: //depot/perl@34881

16 years agoUse only unsigned ints for comparisons to PL_breakable_sub_generation
Rafael Garcia-Suarez [Tue, 18 Nov 2008 11:12:56 +0000 (11:12 +0000)]
Use only unsigned ints for comparisons to PL_breakable_sub_generation

p4raw-id: //depot/perl@34880

16 years agoRafael noticed a bug in 34873 - I was comparing against the wrong
Nicholas Clark [Tue, 18 Nov 2008 11:09:47 +0000 (11:09 +0000)]
Rafael noticed a bug in 34873 - I was comparing against the wrong
variable, and hence (usually) saving all globs, not just those that
should be kept.

p4raw-id: //depot/perl@34879

16 years agoChange LONG_DOUBLESIZE macros to match config (ref change 34823)
Gisle Aas [Mon, 17 Nov 2008 22:56:42 +0000 (22:56 +0000)]
Change LONG_DOUBLESIZE macros to match config (ref change 34823)

p4raw-id: //depot/perl@34877

16 years agoS_save_lines() was using strchr() when it should have been using
Nicholas Clark [Mon, 17 Nov 2008 22:54:17 +0000 (22:54 +0000)]
S_save_lines() was using strchr() when it should have been using
memchr(). Result - eval""ed source with embedded NULs was not split
correctly into lines for the debugger. Obscure. But still a bug.
Maybe the Campaign for the Elimination of strlen() needs to take a long
hard stare at every strchr() too. And strmp() while we're looking.

p4raw-id: //depot/perl@34876

16 years agoNo need to str*cpy() a string of known fixed length ("_<(eval )") when
Nicholas Clark [Mon, 17 Nov 2008 22:31:07 +0000 (22:31 +0000)]
No need to str*cpy() a string of known fixed length ("_<(eval )") when
a simple 1 byte write has the same desired effect.
Clearly the Campaign for the Elimination of strlen() needs to branch
out into str*cat() and str*cpy().

p4raw-id: //depot/perl@34874

16 years agoFix the bug introduced with MRO, whereby the internals were not saving
Nicholas Clark [Mon, 17 Nov 2008 22:04:56 +0000 (22:04 +0000)]
Fix the bug introduced with MRO, whereby the internals were not saving
lines in subroutines defined inside eval ""s for the debugger.

p4raw-id: //depot/perl@34873

16 years agoFix a missing single quote in hints/solaris_2.sh
Andy Dougherty [Mon, 17 Nov 2008 13:11:59 +0000 (08:11 -0500)]
Fix a missing single quote in hints/solaris_2.sh
Message-ID: <Pine.LNX.4.64.0811171300350.16632@fractal.phys.lafayette.edu>
Date: Mon, 17 Nov 2008 13:11:59 -0500 (EST)

p4raw-id: //depot/perl@34870

16 years ago[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Renee Baecker [Sun, 31 Aug 2008 11:35:45 +0000 (13:35 +0200)]
[perl #58428][PATCH] Unicode::UCD::charinfo() does not work on 21 Han codepoints
Message-Id: <20080831093545.A15C4120011@rserv16.sitepush.net>

p4raw-id: //depot/perl@34867

16 years agoSkip two tests under ithreads, where the constant lives in the pad.
Rafael Garcia-Suarez [Mon, 17 Nov 2008 10:06:08 +0000 (10:06 +0000)]
Skip two tests under ithreads, where the constant lives in the pad.

p4raw-id: //depot/perl@34864

16 years agoUpgrade to Attribute::Handlers 0.81
Rafael Garcia-Suarez [Mon, 17 Nov 2008 08:30:52 +0000 (08:30 +0000)]
Upgrade to Attribute::Handlers 0.81

p4raw-id: //depot/perl@34862

16 years agoRe: 5.8.9 RC1 report
Rainer Tammer [Mon, 17 Nov 2008 08:53:34 +0000 (09:53 +0100)]
Re: 5.8.9 RC1 report
Message-ID: <492122FE.5020001@tammer.net>

p4raw-id: //depot/perl@34861

16 years agoRe: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are...
Chip Salzenberg [Sun, 16 Nov 2008 23:14:30 +0000 (15:14 -0800)]
Re: [perl #59998] [PATCH] crypt() returns tainted data even when input strings are detainted
Message-ID: <20081117071429.GD5495@tytlal.topaz.cx>

p4raw-id: //depot/perl@34860

16 years agoAdd a $VERSION, strict and some documentation to Tie::StdHandle.
Nicholas Clark [Sun, 16 Nov 2008 23:05:35 +0000 (23:05 +0000)]
Add a $VERSION, strict and some documentation to Tie::StdHandle.

p4raw-id: //depot/perl@34859

16 years agoIntegrate:
Nicholas Clark [Sun, 16 Nov 2008 21:38:30 +0000 (21:38 +0000)]
Integrate:
[ 34841]
Change 34693 introduced a regression spotted by Devel::SmallProf.
p4raw-link: @34841 on //depot/maint-5.8/perl: 95d1ca54dd69844873c9f0e6981fcfd632fa4274

p4raw-id: //depot/perl@34857
p4raw-integrated: from //depot/maint-5.8/perl@34854 'merge in' pp_ctl.c
(@34726..)

16 years agoSync up with Digest-MD5-2.38 from CPAN
Gisle Aas [Sun, 16 Nov 2008 20:53:15 +0000 (20:53 +0000)]
Sync up with Digest-MD5-2.38 from CPAN

p4raw-id: //depot/perl@34854

16 years agoRe: 5.8.9 RC1 report
Rainer Tammer [Thu, 13 Nov 2008 15:14:46 +0000 (16:14 +0100)]
Re: 5.8.9 RC1 report
Message-ID: <491C3656.3010509@tammer.net>

p4raw-id: //depot/perl@34852

16 years agoMake B::walksymtable not recurse into packages that are actually main::, but have...
Florian Ragwitz [Thu, 13 Nov 2008 21:34:12 +0000 (22:34 +0100)]
Make B::walksymtable not recurse into packages that are actually main::, but have a different name.
Message-Id: <1226608453-25937-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34845

16 years agoDeparse inlined constants.
Florian Ragwitz [Thu, 13 Nov 2008 21:34:13 +0000 (22:34 +0100)]
Deparse inlined constants.
Message-Id: <1226608453-25937-2-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34844

16 years agoAdd Tom Wyant to AUTHORS.
Nicholas Clark [Sun, 16 Nov 2008 17:42:53 +0000 (17:42 +0000)]
Add Tom Wyant to AUTHORS.

p4raw-id: //depot/perl@34843

16 years agoTODO for fixing lvalue subs in the debugger is now to-done. Pointed
Steve Peters [Sun, 16 Nov 2008 17:07:24 +0000 (17:07 +0000)]
TODO for fixing lvalue subs in the debugger is now to-done.  Pointed
out by Florian Ragwitz.

p4raw-id: //depot/perl@34840

16 years agoMRO tests for isa() and package aliases
Torsten Schoenfeld [Sat, 15 Nov 2008 21:24:40 +0000 (22:24 +0100)]
MRO tests for isa() and package aliases
Message-ID: <491F3008.4060205@gmx.de>

p4raw-id: //depot/perl@34839

16 years agoUpgrade to File-Temp-0.21
Steve Peters [Sun, 16 Nov 2008 06:31:56 +0000 (06:31 +0000)]
Upgrade to File-Temp-0.21

p4raw-id: //depot/perl@34838

16 years agoAdd a dump to help tracing taint bugs, by Chip Salzenberg
Rafael Garcia-Suarez [Sat, 15 Nov 2008 10:15:22 +0000 (10:15 +0000)]
Add a dump to help tracing taint bugs, by Chip Salzenberg

p4raw-id: //depot/perl@34837

16 years agoForgot to include lib/perl5db.pl in change #34833
Steve Peters [Fri, 14 Nov 2008 19:17:13 +0000 (19:17 +0000)]
Forgot to include lib/perl5db.pl in change #34833
p4raw-link: @34833 on //depot/perl: 1ad62f649328dc563f7f21be3c384f5adf18af1d

p4raw-id: //depot/perl@34836

16 years agoFuture-proof hints/linux.sh against Sun's cc -V output.
Andy Dougherty [Fri, 14 Nov 2008 13:01:13 +0000 (08:01 -0500)]
Future-proof hints/linux.sh against Sun's cc -V output.
Message-ID: <Pine.LNX.4.64.0811141300220.6539@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@34835

16 years agoVarious patches added to RT #21568 from julian@mehnle.net.
Steve Peters [Fri, 14 Nov 2008 15:12:18 +0000 (15:12 +0000)]
Various patches added to RT #21568 from julian@mehnle.net.

p4raw-id: //depot/perl@34834

16 years ago[perl #48489] patch to fix perl bug #7013
bharanee rathna [Tue, 11 Dec 2007 15:25:21 +0000 (07:25 -0800)]
[perl #48489] patch to fix perl bug #7013
From: "bharanee rathna" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-28750-1197415521-1978.48489-75-0@perl.org>

Just the pp_hot.c portion of this patch applied along with removing
the TODO from the test added in the previous change.

p4raw-id: //depot/perl@34833

16 years agoAdd TODO test for :lvalue under -d.
Florian Ragwitz [Fri, 14 Nov 2008 11:24:57 +0000 (12:24 +0100)]
Add TODO test for :lvalue under -d.
Message-Id: <1226658297-24025-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@34832

16 years ago[perl #948] [PATCH] Allow tied $,
Chip Salzenberg [Fri, 14 Nov 2008 00:44:36 +0000 (16:44 -0800)]
[perl #948] [PATCH] Allow tied $,
Message-ID: <20081114084436.GJ5779@tytlal.topaz.cx>

p4raw-id: //depot/perl@34831

16 years agoFix error message label
Rafael Garcia-Suarez [Thu, 13 Nov 2008 10:57:27 +0000 (10:57 +0000)]
Fix error message label
(noticed by Abigail)

p4raw-id: //depot/perl@34830

16 years agoRe: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal handler...
Chip Salzenberg [Wed, 12 Nov 2008 15:45:04 +0000 (07:45 -0800)]
Re: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal handler to SIG_DFL
Message-ID: <20081112234504.GI2062@tytlal.topaz.cx>

Updated patch to retain source compatibility.

Plus using the correct PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS
macro and running make regen.

p4raw-id: //depot/perl@34829

16 years agoBump ExtUtils-Install to 1.52 (because of CPAN persnickityness)
Yves Orton [Wed, 12 Nov 2008 19:47:21 +0000 (19:47 +0000)]
Bump ExtUtils-Install to 1.52 (because of CPAN persnickityness)

CPAN these days objects to "world writable" files in CPAN tar files,
which is what you'll get if you dev on a win32 box with "normal"
permissions and do a nmake dist.

And of course thats what I was doing with ExtUtils-Install,
and so CPAN rejected 1.51. Thus I changed permissions and rereleased
and this is the equivalent change to blead. /grrr

p4raw-id: //depot/perl@34828

16 years agoUpdate ExtUtils-Install to 1.51
Yves Orton [Wed, 12 Nov 2008 19:23:38 +0000 (19:23 +0000)]
Update ExtUtils-Install to 1.51

Also adds the Changes file from ExtUtils-Install as Changes_EU-Install

p4raw-id: //depot/perl@34827

16 years agoSome deprecated warnings were also in the syntax category
Rafael Garcia-Suarez [Wed, 12 Nov 2008 15:14:19 +0000 (15:14 +0000)]
Some deprecated warnings were also in the syntax category
(one of them was spotted by Abigail.)
Plus, document the undocumented warning
"Use of comma-less variable list is deprecated"

p4raw-id: //depot/perl@34825

16 years agoSkip #ifdefs and other preprocessor lines when parsing the
Gisle Aas [Wed, 12 Nov 2008 14:50:14 +0000 (14:50 +0000)]
Skip #ifdefs and other preprocessor lines when parsing the
local_patches section of patchlevel.h.

p4raw-id: //depot/perl@34824

16 years agosizeof(long double) is 8 bytes for all Microsoft compilers
Gisle Aas [Wed, 12 Nov 2008 12:30:19 +0000 (12:30 +0000)]
sizeof(long double) is 8 bytes for all Microsoft compilers
from Jan Dubois

p4raw-id: //depot/perl@34823

16 years agoPOD markup fix
Gisle Aas [Wed, 12 Nov 2008 12:13:03 +0000 (12:13 +0000)]
POD markup fix

p4raw-id: //depot/perl@34822

16 years agoRegenerate API docs
Rafael Garcia-Suarez [Wed, 12 Nov 2008 10:42:21 +0000 (10:42 +0000)]
Regenerate API docs

p4raw-id: //depot/perl@34820

16 years agoRe: [perl #60360] [PATCH] local $SIG{FOO} = sub {...}; sets signal
Chip Salzenberg [Mon, 10 Nov 2008 16:00:40 +0000 (08:00 -0800)]
Re: [perl #60360] [PATCH] local $SIG{FOO} = sub {...}; sets signal
Message-ID: <20081111000040.GB19329@tytlal.topaz.cx>

p4raw-id: //depot/perl@34819

16 years agoSync up with Digest-MD5-2.37 from CPAN
Gisle Aas [Wed, 12 Nov 2008 09:40:43 +0000 (09:40 +0000)]
Sync up with Digest-MD5-2.37 from CPAN

p4raw-id: //depot/perl@34818

16 years agoIntegrate:
Nicholas Clark [Wed, 12 Nov 2008 09:18:13 +0000 (09:18 +0000)]
Integrate:
[ 34811]
Hopefully today.
p4raw-link: @34811 on //depot/maint-5.8/perl: fe4320b5dc40bba015edd810dd349568512306ff

p4raw-id: //depot/perl@34817
p4raw-integrated: from //depot/maint-5.8/perl@34815 'copy in'
pod/perlhist.pod (@33192..)

16 years agoRelocations errors with Intel CC 10 on 64 bits archs
Vincent Pit [Tue, 11 Nov 2008 15:58:07 +0000 (16:58 +0100)]
Relocations errors with Intel CC 10 on 64 bits archs
Message-ID: <49199D7F.7030304@profvince.com>

p4raw-id: //depot/perl@34815

16 years agoadd -t (tabular option) to Porting/corecpan.pl
Dave Mitchell [Mon, 10 Nov 2008 23:28:35 +0000 (23:28 +0000)]
add -t (tabular option) to Porting/corecpan.pl
This allows multiple source trees to be compared

p4raw-id: //depot/perl@34814

16 years agoAllow lvalue usage of SvRV() and add MUTABLE_SV() check.
Marcus Holland-Moritz [Mon, 10 Nov 2008 19:13:20 +0000 (19:13 +0000)]
Allow lvalue usage of SvRV() and add MUTABLE_SV() check.
Also add new SvRV_const() macro for read-only access.

p4raw-id: //depot/perl@34804

16 years agoUpdate Maintainers.pl
Steffen Mueller [Mon, 10 Nov 2008 09:41:40 +0000 (10:41 +0100)]
Update Maintainers.pl
Message-ID: <20081110084141.12299.qmail@lists.develooper.com>

p4raw-id: //depot/perl@34792

16 years ago[patch@34779] Get posix exit mode working/tested on VMS
John E. Malmberg [Sun, 9 Nov 2008 00:46:03 +0000 (18:46 -0600)]
[patch@34779] Get posix exit mode working/tested on VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <4916872B.5040500@qsl.net>

p4raw-id: //depot/perl@34790

16 years agoBackslashes inside '' inside Makefiles seem to be non-portable in their
Nicholas Clark [Mon, 10 Nov 2008 11:58:41 +0000 (11:58 +0000)]
Backslashes inside '' inside Makefiles seem to be non-portable in their
effects. GNU make leaves them in as literals, BSD make takes them out.
Not that we noticed, as the construction in question was valid Perl
syntax either way, but File::Find 1.14 is enforcing more on its
arguments.

p4raw-id: //depot/perl@34789

16 years ago[perl #57926][PATCH] File::Find Bug
Renee Baecker [Fri, 22 Aug 2008 16:42:02 +0000 (18:42 +0200)]
[perl #57926][PATCH] File::Find Bug
Message-Id: <20080822144202.659AB99C002@rserv16.sitepush.net>

p4raw-id: //depot/perl@34786

16 years agoAdd support for testing when under
Yves Orton [Sun, 9 Nov 2008 21:02:01 +0000 (21:02 +0000)]
Add support for testing when under

#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS = 0

as signalled by the environment variable REAL_POSIX_CC being true.

Otherwise test are as they used to be, or TODO'ed.

p4raw-id: //depot/perl@34785

16 years agoUpgrade to File::Path 2.07
Nicholas Clark [Sun, 9 Nov 2008 19:54:42 +0000 (19:54 +0000)]
Upgrade to File::Path 2.07

p4raw-id: //depot/perl@34784

16 years agoFix warning code in Perl_sv_vcatpvfn() to make the TODO
Marcus Holland-Moritz [Sun, 9 Nov 2008 13:42:58 +0000 (13:42 +0000)]
Fix warning code in Perl_sv_vcatpvfn() to make the TODO
tests introduced with #34781 pass. Add some more warning
tests to t/lib/warnings/sv.

p4raw-id: //depot/perl@34783

16 years agodiagnostic leakage in ext/PerlIO/scalar/t/scalar_ungetc.t
Michael G. Schwern [Sat, 8 Nov 2008 23:22:54 +0000 (15:22 -0800)]
diagnostic leakage in ext/PerlIO/scalar/t/scalar_ungetc.t
Message-ID: <49168FCE.8020105@pobox.com>

Plus converting the whole file from DOS to UNIX format
and adding a newline at the end.

p4raw-id: //depot/perl@34782

16 years agoUpdate format warning tests to expect "%lld" instead of "%d"
Marcus Holland-Moritz [Sun, 9 Nov 2008 09:52:31 +0000 (09:52 +0000)]
Update format warning tests to expect "%lld" instead of "%d"
when "%lld" was in the format string. Mark these warnings as
TODO until this is fixed.

p4raw-id: //depot/perl@34781

16 years ago"Perl_newSVpvf("%lld")" is broken
Hugo van der Sanden [Sat, 8 Nov 2008 13:29:57 +0000 (13:29 +0000)]
"Perl_newSVpvf("%lld")" is broken
Message-Id: <200811081329.mA8DTv7e018896@zen.crypt.org>

Plus some test cases.

p4raw-id: //depot/perl@34780

16 years agoMake sure PerlIO::via doesn't leave its old GV's hanging
Marcus Holland-Moritz [Sat, 8 Nov 2008 18:31:09 +0000 (18:31 +0000)]
Make sure PerlIO::via doesn't leave its old GV's hanging
in the stash they were created in. Steal the idea from
IO::File to just delete the stash entry after creating
the GV.
This fixes perl #59268.

p4raw-id: //depot/perl@34779

16 years agoFrom change #34775, reverting perlio.c change for now. Also,
Steve Peters [Sat, 8 Nov 2008 15:51:45 +0000 (15:51 +0000)]
From change #34775, reverting perlio.c change for now.  Also,
setting the tests to TODO.
p4raw-link: @34775 on //depot/perl: 2556f95e0f4f5e8e95c9766374614ab52edefe3d

p4raw-id: //depot/perl@34778

16 years agoRe: [PATCH: Configure/NDBM_File] Add prototype detection for NDBM header files
Marcus Holland-Moritz [Sat, 8 Nov 2008 09:45:22 +0000 (10:45 +0100)]
Re: [PATCH: Configure/NDBM_File] Add prototype detection for NDBM header files
Message-ID: <20081108094522.5174608b@r2d2>

p4raw-id: //depot/perl@34777

16 years agoAssigning to DEFSV leaks if PL_defgv's gp_sv isn't set.
Marcus Holland-Moritz [Sat, 8 Nov 2008 12:38:36 +0000 (12:38 +0000)]
Assigning to DEFSV leaks if PL_defgv's gp_sv isn't set.
As Nicholas already noted in a FIXME, assigning to DEFSV should
use GvSV instead of GvSVn. This change ensures that, at least
under -DPERL_CORE, DEFSV cannot be assigned to and introduces
a DEFSV_set macro to allow setting DEFSV.
This fixes #53038: map leaks memory.

p4raw-id: //depot/perl@34776

16 years agoRe: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
Goro Fuji [Mon, 7 Jul 2008 08:04:52 +0000 (17:04 +0900)]
Re: [perl #56644] PerlIO resource leaks on open() and then :pop in :unix and :stdio
From: "Goro Fuji" <gfuji@cpan.org>
Message-ID: <efb9c59b0807061604q476025e9n85893f131a6bf23e@mail.gmail.com>

p4raw-id: //depot/perl@34775

16 years ago[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
Goro Fuji [Sun, 25 May 2008 23:10:42 +0000 (16:10 -0700)]
[perl #54828] perlio.c has a problem (both 5.8 and 5.10)
From: "Goro Fuji" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-11257-1211782242-1590.54828-75-0@perl.org>

The second part of the patch.  The first part was in change #33978.
p4raw-link: @33978 on //depot/perl: 9d97e8b8cac47626e28c79994e7ab0d5c8589515

p4raw-id: //depot/perl@34774

16 years agoRe: [perl #57322] perlbug AutoReply: ungetc() to :scalar might cause problems
Goro Fuji [Sun, 27 Jul 2008 14:37:45 +0000 (23:37 +0900)]
Re: [perl #57322] perlbug AutoReply: ungetc() to :scalar might cause problems
From: "Goro Fuji" <gfuji@cpan.org>
Message-ID: <efb9c59b0807262237r62497f36g4f6d6881bb684a53@mail.gmail.com>

p4raw-id: //depot/perl@34773

16 years ago[perl #18306] This problem seems to be fixed and a small patch for B::Xref
Renee Baecker [Wed, 9 Jul 2008 15:16:50 +0000 (17:16 +0200)]
[perl #18306] This problem seems to be fixed and a small patch for B::Xref
Message-Id: <20080709131650.D12BF120041@rserv16.sitepush.net>

p4raw-id: //depot/perl@34772

16 years agoNDBM prototype config vars for configure.com following 34756.
Craig A. Berry [Sat, 8 Nov 2008 00:13:43 +0000 (00:13 +0000)]
NDBM prototype config vars for configure.com following 34756.

p4raw-id: //depot/perl@34771

16 years agoRevert SvPVX() to allow lvalue usage, but also add a
Marcus Holland-Moritz [Fri, 7 Nov 2008 22:33:39 +0000 (22:33 +0000)]
Revert SvPVX() to allow lvalue usage, but also add a
MUTABLE_SV() check. Use SvPVX_const() instead of SvPVX()
where only a const SV* is available. Also fix two falsely
consted pointers in Perl_sv_2pv_flags().

p4raw-id: //depot/perl@34770

16 years agocreate new unicode props as defined in POSIX spec (optionally use them in the regex...
Yves Orton [Fri, 7 Nov 2008 20:20:21 +0000 (20:20 +0000)]
create new unicode props as defined in POSIX spec (optionally use them in the regex engine)

Perlbug #60156 and #49302 (and probably others) resolve down to the problem
that the definition of \s and \w and \d and the POSIX charclasses are different
for unicode strings and for non-unicode strings. This broke the character class
logic in the regex engine. The easiest fix to make the character class logic sane
again is to define new properties which do match.

This change creates new property classes that can be used instead of the
traditional ones (it does not change the previously defined ones). If the
define in regcomp.h:

#define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1

is changed to 0, then the new mappings will be used. This will fix a bunch
of bugs that are reported as TODO items in the new reg_posixcc.t test file.

p4raw-id: //depot/perl@34769

16 years agoA small refactoring based on a comment in an old RT ticket (RT
Steve Peters [Fri, 7 Nov 2008 17:23:05 +0000 (17:23 +0000)]
A small refactoring based on a comment in an old RT ticket (RT
#4362 in case you were wondering).

p4raw-id: //depot/perl@34768

16 years agoMake sure inversion sign is shown in all anyof classes that we show in regprop
Yves Orton [Fri, 7 Nov 2008 11:45:22 +0000 (11:45 +0000)]
Make sure inversion sign is shown in all anyof classes that we show in regprop

And refactor the code that adds the extra braces into a macro, and make it support the colorization stuff.

p4raw-id: //depot/perl@34766

16 years agoUpgrade to Pod-Perldoc-3.15
Steve Hay [Fri, 7 Nov 2008 11:32:36 +0000 (11:32 +0000)]
Upgrade to Pod-Perldoc-3.15

p4raw-id: //depot/perl@34765

16 years agoOops, change 34762 should have bumped the VERSION
Steve Hay [Fri, 7 Nov 2008 10:39:27 +0000 (10:39 +0000)]
Oops, change 34762 should have bumped the VERSION

p4raw-id: //depot/perl@34764

16 years agoTemporary (?) fix for ext/Test/Harness/t/compat/regression.t,
Steve Hay [Fri, 7 Nov 2008 10:37:51 +0000 (10:37 +0000)]
Temporary (?) fix for ext/Test/Harness/t/compat/regression.t,
broken by Test-Simple upgrade (VERSION is already bumped by the
retention of 34491)

p4raw-id: //depot/perl@34763

16 years agoFix test broken by Test-Simple upgrade (similar to change 33689)
Steve Hay [Fri, 7 Nov 2008 10:34:28 +0000 (10:34 +0000)]
Fix test broken by Test-Simple upgrade (similar to change 33689)

p4raw-id: //depot/perl@34762

16 years agoUpgrade to Test-Simple-0.85_01, keeping local changes 34491 and 34545
Steve Hay [Fri, 7 Nov 2008 10:32:32 +0000 (10:32 +0000)]
Upgrade to Test-Simple-0.85_01, keeping local changes 34491 and 34545

p4raw-id: //depot/perl@34761

16 years agolib/Test/Tutorial.pod is part of Test-Simple
Steve Hay [Fri, 7 Nov 2008 09:29:42 +0000 (09:29 +0000)]
lib/Test/Tutorial.pod is part of Test-Simple

p4raw-id: //depot/perl@34760

16 years agoFix new test (just added by podlators upgrade) on Win32, at least
Steve Hay [Fri, 7 Nov 2008 08:49:25 +0000 (08:49 +0000)]
Fix new test (just added by podlators upgrade) on Win32, at least

p4raw-id: //depot/perl@34759

16 years agoUpgrade to podlators-2.2.0
Steve Hay [Fri, 7 Nov 2008 08:47:26 +0000 (08:47 +0000)]
Upgrade to podlators-2.2.0

p4raw-id: //depot/perl@34758

16 years agoNDBM just isn't meant to be used with C++. So this
Marcus Holland-Moritz [Thu, 6 Nov 2008 22:16:03 +0000 (22:16 +0000)]
NDBM just isn't meant to be used with C++. So this
change makes the intro of NDBM_File.xs even uglier,
but hopefully it also makes tests pass now.

p4raw-id: //depot/perl@34757

16 years agoAdd prototype detection for NDBM header files
Marcus Holland-Moritz [Mon, 3 Nov 2008 22:40:11 +0000 (23:40 +0100)]
Add prototype detection for NDBM header files
Message-ID: <20081103224011.26c223b3@r2d2>

p4raw-id: //depot/perl@34756

16 years agoVarious changes to regex diagnostics and testing
Yves Orton [Thu, 6 Nov 2008 18:48:28 +0000 (18:48 +0000)]
Various changes to regex diagnostics and testing

* Make ANYOF output from regprop easier to read by adding ][ in between the unicode representation and the "ascii" one

* Make it possible to make tests in re_tests todo.

* add a todo test for a complementary character class match that should fail (perl #60156)

* Also add a comment explaining a previous commit (relating to perl #60344)

p4raw-id: //depot/perl@34755

16 years agoReolve perlbug #59328: In re's, \N{U+...} doesn't match for ... > 256
karl williamson [Wed, 5 Nov 2008 18:42:16 +0000 (11:42 -0700)]
Reolve perlbug #59328: In re's, \N{U+...} doesn't match for ... > 256

  Subject: PATCH [perl #59328] In re's, \N{U+...} doesn't match for ... > 256
  Message-ID: <49124B78.2000907@khwilliamson.com>
  Date: Wed, 05 Nov 2008 18:42:16 -0700

p4raw-id: //depot/perl@34747

16 years agoResolve perl #60344: Regex lookbehind failure after an (if)then|else in perl 5.10
Yves Orton [Thu, 6 Nov 2008 10:44:13 +0000 (10:44 +0000)]
Resolve perl #60344: Regex lookbehind failure after an (if)then|else in perl 5.10

During the de-recursivization it looks like Dave M forgot to reset the 'logical'
flag after using it, which in turn causes UNLESSM/IFTHEN when used after a LOGICAL operator to
be incorrectly intrepreted. This change resets the logical flag after each time it is stored
in ST.logical.

p4raw-id: //depot/perl@34746

16 years agoBring ExtUtils::Install up to date with the latest on CPAN 1.50_04 and related test...
Yves Orton [Wed, 5 Nov 2008 22:47:58 +0000 (22:47 +0000)]
Bring ExtUtils::Install up to date with the latest on CPAN 1.50_04 and related test changes

This involves changes to shared test files used by ExtUtils::MakeMaker and ExtUtils::Install, in particular updating the core/MakeMaker version of ExtUtils/t/basic.t so that it reflects the 1.50_03 version, and then splitting it in half into basic.pl and basic_finish.pl, which are then evalled (together) by basic.t. ExtUtils::Install does somethign similar but only with basic.pl.

This also silences an odd warning from MM_Any.pm that comes up once in a while, which I believe is to do with a deeper core failure as it occurs in code utterly unrelated to these changes.

This patch needs to be pushed upstream to the ExtUtils::MakeMaker distribution on CPAN under Schwern's supervision.

In this way it will be possible to simply copy the t/basic.pl from core into ExtUtils::Install or into ExtUtils::MakeMaker or whatever.

Includes the following changes from ExtUtils::Install:

1.50_04

SVN revision 41.

Restructure tests to make it easier to maintain given it is distributed in various
ways in three different packages.

1.50_03

SVN revision 40.

Sigh, just after i released 1.50_02 I noticed that a test modified in it will fail
under VMS. So this is a fixup release for that alone.

1.50_02

SVN revision 39.

Synchronize with the changes that were made in blead perl
patch #33567. VMS changes by Craig Berry. See

http://public.activestate.com/cgi-bin/perlbrowse/p/33567

This was marked in the pod as 1.51 but not actually version bumped.

So I've marked it as 1.50_02 as a test release prior to putting it out
as the real 1.51

This release also restores the missing installed.t which was accidentally
missed by the MANIFEST having a duplicate entry for install.t instead.
Probably something should have warned about this, but I haven't worked out
what.

Includes changes from Activestate/ActivePerl:

- To make installation less chatty when not under verbose mode. See

http://rt.cpan.org/Public/Bug/Display.html?id=5903

- To install HTML documentation files under builds that set $Config{installhtmldir}
(and presumably also create HTML versions of the pod -- which is quite nice actually :-)

http://rt.cpan.org/Ticket/Display.html?id=37727

p4raw-id: //depot/perl@34742

16 years agoUpgrade to File::Path 2.06_08.
Nicholas Clark [Wed, 5 Nov 2008 00:29:57 +0000 (00:29 +0000)]
Upgrade to File::Path 2.06_08.

p4raw-id: //depot/perl@34733