This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
15 years agoRevert "Bump version of File::Copy"
David Mitchell [Sat, 9 May 2009 17:17:36 +0000 (18:17 +0100)]
Revert "Bump version of File::Copy"

This reverts commit 216e7dec1076aa94d5b8331c187c135e4952955a.

(File::Copy version had already been bumped, so no need to bump again)

15 years agoSilence Win32 compiler warning in IO.xs
Steve Hay [Fri, 8 May 2009 10:08:02 +0000 (11:08 +0100)]
Silence Win32 compiler warning in IO.xs

The ioctl() function on Win32 is really win32_ioctl(), the third argument
of which is a char*.

15 years agoUpgrade CPANPLUS::Dist::Build to 0.28
Chris 'BinGOs' Williams [Fri, 8 May 2009 10:50:33 +0000 (12:50 +0200)]
Upgrade CPANPLUS::Dist::Build to 0.28

15 years agogit checkout in add-package.pl, not git co
Chris 'BinGOs' Williams [Fri, 8 May 2009 10:49:40 +0000 (12:49 +0200)]
git checkout in add-package.pl, not git co

15 years agoUpdate CPAN.pm to 1.93_54
Andreas J Koenig [Thu, 7 May 2009 20:25:16 +0000 (22:25 +0200)]
Update CPAN.pm to 1.93_54

15 years agoBring PathTools changes file in sync with... PathTools
Steffen Mueller [Thu, 7 May 2009 17:58:11 +0000 (19:58 +0200)]
Bring PathTools changes file in sync with... PathTools

15 years agoUpgrade to CPANPLUS-Dist-Build-0.26
Chris 'BinGOs' Williams [Thu, 7 May 2009 17:13:02 +0000 (18:13 +0100)]
Upgrade to CPANPLUS-Dist-Build-0.26

Stops tests from fetching CPAN indexes.

Message-ID: <20090507162935.GA29922@klanker.bingosnet.co.uk>
(Tweaked to update MANIFEST too.)

15 years agoFix ExtUtils::Miniperl on Win32
Steve Hay [Thu, 7 May 2009 08:26:05 +0000 (09:26 +0100)]
Fix ExtUtils::Miniperl on Win32

Default configuration builds on Win32 require perlmain.c to #include
perlapi.h (e.g. via XSUB.h) to avoid linker errors over PL_do_undump
and PL_use_safe_putenv.

From: Ben Morrow <ben@morrow.me.uk>
Date: Wed, 6 May 2009 22:38:01 +0100
Message-ID: <20090506213801.GA9074@osiris.mauzo.dyndns.org>

15 years agoFix POSIX::tzset() as per Time::Piece::_tzset().
Steve Hay [Wed, 6 May 2009 17:16:20 +0000 (18:16 +0100)]
Fix POSIX::tzset() as per Time::Piece::_tzset().

Jan Dubois suggested POSIX::tzset() should be fixed too, but there is no
way to share the code since Time-Piece is dual-lived and POSIX is not.
Therefore, the code is simply duplicated with appropriate comments to
prompt keeping the two in sync.

15 years ago-Duserelocatableinc and -Duseshrplib don't work together
H.Merijn Brand [Wed, 6 May 2009 12:02:22 +0000 (14:02 +0200)]
-Duserelocatableinc and -Duseshrplib don't work together
Extra explaining needed in INSTALL

15 years agoFix code before declaration compile error on Win32
Steve Hay [Wed, 6 May 2009 11:50:09 +0000 (12:50 +0100)]
Fix code before declaration compile error on Win32

The code written out by ExtUtils::Miniperl::writemain() contained the
code
PERL_UNUSED_CONTEXT;
before the declarations
const char file[] = __FILE__;
dXSUB_SYS;
which Win32's VC++ compiler doesn't like.

15 years agoperltie.pod docpatch
David Cantrell [Wed, 6 May 2009 10:26:56 +0000 (11:26 +0100)]
perltie.pod docpatch

Some years ago I submitted a docpatch for perltie to mention DBM::Deep
alongside MLDBM.  This updates that patch.

The change is merely to remove the word "experimental" now that DBM::Deep
is over five years old and is stable.

$ diff -u ./pod/perltie.pod~ ./pod/perltie.pod

