This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
13 years agoIt transpires that POSIX.xs also duplicated several constants defined
Nicholas Clark [Thu, 15 May 2008 10:10:27 +0000 (10:10 +0000)]
It transpires that POSIX.xs also duplicated several constants defined
by Fcntl but only conditionally exported by Fcntl. The most obvious
were SEEK_CUR, SEEK_END and SEEK_SET, as reported in bug #54186.
So add them to the list of constants that POSIX imports from Fcntl.

p4raw-id: //depot/perl@33825

13 years agoUpgrade to Devel::PPPort 3.13_03
Marcus Holland-Moritz [Tue, 13 May 2008 19:50:23 +0000 (19:50 +0000)]
Upgrade to Devel::PPPort 3.13_03

p4raw-id: //depot/perl@33824

13 years agoHandle PL_minus_E before PL_minus_{n,p}.
Florian Ragwitz [Sun, 11 May 2008 07:51:18 +0000 (09:51 +0200)]
Handle PL_minus_E before PL_minus_{n,p}.
Message-Id: <1210485078-19640-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@33822

13 years agoIO::Compress::* 2.010
Paul Marquess [Mon, 5 May 2008 18:32:54 +0000 (19:32 +0100)]
IO::Compress::* 2.010
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <01dc01c8aed6$0eb13cf0$6501a8c0@myopwv.com>

p4raw-id: //depot/perl@33816

13 years agoCall SvMAGICAL_off in mg_free
Bram [Mon, 5 May 2008 16:18:56 +0000 (18:18 +0200)]
Call SvMAGICAL_off in mg_free
Message-ID: <20080505161856.pgz4pjga1w44ksk4@horde.wizbit.be>

p4raw-id: //depot/perl@33815

13 years agoRun Porting/checkARGS_ASSERT.pl and fix what it picks up. (Which,
Nicholas Clark [Sat, 10 May 2008 16:44:45 +0000 (16:44 +0000)]
Run Porting/checkARGS_ASSERT.pl and fix what it picks up. (Which,
coincidentally were both from changes I made)

p4raw-id: //depot/perl@33814

13 years agoRemove C++ comments
Rafael Garcia-Suarez [Sat, 10 May 2008 16:07:35 +0000 (16:07 +0000)]
Remove C++ comments

p4raw-id: //depot/perl@33811

13 years agothreads::shared 1.19
Jerry D. Hedden [Wed, 7 May 2008 16:36:28 +0000 (12:36 -0400)]
threads::shared 1.19
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510805071336y50db0a35t740fbe9a8192be64@mail.gmail.com>

p4raw-id: //depot/perl@33809

13 years agoThread::Queue 2.07
Jerry D. Hedden [Thu, 8 May 2008 10:05:51 +0000 (06:05 -0400)]
Thread::Queue 2.07
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510805080705p3cc8f657i7a1441da5b0a273b@mail.gmail.com>

p4raw-id: //depot/perl@33808

13 years agoFix [perl #52740] crash when localizing a symtab entry
Rafael Garcia-Suarez [Sat, 10 May 2008 15:58:32 +0000 (15:58 +0000)]
Fix [perl #52740] crash when localizing a symtab entry

p4raw-id: //depot/perl@33807

13 years agoRe: Change 33794: [PATCH] File::Copy & permission bits.
Jerry D. Hedden [Fri, 9 May 2008 13:06:14 +0000 (09:06 -0400)]
Re: Change 33794: [PATCH] File::Copy & permission bits.
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510805091006s1faa2d05lcaa3b6383b7fb603@mail.gmail.com>

p4raw-id: //depot/perl@33804

13 years agoUpgrade to Encode 2.25
Nicholas Clark [Sat, 10 May 2008 12:35:31 +0000 (12:35 +0000)]
Upgrade to Encode 2.25

p4raw-id: //depot/perl@33800

13 years agoRe: helping 5.8.9
Steffen Mueller [Sun, 4 May 2008 21:38:38 +0000 (23:38 +0200)]
Re: helping 5.8.9
Message-ID: <20080504193835.6906.qmail@lists.develooper.com>
Date: Sun, 04 May 2008 21:38:38 +0200

p4raw-id: //depot/perl@33799

13 years agoperlunitut link
Ricardo SIGNES [Fri, 9 May 2008 14:12:31 +0000 (10:12 -0400)]
perlunitut link
Message-ID: <20080509181231.GA20161@minion169.office.icgroup.com>

p4raw-id: //depot/perl@33798

13 years ago[perl #53908] perlpodspec typo "Encoding::Supported"
Kevin Ryde [Thu, 8 May 2008 17:38:00 +0000 (10:38 -0700)]
[perl #53908] perlpodspec typo "Encoding::Supported"
From: Kevin Ryde (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-20841-1210293480-1281.53908-75-0@perl.org>

p4raw-id: //depot/perl@33797

13 years agoThe last change to File::Copy broke the perl build.
Rafael Garcia-Suarez [Thu, 8 May 2008 16:56:05 +0000 (16:56 +0000)]
The last change to File::Copy broke the perl build.

p4raw-id: //depot/perl@33796

13 years agoBump version and document last change.
Rafael Garcia-Suarez [Thu, 8 May 2008 16:12:36 +0000 (16:12 +0000)]
Bump version and document last change.

p4raw-id: //depot/perl@33795

13 years agoFile::Copy & permission bits.
Abigail [Wed, 7 May 2008 23:16:54 +0000 (01:16 +0200)]
File::Copy & permission bits.
Message-ID: <20080507211654.GA7823@abigail.be>

p4raw-id: //depot/perl@33794

13 years agoUse 3-arg open.
Abigail [Tue, 6 May 2008 17:38:28 +0000 (19:38 +0200)]
Use 3-arg open.
Message-ID: <20080506153828.GA27662@abigail.be>

p4raw-id: //depot/perl@33793

13 years ago-Uusedl on cygwin
Reini Urban [Mon, 5 May 2008 20:34:13 +0000 (22:34 +0200)]
-Uusedl on cygwin
Message-ID: <481F5325.5090907@x-ray.at>

p4raw-id: //depot/perl@33792

13 years agoextra tests for t/op/range.t (was Re: [perl #53554] Range
Bram [Mon, 5 May 2008 20:03:32 +0000 (22:03 +0200)]
extra tests for t/op/range.t (was Re: [perl #53554] Range
Message-ID: <20080505200332.pke1i5vu7gos8kc0@horde.wizbit.be>

p4raw-id: //depot/perl@33791

13 years agoData::Dumper patch
Alexandr Ciornii [Thu, 8 May 2008 16:35:42 +0000 (19:35 +0300)]
Data::Dumper patch
Message-ID: <13810622109.20080508163542@gmail.com>

for support on perls < 5.10.0

p4raw-id: //depot/perl@33790

13 years agoDocumentation typo fix for mro.
Florian Ragwitz [Sun, 4 May 2008 17:40:05 +0000 (19:40 +0200)]
Documentation typo fix for mro.
Message-Id: <1209915605-11248-1-git-send-email-rafl@debian.org>

p4raw-id: //depot/perl@33789

13 years agoRecord-style reads in Perl_sv_gets have to be done with read(), not
Craig A. Berry [Sun, 4 May 2008 22:25:44 +0000 (22:25 +0000)]
Record-style reads in Perl_sv_gets have to be done with read(), not
fread() on VMS, and have been for some time.  Except that ain't gonna
work with PerlIO::Scalar's in-memory files.  Old bug exposed by new
test in #33769.

p4raw-id: //depot/perl@33788

13 years agoPerl 5.10/Encode 2.24: Tiny typo in Encode's Makefile.PL arg processing
Jesse Vincent [Sat, 3 May 2008 13:41:45 +0000 (09:41 -0400)]
Perl 5.10/Encode 2.24: Tiny typo in Encode's Makefile.PL arg processing
Message-Id: <961C2A4F-92B3-416D-A9F9-E7B0ADA9F134@fsck.com>

p4raw-id: //depot/perl@33783

13 years agoSomedays, Perforce makes me cranky. Fix perforce resolve
Steve Peters [Fri, 2 May 2008 15:38:46 +0000 (15:38 +0000)]
Somedays, Perforce makes me cranky.  Fix perforce resolve
of the changes to Digest-SHA's Makefile.PL.

p4raw-id: //depot/perl@33782

13 years agoTweaks to Digest-SHA's Makefile.PL that casued problems
Steve Peters [Fri, 2 May 2008 15:36:39 +0000 (15:36 +0000)]
Tweaks to Digest-SHA's Makefile.PL that casued problems
in the core.

p4raw-id: //depot/perl@33781

13 years agoFix makefile for core building
Rafael Garcia-Suarez [Fri, 2 May 2008 15:25:05 +0000 (15:25 +0000)]
Fix makefile for core building

p4raw-id: //depot/perl@33780

13 years agoUpgrade to Digest-SHA-5.47
Steve Peters [Fri, 2 May 2008 14:26:59 +0000 (14:26 +0000)]
Upgrade to Digest-SHA-5.47

p4raw-id: //depot/perl@33779

13 years agoRe: [perl #51636] segmentation fault with array ties
Vincent Pit [Wed, 12 Mar 2008 17:37:40 +0000 (18:37 +0100)]
Re: [perl #51636] segmentation fault with array ties
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <56287.147.210.17.175.1205339860.squirrel@147.210.17.175>

p4raw-id: //depot/perl@33778

13 years ago~~ with non-overloaded objects
Vincent Pit [Thu, 1 May 2008 12:45:51 +0000 (14:45 +0200)]
~~ with non-overloaded objects
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <63496.92.128.104.139.1209638751.squirrel@92.128.104.139>

p4raw-id: //depot/perl@33777

13 years agot/op/pat.t
Robin Barker [Thu, 1 May 2008 19:12:28 +0000 (20:12 +0100)]
t/op/pat.t
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093B34@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33776

13 years agoAdd a test for "lc(LATIN CAPITAL LETTER SHARP S)"
Rafael Garcia-Suarez [Wed, 30 Apr 2008 15:56:18 +0000 (15:56 +0000)]
Add a test for "lc(LATIN CAPITAL LETTER SHARP S)"

p4raw-id: //depot/perl@33775

13 years ago[perl #53560] Patch for linux LDAP groups
David Dick [Wed, 30 Apr 2008 05:17:54 +0000 (22:17 -0700)]
[perl #53560] Patch for linux LDAP groups
From: David Dick (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-20841-1209557873-1645.53560-75-0@perl.org>

p4raw-id: //depot/perl@33774

13 years agoUpgrade to CGI.pm-3.37
Steve Peters [Wed, 30 Apr 2008 12:57:38 +0000 (12:57 +0000)]
Upgrade to CGI.pm-3.37

p4raw-id: //depot/perl@33773

13 years agoUpgrade to bignum-0.23
Steve Peters [Wed, 30 Apr 2008 12:52:03 +0000 (12:52 +0000)]
Upgrade to bignum-0.23

p4raw-id: //depot/perl@33772

13 years ago[patch]perl5db.pl, perl5db.t - LINUX/UNIX/CYGWIN/VMS
John E. Malmberg [Mon, 28 Apr 2008 00:39:16 +0000 (19:39 -0500)]
[patch]perl5db.pl, perl5db.t - LINUX/UNIX/CYGWIN/VMS
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <48156304.30201@qsl.net>

p4raw-id: //depot/perl@33771

13 years agoDouble magic/warnings with tie $x, $m
Vincent Pit [Wed, 30 Apr 2008 13:14:00 +0000 (15:14 +0200)]
Double magic/warnings with tie $x, $m
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <62186.92.128.43.82.1209554040.squirrel@92.128.43.82>

p4raw-id: //depot/perl@33770

13 years agoRe: [PATCH] testing $/ with in memory files
Bram [Wed, 30 Apr 2008 11:55:30 +0000 (13:55 +0200)]
Re: [PATCH] testing $/ with in memory files
Message-ID: <20080430115530.a09bjj6tic480c80@horde.wizbit.be>

p4raw-id: //depot/perl@33769

13 years agoAvoid garbage in test output when running make minitest.
Rafael Garcia-Suarez [Wed, 30 Apr 2008 09:40:36 +0000 (09:40 +0000)]
Avoid garbage in test output when running make minitest.
This makes all minitests pass on my machine.

p4raw-id: //depot/perl@33768

13 years agoA skip() function is missing, to get this test pass with miniperl
Rafael Garcia-Suarez [Wed, 30 Apr 2008 09:31:53 +0000 (09:31 +0000)]
A skip() function is missing, to get this test pass with miniperl

p4raw-id: //depot/perl@33767

13 years agoDouble magic/warnings with binmode $fh, undef
Vincent Pit [Tue, 29 Apr 2008 19:33:21 +0000 (21:33 +0200)]
Double magic/warnings with binmode $fh, undef
From: "Vincent Pit" <perl@profvince.com>
Message-ID: <63615.92.128.97.94.1209490401.squirrel@92.128.97.94>

p4raw-id: //depot/perl@33766

13 years agoextra tests for t/op/sprintf2.t (was Re: [perl #45383] RE:
Bram [Tue, 29 Apr 2008 22:27:21 +0000 (00:27 +0200)]
extra tests for t/op/sprintf2.t (was Re: [perl #45383] RE:
Message-ID: <20080429222721.rwupydwjk00okwc0@horde.wizbit.be>

p4raw-id: //depot/perl@33765

13 years agoChange of maintainer.
Rafael Garcia-Suarez [Wed, 30 Apr 2008 07:38:00 +0000 (07:38 +0000)]
Change of maintainer.

p4raw-id: //depot/perl@33764

13 years agoWin32 process ids can have more than 16 bits
Jan Dubois [Tue, 29 Apr 2008 01:14:39 +0000 (18:14 -0700)]
Win32 process ids can have more than 16 bits
From: "Jan Dubois" <jand@activestate.com>
Message-ID: <01be01c8a9d1$12b32b10$38198130$@com>

p4raw-id: //depot/perl@33763

13 years agoCast the result of fpsetmask(0) to (void), as some implementations
Nicholas Clark [Mon, 28 Apr 2008 20:41:31 +0000 (20:41 +0000)]
Cast the result of fpsetmask(0) to (void), as some implementations
expand it via a macro, with a comma expression to calculate the return
value, at which point gcc has the gall to warn that an expression
calcualted is not used.
Blame SCO for having to have fpsetmask(0) in the code to start with.

p4raw-id: //depot/perl@33762

13 years agoclarification about @ISA declaration in perlboot.pod
Rafael Garcia-Suarez [Mon, 28 Apr 2008 08:19:36 +0000 (08:19 +0000)]
clarification about @ISA declaration in perlboot.pod
Patch provided by John Heidemann <johnh@isi.edu>
in perlbug #45733.

p4raw-id: //depot/perl@33761

13 years agodoc patch for perlrun -x
Bram [Sun, 27 Apr 2008 21:13:36 +0000 (23:13 +0200)]
doc patch for perlrun -x
Message-ID: <20080427211336.g8mvjusbcc4gwsk4@horde.wizbit.be>

p4raw-id: //depot/perl@33760

13 years agodoc patch for perlfunc/split (was: RE: [perl #46073] split
Bram [Sun, 27 Apr 2008 21:36:57 +0000 (23:36 +0200)]
doc patch for perlfunc/split (was: RE: [perl #46073] split
Message-ID: <20080427213657.mowrap5cgc0o00kc@horde.wizbit.be>

p4raw-id: //depot/perl@33759

13 years agoWarnings within the conditional of until() and for() are not reported
Nicholas Clark [Sun, 27 Apr 2008 10:20:10 +0000 (10:20 +0000)]
Warnings within the conditional of until() and for() are not reported
with the correct line number. (See change 33756). Curiously, warnings
for the third expression of for() have the correct line number.

p4raw-id: //depot/perl@33758

13 years agoUse File::Find rather than shell globbing to get the list of *.pm files
Nicholas Clark [Sun, 27 Apr 2008 10:13:49 +0000 (10:13 +0000)]
Use File::Find rather than shell globbing to get the list of *.pm files
to pass to AutoSplit::autosplit_lib_modules(). This way we only need to
invoke miniperl once, and we don't miss anything that is 3 or more
levels deep.

p4raw-id: //depot/perl@33757

13 years agoWarnings within the condition of while are not reported with the
Nicholas Clark [Sun, 27 Apr 2008 09:21:45 +0000 (09:21 +0000)]
Warnings within the condition of while are not reported with the
correct line number. TODO test inspired by code from Bram.

p4raw-id: //depot/perl@33756

13 years agoRevert change #33751, at least for now: this breaks perl5db.t
Rafael Garcia-Suarez [Sun, 27 Apr 2008 07:40:00 +0000 (07:40 +0000)]
Revert change #33751, at least for now: this breaks perl5db.t
p4raw-link: @33751 on //depot/perl: 216e512e84140c4f1a6711dd28168b2a82c86fd9

p4raw-id: //depot/perl@33753

13 years agoanother go; was RE: [perl #49302] [[:print:]] v \p{Print}
Robin Barker [Fri, 25 Apr 2008 14:21:06 +0000 (15:21 +0100)]
another go; was RE: [perl #49302] [[:print:]] v \p{Print}
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093B12@exchsvr2.npl.ad.local>

p4raw-id: //depot/perl@33752

13 years ago[patch]perl5db.pl - What I needed to get the forked debugger to work
John E. Malmberg [Thu, 24 Apr 2008 21:36:51 +0000 (16:36 -0500)]
[patch]perl5db.pl - What I needed to get the forked debugger to work
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <481143C3.3080500@qsl.net>

p4raw-id: //depot/perl@33751

13 years agoNew tests (and TODO tests) for ~~ and overloading,
Ricardo SIGNES [Fri, 18 Apr 2008 18:02:38 +0000 (14:02 -0400)]
New tests (and TODO tests) for ~~ and overloading,
based on:

Subject: object ~~ overloading and not
Message-ID: <20080418220238.GA91526@knight.local>

p4raw-id: //depot/perl@33750

13 years ago[perl #53238] Patch to stop t/op/fork.t relying on rand
David Dick [Wed, 23 Apr 2008 04:12:42 +0000 (21:12 -0700)]
[perl #53238] Patch to stop t/op/fork.t relying on rand
From: David Dick (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-23612-1208949161-1511.53238-75-0@perl.org>

p4raw-id: //depot/perl@33749

13 years agoNote about moving modules to ext/
Rafael Garcia-Suarez [Sat, 26 Apr 2008 16:02:26 +0000 (16:02 +0000)]
Note about moving modules to ext/

p4raw-id: //depot/perl@33748

13 years agoupdate Pod-Perldoc to version 3.14_04
Adriano Ferreira [Wed, 23 Apr 2008 09:45:35 +0000 (06:45 -0300)]
update Pod-Perldoc to version 3.14_04
From: "Adriano Ferreira" <a.r.ferreira@gmail.com>
Message-ID: <73ddeb6c0804230545v75fee05dmeb849636addb14e1@mail.gmail.com>

p4raw-id: //depot/perl@33747

13 years agoInline the trivial S_raise_signal function in the perl signal handler.
Gisle Aas [Thu, 24 Apr 2008 20:54:50 +0000 (20:54 +0000)]
Inline the trivial S_raise_signal function in the perl signal handler.

This makes the code more readable and avoids the need for excuses
for why the function is (still) named this way.

It also effectively avoids segfaults observed with gcc-3.3 when
the sibling-call optimization is used for invoking S_raise_signal()
just before the signal handler returns.

p4raw-id: //depot/perl@33741

13 years agoStop File::Copy truncating destination files if passed 3 named
Nicholas Clark [Thu, 24 Apr 2008 17:04:58 +0000 (17:04 +0000)]
Stop File::Copy truncating destination files if passed 3 named
arguments by accident. In Copy.t, ensure that all file system calls
die with $! if they fail.

p4raw-id: //depot/perl@33740

13 years agoDrop #ifdefs that became empty in change #32012.
Gisle Aas [Thu, 24 Apr 2008 11:15:15 +0000 (11:15 +0000)]
Drop #ifdefs that became empty in change #32012.
p4raw-link: @32012 on //depot/perl: b6455c53c26be8a62e12a3f2a24a3a5086dd2c7b

p4raw-id: //depot/perl@33739

13 years agoLooks like we can do System V IPC 64 bit on Leopard. Lets see whether
Nicholas Clark [Thu, 24 Apr 2008 11:05:02 +0000 (11:05 +0000)]
Looks like we can do System V IPC 64 bit on Leopard. Lets see whether
the magic smoke escapes from other testers.

p4raw-id: //depot/perl@33738

13 years agoOn Darwin, -Uuse64bitall shouldn't mean -Duse64bitall :-/
Nicholas Clark [Thu, 24 Apr 2008 10:38:56 +0000 (10:38 +0000)]
On Darwin, -Uuse64bitall shouldn't mean -Duse64bitall  :-/
Plus fix a pair of typos in a diagnostic output.

p4raw-id: //depot/perl@33737

13 years agoAdd "safely supporting POSIX SA_SIGINFO" to perltodo, as described in
Nicholas Clark [Wed, 23 Apr 2008 17:23:34 +0000 (17:23 +0000)]
Add "safely supporting POSIX SA_SIGINFO" to perltodo, as described in
the thread starting with
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-03/msg00305.html

p4raw-id: //depot/perl@33734

13 years agoNote that Rafael did the key elsif() line number TODO, and we're not
Nicholas Clark [Tue, 22 Apr 2008 15:01:52 +0000 (15:01 +0000)]
Note that Rafael did the key elsif() line number TODO, and we're not
certain that solving the general case is worth it.

p4raw-id: //depot/perl@33724

13 years agoUpgrade to ExtUtils-CBuilder-0.23
Steve Hay [Tue, 22 Apr 2008 09:41:44 +0000 (09:41 +0000)]
Upgrade to ExtUtils-CBuilder-0.23

Wipes out local mods in 01-basic.t from #33339 (which are superseded
by changes in 0.23), but keeps local mods for VMS from #32277 (which
are still not in 0.23)

p4raw-id: //depot/perl@33721

13 years agoUpgrade to Win32-0.36
Steve Hay [Tue, 22 Apr 2008 09:38:45 +0000 (09:38 +0000)]
Upgrade to Win32-0.36

p4raw-id: //depot/perl@33720

13 years agoUpdate Compression modules to version 2.009
Paul Marquess [Sun, 20 Apr 2008 15:54:46 +0000 (16:54 +0100)]
Update Compression modules to version 2.009
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Message-ID: <006601c8a2f6$7d18a200$6501a8c0@myopwv.com>

p4raw-id: //depot/perl@33716

13 years agoUpgrade to Math::BigInt v1.89
Rafael Garcia-Suarez [Mon, 21 Apr 2008 07:34:12 +0000 (07:34 +0000)]
Upgrade to Math::BigInt v1.89

p4raw-id: //depot/perl@33715

13 years agoRe: wrong line numbers in elsif()
Paul Johnson [Sat, 19 Apr 2008 13:02:06 +0000 (15:02 +0200)]
Re: wrong line numbers in elsif()
Message-ID: <20080419110206.GE32555@pjcj.net>

p4raw-id: //depot/perl@33714

13 years ago[perl #52860] [PATCH] Incorrect variable name in perlintro
Matt Kraai [Sun, 13 Apr 2008 15:56:37 +0000 (08:56 -0700)]
[perl #52860] [PATCH] Incorrect variable name in perlintro
From: Matt Kraai (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-25460-1208127396-514.52860-75-0@perl.org>

p4raw-id: //depot/perl@33713

13 years ago[perl #52866] [PATCH] Missing period in perlintro
Matt Kraai [Sun, 13 Apr 2008 21:01:50 +0000 (14:01 -0700)]
[perl #52866] [PATCH] Missing period in perlintro
From: Matt Kraai (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-23612-1208145708-1282.52866-75-0@perl.org>

p4raw-id: //depot/perl@33712

13 years ago[perl #53000] Patch for featured TODO: make a reproducible perlmodlib.PL
James Bence [Wed, 16 Apr 2008 22:22:12 +0000 (15:22 -0700)]
[perl #53000] Patch for featured TODO: make a reproducible perlmodlib.PL
From: "James Bence" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-23612-1208409731-470.53000-75-0@perl.org>

plus regen perlmodlib (from a clean source tree)
and remove perltodo note

p4raw-id: //depot/perl@33711

13 years agoFix the line-number-in-elsif longstanding bug.
Rafael Garcia-Suarez [Fri, 18 Apr 2008 10:42:17 +0000 (10:42 +0000)]
Fix the line-number-in-elsif longstanding bug.
This patch does two things :
- newSTATEOP now nullifies the state op it
  just created if OPf_SPECIAL is passed to it
  in flags
- the parser now inserts a nullified stateop
  in the expression block of an elsif

p4raw-id: //depot/perl@33710

13 years agoAdd "eliminate incorrect line numbers in warnings" to perltodo, and
Nicholas Clark [Thu, 17 Apr 2008 20:17:14 +0000 (20:17 +0000)]
Add "eliminate incorrect line numbers in warnings" to perltodo, and
a pair of TODO tests for the desired behaviour.

p4raw-id: //depot/perl@33709

13 years agoExpand "repack the optree" and add "store the current PAD", which was
Nicholas Clark [Thu, 17 Apr 2008 15:15:48 +0000 (15:15 +0000)]
Expand "repack the optree" and add "store the current PAD", which was
something Dave and I talked about 2 weeks ago.

p4raw-id: //depot/perl@33708

13 years agoRemove a dead case from the error reporting in
Nicholas Clark [Thu, 17 Apr 2008 13:36:21 +0000 (13:36 +0000)]
Remove a dead case from the error reporting in
Perl_gv_fetchmethod_flags()

p4raw-id: //depot/perl@33707

13 years agoPerl_gv_fetchmethod{,_autoload,_flags} are actually never* called with
Nicholas Clark [Thu, 17 Apr 2008 12:47:39 +0000 (12:47 +0000)]
Perl_gv_fetchmethod{,_autoload,_flags} are actually never* called with
a non-NULL stash. So change the parameter to NN.
* Fixed the one really obscure hitherto untested case.

p4raw-id: //depot/perl@33706

13 years agoTest dbmopen more thoroughly, including closing the coverage hole for
Nicholas Clark [Thu, 17 Apr 2008 12:44:56 +0000 (12:44 +0000)]
Test dbmopen more thoroughly, including closing the coverage hole for
the code that automatically requires AnyDBM_File.pm in pp_dbmopen.

p4raw-id: //depot/perl@33705

13 years ago%.*s mandates an "int", says the C standard
Rafael Garcia-Suarez [Thu, 17 Apr 2008 10:03:04 +0000 (10:03 +0000)]
%.*s mandates an "int", says the C standard

p4raw-id: //depot/perl@33704

13 years agoFix warning with int size in printf format
Rafael Garcia-Suarez [Thu, 17 Apr 2008 09:50:34 +0000 (09:50 +0000)]
Fix warning with int size in printf format

p4raw-id: //depot/perl@33703

13 years ago/* This code tries to figure out just what went wrong with
Nicholas Clark [Thu, 17 Apr 2008 07:58:29 +0000 (07:58 +0000)]
/* This code tries to figure out just what went wrong with
   gv_fetchmethod.  It therefore needs to duplicate a lot of
          the internals of that function.
"Duplicate". <snigger>. You said a naughty word. Now sanitised.

[All tests pass, but I'm not 100% confident that this code is
 equivalent in all reachable corner cases, and it may be possible
 to simplify the error reporting logic now in gv_fetchmethod_flags]

p4raw-id: //depot/perl@33702

13 years agoAvoid forwards and then backwards on the :: splitting logic in
Nicholas Clark [Wed, 16 Apr 2008 16:08:04 +0000 (16:08 +0000)]
Avoid forwards and then backwards on the :: splitting logic in
Perl_gv_fetchmethod_autoload()

p4raw-id: //depot/perl@33701

13 years agoUse like() rather than is() to get better failure diagnostics.
Nicholas Clark [Wed, 16 Apr 2008 15:15:20 +0000 (15:15 +0000)]
Use like() rather than is() to get better failure diagnostics.
(One step beyond Jarkko's change 15735)

p4raw-id: //depot/perl@33700

13 years agoUpgrade to Digest::SHA 5.46
Rafael Garcia-Suarez [Wed, 16 Apr 2008 14:01:46 +0000 (14:01 +0000)]
Upgrade to Digest::SHA 5.46
(but keep core-compliant test preambles)

p4raw-id: //depot/perl@33699

13 years agoUpgrade to Math::Complex 1.54
Rafael Garcia-Suarez [Wed, 16 Apr 2008 13:51:36 +0000 (13:51 +0000)]
Upgrade to Math::Complex 1.54

p4raw-id: //depot/perl@33698

13 years agoAdd the verbatim perl code mentioned in the comments of
Nicholas Clark [Wed, 16 Apr 2008 13:15:20 +0000 (13:15 +0000)]
Add the verbatim perl code mentioned in the comments of
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-05/msg01710.html
but never actually tested.

p4raw-id: //depot/perl@33697

13 years agoUsing memEQ() rather than strnEQ() when the length is known feels
Nicholas Clark [Wed, 16 Apr 2008 10:59:28 +0000 (10:59 +0000)]
Using memEQ() rather than strnEQ() when the length is known feels
cleaner.

p4raw-id: //depot/perl@33696

13 years agoCall cop_free on nullified cops too
Rafael Garcia-Suarez [Tue, 15 Apr 2008 15:54:31 +0000 (15:54 +0000)]
Call cop_free on nullified cops too
(this is a followup to 33687)

p4raw-id: //depot/perl@33695

13 years agoDe-encode missed RFC 2047 encoded headers.
Nicholas Clark [Tue, 15 Apr 2008 15:14:38 +0000 (15:14 +0000)]
De-encode missed RFC 2047 encoded headers.

p4raw-id: //depot/perl@33693

13 years agoMove the NoExporter test module under Test::Simple
Rafael Garcia-Suarez [Tue, 15 Apr 2008 15:04:29 +0000 (15:04 +0000)]
Move the NoExporter test module under Test::Simple
(part of a plan to have modules self contained, and removing test modules from t/lib)

p4raw-id: //depot/perl@33692

13 years agoAdd Dummy.pm from the base CPAN distribution,
Rafael Garcia-Suarez [Tue, 15 Apr 2008 14:57:24 +0000 (14:57 +0000)]
Add Dummy.pm from the base CPAN distribution,
and adjust tests accordingly

p4raw-id: //depot/perl@33691

13 years agoUpgrade to Test::Simple 0.80, but keep locally modified More.t
Rafael Garcia-Suarez [Tue, 15 Apr 2008 14:51:06 +0000 (14:51 +0000)]
Upgrade to Test::Simple 0.80, but keep locally modified More.t

p4raw-id: //depot/perl@33690

13 years agoAdapt properly More.t to run in the core
Rafael Garcia-Suarez [Tue, 15 Apr 2008 13:53:27 +0000 (13:53 +0000)]
Adapt properly More.t to run in the core
(like Module::Build does, for example)

p4raw-id: //depot/perl@33689

13 years agoSync with CPAN's version of the More.t test in Test::Simple
Rafael Garcia-Suarez [Tue, 15 Apr 2008 13:51:15 +0000 (13:51 +0000)]
Sync with CPAN's version of the More.t test in Test::Simple
and delete duplicated test module Dummy.pm. (test now
expected to fail)

p4raw-id: //depot/perl@33688

13 years agoinvalid cop_free of nullified cop. How to fix?
Reini Urban [Tue, 15 Apr 2008 14:09:11 +0000 (16:09 +0200)]
invalid cop_free of nullified cop. How to fix?
From: "Reini Urban" <rurban@x-ray.at>
Message-ID: <6910a60804150509j3c100fc4t2ed303ae0124ba15@mail.gmail.com>

p4raw-id: //depot/perl@33687

13 years agoAdd a regression test for bug #52658 (fixed by change #33685)
Rafael Garcia-Suarez [Tue, 15 Apr 2008 12:43:02 +0000 (12:43 +0000)]
Add a regression test for bug #52658 (fixed by change #33685)
based on code by Wolf-Dietrich Moeller
p4raw-link: @33685 on //depot/perl: ef0d4e17921ee3de62e9c127fad712496e6d7810

p4raw-id: //depot/perl@33686

13 years agoRevert change #26334, which was introducing too many bugs
Rafael Garcia-Suarez [Tue, 15 Apr 2008 12:29:33 +0000 (12:29 +0000)]
Revert change #26334, which was introducing too many bugs
p4raw-link: @26334 on //depot/perl: 8ff629d935fd2dba7977969e7922b9cd55cc75d2

p4raw-id: //depot/perl@33685

13 years agoFix for [perl #52074] Segfault on ISA push after symbol table delete
Rafael Garcia-Suarez [Tue, 15 Apr 2008 08:36:48 +0000 (08:36 +0000)]
Fix for [perl #52074] Segfault on ISA push after symbol table delete

This restores the 5.8.8 behaviour. The deleted stash is not vivified
again, hence the hierarchy remains broken. But there's no segfault.

p4raw-id: //depot/perl@33684