Signed-off-by: Abigail <abigail@abigail.be>
15 years agoExport two more PerlIO symbols.
Steve Hay [Wed, 6 May 2009 09:25:00 +0000 (10:25 +0100)]
Export two more PerlIO symbols.

Ben Morrow noticed that:

PerlIO_push is exported, but PerlIO_find_layer is not, so getting a
PerlIO_funcs* to pass to it is difficult.

Several exported functions (PerlIO_parse_layers, PerlIO_layer_fetch,
PerlIO_list_free, ...) take a PerlIO_list_t* argument, but
PerlIO_list_alloc is not exported, so these are effectively useless.

15 years agoAdd $(LDLIBPTH) to the documentation generation command lines.
Nicholas Clark [Tue, 5 May 2009 17:00:38 +0000 (18:00 +0100)]
Add $(LDLIBPTH) to the documentation generation command lines.
(A perl build with a shared libperl needs this.)

15 years agoBump $VERSION of FileCache
Rafael Garcia-Suarez [Tue, 5 May 2009 14:42:09 +0000 (16:42 +0200)]
Bump $VERSION of FileCache

15 years agoDocument that FileCache uses symbolic references
Niko Tyni [Tue, 5 May 2009 06:07:57 +0000 (09:07 +0300)]
Document that FileCache uses symbolic references

As noted by Marc Haber in <http://bugs.debian.org/318579>,
using FileCache.pm as per the SYNOPSIS doesn't work under
'use strict'. This is a bit unexpected nowadays, so mention
it in the documentation.

15 years agoFix Time-Piece tests on Win32 with PERL_IMPLICIT_SYS
Steve Hay [Tue, 5 May 2009 11:37:03 +0000 (12:37 +0100)]
Fix Time-Piece tests on Win32 with PERL_IMPLICIT_SYS

Various fixes and improvements to 6e0733998eff7a098d2d21d5602f3eb2a7521e1f
suggested by the following emails in a long thread...

From: "Jan Dubois" <jand@activestate.com>
Date: Fri, 17 Apr 2009 10:07:19 -0700
Message-ID: <00be01c9bf7e$f8250510$e86f0f30$@com>

From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 20 Apr 2009 17:58:38 -0700
Message-ID: <000f01c9c21c$4e3b6d00$eab24700$@com>

From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 27 Apr 2009 18:12:15 -0700
Message-ID: <000001c9c79e$5e766f30$1b634d90$@com>

From: Rob May <rob@themayfamily.me.uk>
Date: Tue, 28 Apr 2009 19:17:44 +0100
Message-ID: <54bdc7510904281117j2058484fnb19d75d13b553c0e@mail.gmail.com>

From: Rob May <rob@themayfamily.me.uk>
Date: Sat, 2 May 2009 08:41:26 +0100
Message-ID: <54bdc7510905020041w4333e213u4630fad7c18ac919@mail.gmail.com>

From: "Jan Dubois" <jand@activestate.com>
Date: Mon, 4 May 2009 15:05:56 -0700
Message-ID: <001101c9cd04$7fefe040$7fcfa0c0$@com>

15 years agoBump version of File::Copy
Rafael Garcia-Suarez [Tue, 5 May 2009 07:18:29 +0000 (09:18 +0200)]
Bump version of File::Copy

15 years agoMake File::Copy always return 0 (not "") on failure.
Paul Fenwick [Fri, 24 Apr 2009 13:44:01 +0000 (23:14 +0930)]
Make File::Copy always return 0 (not "") on failure.

On Unix systems, the subroutines in File::Copy always return 0
on failure.

On Windows, move() and mv() return 0, but copy() and cp() return "".

This commit makes File::Copy consistently return 0 on failure.

15 years agoIn Perl_gp_dup(), no need to explicitly zero ret->gp_refcnt after the Newxz().
Nicholas Clark [Mon, 4 May 2009 21:58:02 +0000 (22:58 +0100)]
In Perl_gp_dup(), no need to explicitly zero ret->gp_refcnt after the Newxz().

15 years agoMake Perl_hek_dup() cope with a NULL "source" parameter (by returning NULL).
Nicholas Clark [Mon, 4 May 2009 17:53:39 +0000 (18:53 +0100)]
Make Perl_hek_dup() cope with a NULL "source" parameter (by returning NULL).
Change its callers to take advantage of this.

15 years agoFix SEGVs when cloning a typeglob that has been undefined. (RT #64954)
Nicholas Clark [Mon, 4 May 2009 17:12:03 +0000 (18:12 +0100)]
Fix SEGVs when cloning a typeglob that has been undefined. (RT #64954)

15 years agoUpdate IPC::Cmd to 0.44
Jos I. Boumans [Mon, 4 May 2009 08:19:10 +0000 (10:19 +0200)]
Update IPC::Cmd to 0.44

15 years agoPatch to fix the problem enclosed.
H.Merijn Brand [Mon, 4 May 2009 09:54:22 +0000 (11:54 +0200)]
Patch to fix the problem enclosed.

Subject: [PATCH] compress 2.019 ( was RE: [PATCH] compress 2.018)
From: "Paul Marquess" <Paul.Marquess@ntlworld.com>
Date: Mon, 4 May 2009 10:40:34 +0100
Message-ID: <011f01c9cc9c$610b6130$23222390$@Marquess@ntlworld.com>

15 years agoClarify that =encoding is global in POD
Dan Jacobson [Mon, 4 May 2009 07:47:43 +0000 (09:47 +0200)]
Clarify that =encoding is global in POD

15 years agoUpdate CPAN.pm to 1.93_53
Andreas J Koenig [Mon, 4 May 2009 06:23:18 +0000 (08:23 +0200)]
Update CPAN.pm to 1.93_53

15 years agoRE: [PATCH] compress 2.018
H.Merijn Brand [Sun, 3 May 2009 18:53:16 +0000 (19:53 +0100)]
RE: [PATCH] compress 2.018

> On Sun, 3 May 2009 17:30:27 +0100, "Paul Marquess"
> <Paul.Marquess@ntlworld.com> wrote:
>
> > A few fixes for the compression modules.
>
> Where?

Enclosed

Paul

From 389fe95522cdfda81bff0fde92dc66ef9c275bd8 Mon Sep 17 00:00:00 2001
From: Paul Marquess <pmqs@cpan.org>
Date: Sun, 3 May 2009 17:13:51 +0100
Subject: [PATCH] compress 2.018

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
15 years agoAdd tests for last and next in when()
Rafael Garcia-Suarez [Sun, 3 May 2009 13:26:09 +0000 (15:26 +0200)]
Add tests for last and next in when()

15 years agoRemove warnings "Exiting given/when via next/last"
Rafael Garcia-Suarez [Sun, 3 May 2009 12:46:19 +0000 (14:46 +0200)]
Remove warnings "Exiting given/when via next/last"

See bug [perl #65114] possible unnecesary warning / Exiting given via next.
Those warnings were not necessary.

15 years agoDocument that XS_VERSION_BOOTCHECK may break if $VERSION is a long enough NV
Niko Tyni [Wed, 29 Apr 2009 20:02:01 +0000 (23:02 +0300)]
Document that XS_VERSION_BOOTCHECK may break if $VERSION is a long enough NV

As seen in <http://bugs.debian.org/482139>, using a long floating point
number as $VERSION can make XS_VERSION_BOOTCHECK fail because of a loss
of precision in the stringification:

RRDs object version 1.2999070803 does not match bootstrap parameter 1.29990708 at /usr/lib/perl/5.10/DynaLoader.pm line 219.

The mismatch happens in Perl_upg_version(), which converts a double value
(NV) to a string with nine decimals but leaves a string value intact.

Using a string as $VERSION works fine:

-$VERSION=1.299907080300;
+$VERSION="1.299907080300";

so recommend this in the VERSIONCHECK entry of perlxs.pod.

15 years agofix POD typo
Frank Wiegand [Sat, 2 May 2009 15:47:15 +0000 (17:47 +0200)]
fix POD typo

Signed-off-by: Abigail <abigail@abigail.be>
15 years agoUpdate Archive::Tar to 1.48
Jos I. Boumans [Sat, 2 May 2009 13:56:14 +0000 (15:56 +0200)]
Update Archive::Tar to 1.48

15 years agot/test - Hack for VMS pipe bug.
John E. Malmberg [Mon, 27 Apr 2009 02:00:25 +0000 (21:00 -0500)]
t/test - Hack for VMS pipe bug.

The VMS pipe bug inserts blank lines in places that can prevent the
leader from being seen.

So on the leader line, read in the rest of the line.

15 years agoAdd generated perltoc to git ignore list
Rafael Garcia-Suarez [Fri, 1 May 2009 14:06:22 +0000 (16:06 +0200)]
Add generated perltoc to git ignore list

15 years agoUpdate CPANPLUS to 0.8601
Jos I. Boumans [Tue, 28 Apr 2009 15:05:31 +0000 (17:05 +0200)]
Update CPANPLUS to 0.8601

15 years agoFix -p function and Fcntl::S_IFIFO constant under Microsoft VC compiler
Jan Dubois [Mon, 27 Apr 2009 23:03:38 +0000 (16:03 -0700)]
Fix -p function and Fcntl::S_IFIFO constant under Microsoft VC compiler

Create S_IFIFO macro as an alias for _S_IFIFO if only the latter is being
defined by the standard headers (e.g. Microsoft Visual C++).

This is necessary to get the C<-p> function working, and also to define
the Fcntl::S_IFIFO constant.

See also http://bugs.activestate.com/show_bug.cgi?id=82665

Cheers,
-Jan

From 6386a37b103723e3c473119b95dd0b8edc59a1ed Mon Sep 17 00:00:00 2001
From: Jan Dubois <jand@activestate.com>
Date: Mon, 27 Apr 2009 15:44:23 -0700
Subject: [PATCH] Create S_IFIFO macro as an alias for _S_IFIFO if only the latter is being
 defined by the standard headers (e.g. Microsoft Visual C++).

This is necessary to get the C<-p> function working, and also to define
the Fcntl::S_IFIFO constant.

See also http://bugs.activestate.com/show_bug.cgi?id=82665

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
15 years agoMinor fixups for the documentation for crypt.
Jay Hannah [Mon, 27 Apr 2009 22:25:52 +0000 (23:25 +0100)]
Minor fixups for the documentation for crypt.

15 years agoUpdate CPANPLUS::Dist::Build to version 0.24
Chris 'BinGOs' Williams [Mon, 27 Apr 2009 16:13:04 +0000 (18:13 +0200)]
Update CPANPLUS::Dist::Build to version 0.24

This fixes an integration issue with the latest CPANPLUS (0.86).

15 years agoUpdate CPANPLUS to 0.86
Jos I. Boumans [Mon, 27 Apr 2009 15:32:08 +0000 (17:32 +0200)]
Update CPANPLUS to 0.86

15 years agoSimplifications to S_incpush() now possible without MACOS_TRADITIONAL.
Nicholas Clark [Mon, 27 Apr 2009 10:01:08 +0000 (11:01 +0100)]
Simplifications to S_incpush() now possible without MACOS_TRADITIONAL.

15 years agoRemove all #ifdef MACOS_TRADITIONAL code in core and non-dual-life XS code.
Nicholas Clark [Mon, 27 Apr 2009 07:02:55 +0000 (08:02 +0100)]
Remove all #ifdef MACOS_TRADITIONAL code in core and non-dual-life XS code.

(MacOS support was removed from MakeMaker in 6.22, and merged to blead on
15th December 2004 with 5dca256ec738057dc331fb644a93eca44ad5fa14. After this
point MacOS wouldn't even have been able to build the perl binary, because it
would not have been able to build DynaLoader. If anyone wishes to resurrect
MacOS, start by reversing this commit and the relevant part of that commit.)

15 years agoFix #if/#else bug introduced with MACOS_TRADITIONAL patches in change 9479.
Nicholas Clark [Sun, 26 Apr 2009 22:44:53 +0000 (23:44 +0100)]
Fix #if/#else bug introduced with MACOS_TRADITIONAL patches in change 9479.
(7369a5240f1efb9ab50b6f47289fb602aaaccc25)

15 years ago[PATCH] Update Term::UI to 0.20
Jos I. Boumans [Sun, 26 Apr 2009 02:20:37 +0000 (21:20 -0500)]
[PATCH] Update Term::UI to 0.20

15 years ago[PATCH] Allow PERL5OPT=-W
Michael G Schwern [Sun, 26 Apr 2009 02:16:12 +0000 (21:16 -0500)]
[PATCH] Allow PERL5OPT=-W

15 years agoperltoc.pod depends on perldelta.pod.
Craig A. Berry [Sat, 25 Apr 2009 23:14:23 +0000 (18:14 -0500)]
perltoc.pod depends on perldelta.pod.

15 years agoMake time64 use NV for time_t, I32 for year, not Quad_t.
Craig A. Berry [Sat, 25 Apr 2009 22:51:38 +0000 (17:51 -0500)]
Make time64 use NV for time_t, I32 for year, not Quad_t.

This means it should run on anything that does not have a 64-bit
integer type available but does have a double.  Presumably this
includes platforms that define PERL_MICRO, so we now use the
same extended time implementation for everything that runs Perl.

15 years agomake the File::Copy permission change from 2.15 onwards (to allow for a
David Mitchell [Sat, 25 Apr 2009 19:36:19 +0000 (20:36 +0100)]
make the File::Copy permission change from 2.15 onwards (to allow for a
maint-5.10 2.14 release)

15 years ago[perl #56644] TODO was too severe. Only :unix :stdio were failing
David Mitchell [Sat, 25 Apr 2009 19:32:26 +0000 (20:32 +0100)]
[perl #56644] TODO was too severe. Only :unix :stdio were failing

15 years agoFlag that perltoc.pod should be omitted from perltoc.pod.
Nicholas Clark [Sat, 25 Apr 2009 15:29:16 +0000 (16:29 +0100)]
Flag that perltoc.pod should be omitted from perltoc.pod.

15 years agoClean up pod/buildtoc so it will run on VMS.
Craig A. Berry [Fri, 24 Apr 2009 17:44:29 +0000 (12:44 -0500)]
Clean up pod/buildtoc so it will run on VMS.

It still doesn't handle case-levelled extension names properly and
it still tries to index perltoc.pod while it has it open for write,
but at least it doesn't hang now.

15 years agoRun buildtoc on VMS.
Craig A. Berry [Fri, 24 Apr 2009 14:34:37 +0000 (09:34 -0500)]
Run buildtoc on VMS.

15 years agoUse %Module::CoreList::bug_tracker to print out upstream bug tracker URLs.
Nicholas Clark [Thu, 23 Apr 2009 20:39:03 +0000 (21:39 +0100)]
Use %Module::CoreList::bug_tracker to print out upstream bug tracker URLs.

Where the user names a module that their bug report is about, and we know the
URL for its upstream bug tracker, provide a message to the user explaining
that the core copies the CPAN version directly, and provide the URL for
reporting the bug directly to upstream.

15 years agoAdd %upstream and %bug_tracker data to Module::CoreList.
Nicholas Clark [Thu, 23 Apr 2009 20:38:19 +0000 (21:38 +0100)]
Add %upstream and %bug_tracker data to Module::CoreList.

15 years agoUse files_to_modules() and a CPAN mirror to map modules to bug tracker URLs.
Nicholas Clark [Thu, 23 Apr 2009 20:35:26 +0000 (21:35 +0100)]
Use files_to_modules() and a CPAN mirror to map modules to bug tracker URLs.

Output two hashes, ready for inclusion in Module::CoreList. %upstream maps
module names to the UPSTREAM status in Porting/Maintainers.pl. %bug_tracker
maps module names to the URL of the bug tracker, or undef if explict bug
tracker is not known for a module known to be dual life.

15 years agoBreak out the logic that maps file names to modules into files_to_modules().
Nicholas Clark [Thu, 23 Apr 2009 20:33:46 +0000 (21:33 +0100)]
Break out the logic that maps file names to modules into files_to_modules().

15 years agoqr_gc.t is only TODO on 5.11.x+
David Mitchell [Thu, 23 Apr 2009 17:13:08 +0000 (18:13 +0100)]
qr_gc.t is only TODO on 5.11.x+

15 years agoAdd an idea to perltodo
Steve Peters [Thu, 23 Apr 2009 17:13:00 +0000 (12:13 -0500)]
Add an idea to perltodo

15 years agoSpace between target and colon is not optional in VMS description files.
Craig A. Berry [Thu, 23 Apr 2009 01:41:08 +0000 (20:41 -0500)]
Space between target and colon is not optional in VMS description files.

Follow-up to 7eb47696deb9a7343fb4847f7342919a6df59e21.

15 years agoSean would like to pass on his maintainership of I18N::LangTags modules.
Nicholas Clark [Wed, 22 Apr 2009 22:07:16 +0000 (23:07 +0100)]
Sean would like to pass on his maintainership of I18N::LangTags modules.
For now, consider them to be maintained by p5p.

15 years ago7eb47696deb9a7343fb4847f7342919a6df59e21 should be $(ext) rather than ext.
Nicholas Clark [Tue, 21 Apr 2009 12:38:55 +0000 (13:38 +0100)]
7eb47696deb9a7343fb4847f7342919a6df59e21 should be $(ext) rather than ext.

15 years agoFix reference to perlvms.pod after move to new location.
Craig A. Berry [Tue, 21 Apr 2009 12:36:41 +0000 (07:36 -0500)]
Fix reference to perlvms.pod after move to new location.

15 years agoWe need $(MINIPERL_EXE) before we can run autodoc.pl. Remove the duplicated -I
Nicholas Clark [Tue, 21 Apr 2009 09:51:29 +0000 (10:51 +0100)]
We need $(MINIPERL_EXE) before we can run autodoc.pl. Remove the duplicated -I

15 years agoBuild perltoc.pod, rather than shipping it. This way it can't get out of date.
Nicholas Clark [Tue, 21 Apr 2009 09:49:10 +0000 (10:49 +0100)]
Build perltoc.pod, rather than shipping it. This way it can't get out of date.

15 years agoTweak corelist.pl's heuristics to cope with the renamed directoriess in ext/
Nicholas Clark [Mon, 20 Apr 2009 22:01:18 +0000 (23:01 +0100)]
Tweak corelist.pl's heuristics to cope with the renamed directoriess in ext/

15 years agoIn corelist.pl, refactor to avoid repeating the final output formatting string.
Nicholas Clark [Mon, 20 Apr 2009 21:32:45 +0000 (22:32 +0100)]
In corelist.pl, refactor to avoid repeating the final output formatting string.

15 years agoFix calling of autodoc.pl in Win32 nmake Makefile
Steve Hay [Mon, 20 Apr 2009 11:45:29 +0000 (12:45 +0100)]
Fix calling of autodoc.pl in Win32 nmake Makefile

Change cd09325492c136b431317b9dee7455475831ae5b broke the nmake Makefile. Presumably Max uses the dmake makefile.mk ;-)

15 years agoRemove leftover copying of perlvms.pod on Win32
Steve Hay [Mon, 20 Apr 2009 11:37:32 +0000 (12:37 +0100)]
Remove leftover copying of perlvms.pod on Win32

Change dd0cfdaa8f18412a5bea90a5dd33b46569dea1c5 left these two copy commands by mistake.

15 years agoClarify PERL_SYS_INIT3() usage.
Niko Tyni [Thu, 2 Apr 2009 17:54:10 +0000 (20:54 +0300)]
Clarify PERL_SYS_INIT3() usage.

As seen in [perl #64326] and <http://bugs.debian.org/522099>, the
PERL_SYS_INIT3() documentation in perlembed.pod could be clearer about
the macro arguments.

15 years agoMove vms/perlvms.pod to pod/ and update the Makfiles and Makefile generators.
Nicholas Clark [Mon, 20 Apr 2009 09:01:15 +0000 (10:01 +0100)]
Move vms/perlvms.pod to pod/ and update the Makfiles and Makefile generators.

15 years agoMake h2ph's generated preamble require-able when empty.
Craig A. Berry [Sun, 19 Apr 2009 22:08:55 +0000 (17:08 -0500)]
Make h2ph's generated preamble require-able when empty.

$Config{ccsymbols} and friends are currently empty on Win32 and
undefined on VMS.

15 years agoMake lib/h2ph.t use t/test.pl.
Craig A. Berry [Sun, 19 Apr 2009 21:59:47 +0000 (16:59 -0500)]
Make lib/h2ph.t use t/test.pl.

This gives the Perl one-liners some chance of being portable.

15 years agoIn the Makefile, no need to change into pod/ to create symlinks to READMEs etc.
Nicholas Clark [Sun, 19 Apr 2009 19:49:38 +0000 (20:49 +0100)]
In the Makefile, no need to change into pod/ to create symlinks to READMEs etc.

15 years agoSimpify logic in Perl_pad_free(): SvIsCOW() has the same semantics in all cases.
Nicholas Clark [Sun, 19 Apr 2009 19:05:43 +0000 (20:05 +0100)]
Simpify logic in Perl_pad_free(): SvIsCOW() has the same semantics in all cases.

15 years agoIn the context of PERL_OLD_COPY_ON_WRITE, remove comments about global mutexes.
Nicholas Clark [Sun, 19 Apr 2009 19:04:09 +0000 (20:04 +0100)]
In the context of PERL_OLD_COPY_ON_WRITE, remove comments about global mutexes.
These would only have been relevant if running under 5005 threads, which is long
dead.

15 years agoMove the symlink fo perl51110delta.pod to perldelta.pod to a top level rule.
Nicholas Clark [Sun, 19 Apr 2009 15:51:50 +0000 (16:51 +0100)]
Move the symlink fo perl51110delta.pod to perldelta.pod to a top level rule.
Add perldelta.pod to the generated_pods macro so that it is deleted still.

15 years agoIn buildtoc, refactor all the duplicated checking logic into a subroutine.
Nicholas Clark [Sun, 19 Apr 2009 14:58:30 +0000 (15:58 +0100)]
In buildtoc, refactor all the duplicated checking logic into a subroutine.

15 years agoFor Win32, add the generated files to the delete list generated by buildtoc.
Nicholas Clark [Sun, 19 Apr 2009 11:13:51 +0000 (12:13 +0100)]
For Win32, add the generated files to the delete list generated by buildtoc.

15 years agoFor VMS, generate the delete rules for generated and copied files in buildtoc.
Nicholas Clark [Sun, 19 Apr 2009 11:08:25 +0000 (12:08 +0100)]
For VMS, generate the delete rules for generated and copied files in buildtoc.

15 years agoRemove ExtUtils::MM_Haiku
Rafael Garcia-Suarez [Sat, 18 Apr 2009 21:14:10 +0000 (23:14 +0200)]
Remove ExtUtils::MM_Haiku

It's no longer in the official MakeMaker, and is incorporated
in MM_BeOS.

15 years agoMake autodoc.pl accept the root dir in @ARGV
Max Maischein [Sat, 18 Apr 2009 16:36:28 +0000 (18:36 +0200)]
Make autodoc.pl accept the root dir in @ARGV

15 years agoautodoc.pl needs -Ilib. I had been testing with a perl that was also installed.
Nicholas Clark [Sat, 18 Apr 2009 17:36:59 +0000 (18:36 +0100)]
autodoc.pl needs -Ilib. I had been testing with a perl that was also installed.

15 years agoHere are some patches for QNX6 against 5.10.x. Unpatched and patched
H.Merijn Brand [Sat, 18 Apr 2009 14:55:34 +0000 (16:55 +0200)]
Here are some patches for QNX6 against 5.10.x. Unpatched and patched
smoke reports also attached.

From: Sean Boudreau <seanb@qnx.com>
Date: Sun, 12 Apr 2009 10:18:39 -0400
Message-ID: <20090412141839.GA27971644@qnx.com>

15 years agofix trivial typo in MANIFEST
David Mitchell [Sat, 18 Apr 2009 14:39:14 +0000 (15:39 +0100)]
fix trivial typo in MANIFEST

15 years agoAs autodoc.pl no longer rebuilds repository files, no need to use regen_lib.pl
Nicholas Clark [Sat, 18 Apr 2009 12:21:05 +0000 (13:21 +0100)]
As autodoc.pl no longer rebuilds repository files, no need to use regen_lib.pl
Refactor the duplicated logic for opening, generating and closing files into
a single output() subroutine.

15 years agogrep then sort, as it's more efficient to sort a shorter list.
Nicholas Clark [Sat, 18 Apr 2009 11:26:16 +0000 (12:26 +0100)]
grep then sort, as it's more efficient to sort a shorter list.

15 years agoAdd a --quiet option, to suppress all the routine warnings when scanning for pod
Nicholas Clark [Sat, 18 Apr 2009 11:24:18 +0000 (12:24 +0100)]
Add a --quiet option, to suppress all the routine warnings when scanning for pod

15 years agoGenerate perlapi.pod and perlintern.pod at build time, instead of shipping them.
Nicholas Clark [Sat, 18 Apr 2009 11:19:57 +0000 (12:19 +0100)]
Generate perlapi.pod and perlintern.pod at build time, instead of shipping them.

15 years agoFix failing Time-Piece tests on Win32
Steve Hay [Fri, 17 Apr 2009 11:09:54 +0000 (12:09 +0100)]
Fix failing Time-Piece tests on Win32

This fix was suggested by Rob May here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-04/msg00251.html

15 years agoIn autodoc.pl, inline and hence eliminate walk_table().
Nicholas Clark [Fri, 17 Apr 2009 09:37:01 +0000 (10:37 +0100)]
In autodoc.pl, inline and hence eliminate walk_table().
This simplifies the code considerably, as walk_table() was relying on its &
prototype to cause the block after it to be co-erced to a passed in subroutine.

15 years agoIn autodoc.pl, remove the unused parameters and functionality from walk_table().
Nicholas Clark [Fri, 17 Apr 2009 09:15:42 +0000 (10:15 +0100)]
In autodoc.pl, remove the unused parameters and functionality from walk_table().
It seems that walk_table() was a direct copy from embed.pl back when autodoc.pl
was created by commit 94bdecf9800c3bee967274854f7adf2933ffd42b, and the "bonus
bits" were never refactored out.

15 years agoAdd reference to MS KB article describing leak in putenv()
Steve Hay [Fri, 17 Apr 2009 08:40:00 +0000 (09:40 +0100)]
Add reference to MS KB article describing leak in putenv()

Subject: Re: /ext/Time-Piece/t/02core.t
From: Rob May <rob@themayfamily.me.uk>
Date: Thu, 16 Apr 2009 10:32:53 +0100
Message-ID: <54bdc7510904160232m1ae4142dw3566bf27b4fd2818@mail.gmail.com>

15 years agoRemove last vestiges of USE_WIN32_RTL_ENV
Steve Hay [Fri, 17 Apr 2009 08:37:47 +0000 (09:37 +0100)]
Remove last vestiges of USE_WIN32_RTL_ENV

That was removed long ago by #8916, but some leftovers remained. See:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2009-04/msg00156.html

15 years agoIgnore some autogenerated makefiles
Rafael Garcia-Suarez [Thu, 16 Apr 2009 22:50:39 +0000 (00:50 +0200)]
Ignore some autogenerated makefiles

15 years agoAvoid loading Config, as we don't need to distinguish between NetWare and Win32.
Nicholas Clark [Thu, 16 Apr 2009 21:57:05 +0000 (22:57 +0100)]
Avoid loading Config, as we don't need to distinguish between NetWare and Win32.
Eliminate $Is_W32 $Is_OS2 $Is_Cygwin $Is_NetWare, and simply set $Needs_Write
directly from $^O.

As far as I can tell, these were all added in 36bb303b6ac55df9c2780b48d374c505
but never actually used for anything.

15 years agoIgnore attributes.pm in lib since it's now an XS module
Rafael Garcia-Suarez [Thu, 16 Apr 2009 22:00:43 +0000 (00:00 +0200)]
Ignore attributes.pm in lib since it's now an XS module

15 years agoBump VERSION of Data::Dumper
Rafael Garcia-Suarez [Thu, 16 Apr 2009 21:41:53 +0000 (23:41 +0200)]
Bump VERSION of Data::Dumper

15 years agoData::Dumper hash iterator needs to be reset on all hashrefs (fixes #64744)
Alex Vandiver [Wed, 15 Apr 2009 17:04:23 +0000 (13:04 -0400)]
Data::Dumper hash iterator needs to be reset on all hashrefs (fixes #64744)

15 years agoSquelch 'Constant subroutine ... undefined' warnings from .ph files
Niko Tyni [Tue, 14 Apr 2009 19:55:34 +0000 (22:55 +0300)]
Squelch 'Constant subroutine ... undefined' warnings from .ph files

As reported by Christopher Zimmermann in <http://bugs.debian.org/379757>,
code generated from simple #undef directives by h2ph can cause
'Constant subroutine ... undefined' warnings if the undefined
function was eligible for inlining.

15 years agoAdd tests to verify that h2ph output compiles and is warning free
Niko Tyni [Tue, 14 Apr 2009 19:55:33 +0000 (22:55 +0300)]
Add tests to verify that h2ph output compiles and is warning free

The #include directives are #ifdef'd out so that running the
resulting code does not actually need the headers. We still
get the same effect from comparing with the expected h2ph output.

15 years agoBuild bzip2 witha C++ compiler
Paul Marquess [Thu, 16 Apr 2009 08:55:53 +0000 (09:55 +0100)]
Build bzip2 witha C++ compiler