This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
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

15 years agoUpdate CPANPLUS::Dist::Build to 0.22
Chris 'BinGOs' Williams [Thu, 16 Apr 2009 20:55:52 +0000 (22:55 +0200)]
Update CPANPLUS::Dist::Build to 0.22

15 years agoDocumentation Patch: perlxs.pod
Tom Hukins [Tue, 14 Apr 2009 15:21:24 +0000 (16:21 +0100)]
Documentation Patch: perlxs.pod

Porters,

Please find attached a small patch to the perlxstut.pod document.

The first part of the patch makes a link more precise.  The
second, more useful, part of the patch fixes some confused English
that doesn't make sense.

Thanks for your efforts,
Tom

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
15 years agoAdd file missed in previous commit.
Steve Peters [Tue, 14 Apr 2009 05:21:05 +0000 (00:21 -0500)]
Add file missed in previous commit.

15 years ago[PATCH] Update CPAN.pm to 1.93_52
Andreas J. Koenig [Mon, 13 Apr 2009 21:35:16 +0000 (16:35 -0500)]
[PATCH] Update CPAN.pm to 1.93_52

15 years agoMerge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Mon, 13 Apr 2009 13:57:14 +0000 (08:57 -0500)]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead

15 years agoUpgrade to CGI.pm-3.43
Steve Peters [Mon, 13 Apr 2009 13:56:36 +0000 (08:56 -0500)]
Upgrade to CGI.pm-3.43

15 years agoRemove an unnecessary use Config;
Nicholas Clark [Mon, 13 Apr 2009 13:38:42 +0000 (14:38 +0100)]
Remove an unnecessary use Config;

15 years agoRemove Makefile.PLs that make_ext.pl can automatically generate.
Nicholas Clark [Mon, 13 Apr 2009 13:37:19 +0000 (14:37 +0100)]
Remove Makefile.PLs that make_ext.pl can automatically generate.
(For core modules, or where the dual life module on CPAN has a Makefile.PL that
is not the same. AUTHOR is only used for the ppm target, which the core doesn't
need.)

15 years ago[PATCH] Compress-Raw-Bzip2 2.018 (was RE: Compress-Raw-Bzip2 fails for g++)
Paul Marquess [Mon, 13 Apr 2009 13:23:28 +0000 (08:23 -0500)]
[PATCH] Compress-Raw-Bzip2 2.018 (was RE: Compress-Raw-Bzip2 fails for g++)

15 years agoRestore prototypes to XS code in attributes, accidentally lost by change 48462a7
Nicholas Clark [Mon, 13 Apr 2009 12:09:43 +0000 (13:09 +0100)]
Restore prototypes to XS code in attributes, accidentally lost by change 48462a7

15 years agoTODO tests for deparsing strict, warnings as strings, and my $x if 0;
Nicholas Clark [Mon, 13 Apr 2009 11:13:19 +0000 (12:13 +0100)]
TODO tests for deparsing strict, warnings as strings, and my $x if 0;

15 years agoour $TODO should be local $::TODO, revealing a bug in the de-commenting regexp.
Nicholas Clark [Mon, 13 Apr 2009 10:47:15 +0000 (11:47 +0100)]
our $TODO should be local $::TODO, revealing a bug in the de-commenting regexp.
Remove some orphaned trailing quotes from TODO message that are no longer
conditional code.

15 years agoCorrect two other tests that apparently should be TODOs rather than SKIPs.
Nicholas Clark [Mon, 13 Apr 2009 10:22:11 +0000 (11:22 +0100)]
Correct two other tests that apparently should be TODOs rather than SKIPs.

15 years agoA perl-version portable fix for B coping with CVf_LOCKED being removed in 5.11.
Nicholas Clark [Mon, 13 Apr 2009 09:51:20 +0000 (10:51 +0100)]
A perl-version portable fix for B coping with CVf_LOCKED being removed in 5.11.

15 years agoTweak t/lib/common.pl to use test.pl's (better) tempfile() function.
Nicholas Clark [Mon, 13 Apr 2009 09:31:49 +0000 (10:31 +0100)]
Tweak t/lib/common.pl to use test.pl's (better) tempfile() function.

15 years agoPropagate the upgraded TODO/SKIP parser from ext/B/t/deparse.t
Nicholas Clark [Mon, 13 Apr 2009 09:26:00 +0000 (10:26 +0100)]
Propagate the upgraded TODO/SKIP parser from ext/B/t/deparse.t

15 years agoRefactor the SKIP parser to also handle TODOs. TODO 3 tests that were wrongly
Nicholas Clark [Mon, 13 Apr 2009 09:25:01 +0000 (10:25 +0100)]
Refactor the SKIP parser to also handle TODOs. TODO 3 tests that were wrongly
SKIPs.

15 years agoRemove CVf_LOCKED and CvLOCKED*(), now that nothing sets that flag bit.
Nicholas Clark [Mon, 13 Apr 2009 08:00:51 +0000 (09:00 +0100)]
Remove CVf_LOCKED and CvLOCKED*(), now that nothing sets that flag bit.

15 years agoGvUNIQUE* have been defined as 0 since 2005/06/30 - high time to remove them.
Nicholas Clark [Mon, 13 Apr 2009 07:43:30 +0000 (08:43 +0100)]
GvUNIQUE* have been defined as 0 since 2005/06/30 - high time to remove them.

15 years agoRemove a link to the attrs pragma, which has now been removed.
Nicholas Clark [Sun, 12 Apr 2009 16:23:32 +0000 (17:23 +0100)]
Remove a link to the attrs pragma, which has now been removed.

15 years agos/locked/lvalue/ in the examples, and remove mention of the deprecated :unique.
Nicholas Clark [Sun, 12 Apr 2009 16:06:31 +0000 (17:06 +0100)]
s/locked/lvalue/ in the examples, and remove mention of the deprecated :unique.
(Which was actually a dangling cross reference, as what it pointed to in
perlfunc had already been deleted.)

15 years agoDeprecate using "unique" with the attributes pragma.
Nicholas Clark [Sun, 12 Apr 2009 15:28:49 +0000 (16:28 +0100)]
Deprecate using "unique" with the attributes pragma.

15 years agoDeprecate using "locked" with the attributes pragma.
Nicholas Clark [Sun, 12 Apr 2009 14:50:16 +0000 (15:50 +0100)]
Deprecate using "locked" with the attributes pragma.

15 years agoConvert xsutils.c and lib/attributes.pm to a regular XS extension.
Nicholas Clark [Sun, 12 Apr 2009 14:05:04 +0000 (15:05 +0100)]
Convert xsutils.c and lib/attributes.pm to a regular XS extension.

15 years agoRemove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled.
Nicholas Clark [Sun, 12 Apr 2009 13:05:51 +0000 (14:05 +0100)]
Remove #ifdef CVf_LVALUE/#endif - LVALUE subs aren't conditionally compiled.

15 years agoDeprecate use of the attribute :locked on subroutines.
Nicholas Clark [Sun, 12 Apr 2009 11:47:27 +0000 (12:47 +0100)]
Deprecate use of the attribute :locked on subroutines.

15 years agoEliminate "Old Perl threads tutorial", which describes 5005 threads.
Nicholas Clark [Sun, 12 Apr 2009 09:56:37 +0000 (10:56 +0100)]
Eliminate "Old Perl threads tutorial", which describes 5005 threads.
pod/perlthrtut.pod is the same material reworked for ithreads.

15 years agoRebuild pod/perltoc.pod.
Nicholas Clark [Sun, 12 Apr 2009 09:47:47 +0000 (10:47 +0100)]
Rebuild pod/perltoc.pod.

15 years agoSort the MANIFEST.
Nicholas Clark [Sun, 12 Apr 2009 09:47:36 +0000 (10:47 +0100)]
Sort the MANIFEST.

15 years agoRemove attrs, which has been deprecated since 1999/10/02.
Nicholas Clark [Sun, 12 Apr 2009 09:17:24 +0000 (10:17 +0100)]
Remove attrs, which has been deprecated since 1999/10/02.

15 years agoUpgrade to NEXT-0.63.
Florian Ragwitz [Fri, 10 Apr 2009 15:29:05 +0000 (17:29 +0200)]
Upgrade to NEXT-0.63.

15 years agoDon't SEGV while warning about redefining the format STDOUT. Fixes RT #64562.
Nicholas Clark [Thu, 9 Apr 2009 18:25:37 +0000 (19:25 +0100)]
Don't SEGV while warning about redefining the format STDOUT. Fixes RT #64562.

15 years agoFix declaration-after-statement in ext/Socket/Socket.xs
Andy Dougherty [Thu, 9 Apr 2009 15:41:34 +0000 (11:41 -0400)]
Fix declaration-after-statement in ext/Socket/Socket.xs

This trivial patch lets C89-ish compilers compile Socket.c again.

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
15 years agoUpdate CPANPLUS::Dist::Build to 0.20
Chris Williams [Thu, 9 Apr 2009 12:01:41 +0000 (14:01 +0200)]
Update CPANPLUS::Dist::Build to 0.20

15 years agoMerge commit 'rafl/blead' into blead
Rafael Garcia-Suarez [Thu, 9 Apr 2009 07:56:39 +0000 (09:56 +0200)]
Merge commit 'rafl/blead' into blead

15 years agoNet::hostent fails make test if can't resolve localhost
David Cantrell [Wed, 8 Apr 2009 12:49:14 +0000 (14:49 +0200)]
Net::hostent fails make test if can't resolve localhost

This happens on boxes which otherwise work Just Fine and whose resolvers
work Just Fine if they don't have /etc/hosts. This patch fixes the test
file by making it skip if localhost can't be resolved and /etc/hosts
doesn't exist.

Message-ID: <20090330205715.GA29690@bytemark.barnyard.co.uk>

15 years agoUse of freed comppad array during clear_yystack()
Marcus Holland-Moritz [Wed, 8 Apr 2009 07:49:19 +0000 (09:49 +0200)]
Use of freed comppad array during clear_yystack()

Message-ID: <20081026231720.34258457@r2d2>

Patch description from the original email :

I tried to make tests pass on a perl built with -DPERL_POISON,
as some tests were dying with segfaults. They all originated
from the same source: clear_yystack() after a compile error. [...]
As far as I can see, after croaking the newly
created CV is destroyed and its pad is undef'd. [...]

This will SvREFCNT_dec PL_comppad and set PL_comppad to NULL.
However, later, in clear_yystack(), when the ops are freed, the
old PL_comppad is restored by PAD_RESTORE_LOCAL, as a reference
is still in ps->comppad. But now the pad AV is already dead.

Normally (i.e. without PERL_POISON), the dead AV will have
AvARRAY(av) set to NULL by av_undef(). So PAD_RESTORE_LOCAL will
actually set PL_curpad to NULL, and thus pad_free() will not
attempt to do anything.

But with PERL_POISON, the storage for AvARRAY(av) (i.e. sv_u)
will be reused for chaining the free SV heads in the arena
(as opposed to SvANY(sv) in case of !PERL_POISON). This means
that PAD_RESTORE_LOCAL will find AvARRAY(av) non-NULL and will
set PL_curpad to that value, finally causing the segfault in
pad_free().

While I think I understand what's going on, I don't have the
slightest clue how to properly fix this. Given that it's not
a problem only under PERL_POISON, but always (as dead SV heads
are being used), I think it should ultimately be fixed.

The only thing I can offer right now is a patch to make it
work with PERL_POISON as good (or as bad) as without by
making PAD_RESTORE_LOCAL explicitly check if the pad passed
in is already dead and refusing to use it if it is.

15 years agoh2xs incorrectly treats enum values like macros
Niko Tyni [Sun, 19 Oct 2008 20:25:10 +0000 (23:25 +0300)]
h2xs incorrectly treats enum values like macros

Patch and description by Rainer Weikusat, forwarded from
http://bugs.debian.org/502297 :

 The h2xs program scans C headers for 'constants' either defined
 as preprocessor macros or via enum and builds a sorted list of names
 containing the macros and enum values found in this way. This list
 is then passed to ExtUtils::Constant::WriteConstants, which generates
 the corresponding const-c.inc and const-xs.inc files when perl Makefile.PL
 is executed. By default, ie when just processing a constant name, this
 function assumes that the name refers to a preprocessor macro and
 the generated C-code in const-c.inc contains conditional compilation
 directives to either return the macro value or Perl_constant_NOTDEF,
 depending on the defined'ness of the macro. This causes constants
 defined as enumeration values to never be available to module users,
 because they are not visible to the preprocessor.

 Instead of passing just a name to the WriteConstants-routine, a
 hashref (members documented in ExtUtils::Constant::Base(3perl))
 can be used to specify more details regarding what code
 should be generated for a particular constant. For an enumeration
 value, a hashref constructed as

     { name => <name of the constant>, macro => 1 }

 could be used to get rid of the inappropriate preprocessor
 directives.

( Another version of the same fix was also submitted by Daniel Burr in
  http://bugs.debian.org/320286 )

15 years agoUpgrade to NEXT-0.62.
Florian Ragwitz [Wed, 8 Apr 2009 01:37:43 +0000 (03:37 +0200)]
Upgrade to NEXT-0.62.

15 years agoDocs: Fixed a couple of [my] typos
Michael Witten [Tue, 7 Apr 2009 22:46:00 +0000 (17:46 -0500)]
Docs: Fixed a couple of [my] typos

I read through each my patches again and came across a typo,
a slight incorrectness, and a repeated word. Sorry.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Update summary and add copyright
Michael Witten [Tue, 7 Apr 2009 19:59:32 +0000 (14:59 -0500)]
Docs: Update summary and add copyright

Yeah, well, I wrote some new stuff.

15 years agoDocs: Expanded treatment of adding instance variables
Michael Witten [Tue, 7 Apr 2009 19:59:31 +0000 (14:59 -0500)]
Docs: Expanded treatment of adding instance variables

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Clarify that a class is not an instance
Michael Witten [Tue, 7 Apr 2009 19:59:30 +0000 (14:59 -0500)]
Docs: Clarify that a class is not an instance

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Minor modifications to discussion of constructor
Michael Witten [Tue, 7 Apr 2009 19:59:29 +0000 (14:59 -0500)]
Docs: Minor modifications to discussion of constructor

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Make use of $self and $class clear
Michael Witten [Tue, 7 Apr 2009 19:59:28 +0000 (14:59 -0500)]
Docs: Make use of $self and $class clear

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Better orgnization of instance discussion
Michael Witten [Tue, 7 Apr 2009 19:59:27 +0000 (14:59 -0500)]
Docs: Better orgnization of instance discussion

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Cleanup lead-in to instance variables
Michael Witten [Tue, 7 Apr 2009 19:59:26 +0000 (14:59 -0500)]
Docs: Cleanup lead-in to instance variables

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Better[?] development of SUPER
Michael Witten [Tue, 7 Apr 2009 19:59:25 +0000 (14:59 -0500)]
Docs: Better[?] development of SUPER

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Get rid of those awful tabs!
Michael Witten [Tue, 7 Apr 2009 19:59:24 +0000 (14:59 -0500)]
Docs: Get rid of those awful tabs!

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Quick explanation of duck typing and a warning
Michael Witten [Tue, 7 Apr 2009 19:59:23 +0000 (14:59 -0500)]
Docs: Quick explanation of duck typing and a warning

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Make the "use base" purpose more obvious
Michael Witten [Tue, 7 Apr 2009 19:59:22 +0000 (14:59 -0500)]
Docs: Make the "use base" purpose more obvious

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Minor reorganization.
Michael Witten [Tue, 7 Apr 2009 19:59:21 +0000 (14:59 -0500)]
Docs: Minor reorganization.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Typo: 'no strict subs' -> 'no strict refs'
Michael Witten [Tue, 7 Apr 2009 19:59:20 +0000 (14:59 -0500)]
Docs: Typo: 'no strict subs' -> 'no strict refs'

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoDocs: Typo: \{-1} -> \g{-1}
Michael Witten [Tue, 7 Apr 2009 19:59:19 +0000 (14:59 -0500)]
Docs: Typo: \{-1} -> \g{-1}

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoMake h2ph look in "include-fixed", needed by at least gcc 4.3
Niko Tyni [Sun, 5 Apr 2009 19:29:38 +0000 (22:29 +0300)]
Make h2ph look in "include-fixed", needed by at least gcc 4.3

As seen in <http://bugs.debian.org/522673>, since 4.2.0 or so
gcc's search path has a new "include-fixed" directory,
which currently contains <syslimits.h> and a few other headers.

Converting <syslimits.h> therefore fails unless h2ph knows about the new
directory too.

See http://gcc.gnu.org/ml/gcc-patches/2007-02/msg02038.html for some
background to the gcc change.

15 years agoDeprecate assignment to $[
Rafael Garcia-Suarez [Tue, 7 Apr 2009 10:31:16 +0000 (12:31 +0200)]
Deprecate assignment to $[

Based on a patch by James Mastros :

Subject: Deprecating $[
Message-ID: <abc933c50904020726x31776ab5m192036429af16f03@mail.gmail.com>

15 years agoRemove libbsd/libBSD from wanted libs on AIX
H.Merijn Brand [Mon, 6 Apr 2009 10:27:02 +0000 (12:27 +0200)]
Remove libbsd/libBSD from wanted libs on AIX

Subject: libbsd on AIX
From: Rainer Tammer <tammer@tammer.net>
Date: Fri, 03 Apr 2009 11:59:18 +0200
Message-ID: <49D5DDF6.5050804@tammer.net>

15 years agoIn sdbm_open(), replace strcat()s and strcpy()s with memcpy()s.
Nicholas Clark [Fri, 3 Apr 2009 19:41:48 +0000 (20:41 +0100)]
In sdbm_open(), replace strcat()s and strcpy()s with memcpy()s.

15 years agoDon't needlessly assign to pagname (which seems to make clang even happier).
Nicholas Clark [Fri, 3 Apr 2009 17:27:30 +0000 (18:27 +0100)]
Don't needlessly assign to pagname (which seems to make clang even happier).

15 years agoDon't assign needlessly to dirname. (which seems to make clang happier.)
Nicholas Clark [Fri, 3 Apr 2009 17:10:12 +0000 (18:10 +0100)]
Don't assign needlessly to dirname. (which seems to make clang happier.)

15 years agodocument PERL_SYS_INIT, PERL_SYS_TERM and that they should only be used once
David Mitchell [Thu, 2 Apr 2009 22:09:01 +0000 (23:09 +0100)]
document PERL_SYS_INIT, PERL_SYS_TERM and that they should only be used once

15 years agoSkip bug in new File::stat test.
Craig A. Berry [Thu, 2 Apr 2009 17:30:54 +0000 (12:30 -0500)]
Skip bug in new File::stat test.

-- index returns -1, not false when substring not found.

-- 2 tests in the block, not 1.

15 years agoSadahiro says that "first-come" should be preferred for Unicode::Normalize and Unicod...
Rafael Garcia-Suarez [Wed, 1 Apr 2009 08:06:26 +0000 (10:06 +0200)]
Sadahiro says that "first-come" should be preferred for Unicode::Normalize and Unicode::Collate

15 years agoRemove the 5.005 threads details from the documentation for :locked and :method
Nicholas Clark [Tue, 31 Mar 2009 21:06:14 +0000 (22:06 +0100)]
Remove the 5.005 threads details from the documentation for :locked and :method

15 years agoCan't use inet_ntop and inet_pton under Cygwin because it doesn't fully implement...
Jerry D. Hedden [Tue, 31 Mar 2009 20:52:20 +0000 (15:52 -0500)]
Can't use inet_ntop and inet_pton under Cygwin because it doesn't fully implement IPv6 yet.

15 years agoClose the file before renaming it. Problem spotted and fix supplied by corion.
Nicholas Clark [Tue, 31 Mar 2009 20:15:53 +0000 (21:15 +0100)]
Close the file before renaming it. Problem spotted and fix supplied by corion.

15 years agoGetopt::Long is maintained on CPAN
Rafael Garcia-Suarez [Tue, 31 Mar 2009 13:37:52 +0000 (15:37 +0200)]
Getopt::Long is maintained on CPAN

15 years agoUpgrade to Getopt::Long 2.38
Rafael Garcia-Suarez [Tue, 31 Mar 2009 13:37:03 +0000 (15:37 +0200)]
Upgrade to Getopt::Long 2.38

15 years agoDon't create an empty Errno.pm if there is an error whilst running Errno_pm.PL
Nicholas Clark [Tue, 31 Mar 2009 13:23:58 +0000 (14:23 +0100)]
Don't create an empty Errno.pm if there is an error whilst running Errno_pm.PL
Implemented by initially writing to an temporary file name, and renaming as the
last act.

15 years agoNote why we need a seemingly useless empty &Regexp::DESTROY
Nicholas Clark [Tue, 31 Mar 2009 09:33:22 +0000 (10:33 +0100)]
Note why we need a seemingly useless empty &Regexp::DESTROY

15 years agoAvoid "Constant subroutine ... redefined" warning, spotted by Jerry D. Hedden.
Nicholas Clark [Tue, 31 Mar 2009 09:32:28 +0000 (10:32 +0100)]
Avoid "Constant subroutine ... redefined" warning, spotted by Jerry D. Hedden.

15 years agoUpgrade to CPANPLUS-Dist-Build-0.18.
Steve Peters [Tue, 31 Mar 2009 05:54:39 +0000 (00:54 -0500)]
Upgrade to CPANPLUS-Dist-Build-0.18.

15 years agoTZ setting must contain an offset.
Craig A. Berry [Mon, 30 Mar 2009 12:27:34 +0000 (07:27 -0500)]
TZ setting must contain an offset.

Per the standard at:

http://www.opengroup.org/onlinepubs/7990989775/xbd/envvar.html

15 years agoMake references to the Glossary in Config.pm and Config.pod
H.Merijn Brand [Mon, 30 Mar 2009 10:19:22 +0000 (12:19 +0200)]
Make references to the Glossary in Config.pm and Config.pod

15 years agoUpdates for ext/compress*
Paul Marquess [Mon, 30 Mar 2009 07:17:04 +0000 (08:17 +0100)]
Updates for ext/compress*

15 years agoDocument when as a syntax modifier
Vincent Pit [Sun, 29 Mar 2009 22:57:33 +0000 (00:57 +0200)]
Document when as a syntax modifier

15 years agoprovide minimal documentation for the MUTABLE_*() macros
David Mitchell [Sun, 29 Mar 2009 21:03:13 +0000 (22:03 +0100)]
provide minimal documentation for the MUTABLE_*() macros

15 years agoMerge commit 'origin/postfixwhen' into blead
Rafael Garcia-Suarez [Sun, 29 Mar 2009 20:48:10 +0000 (22:48 +0200)]
Merge commit 'origin/postfixwhen' into blead

15 years agoDocument that DESTROY is subject to AUTOLOAD, and the related optimisations.
Nicholas Clark [Sun, 29 Mar 2009 20:39:05 +0000 (21:39 +0100)]
Document that DESTROY is subject to AUTOLOAD, and the related optimisations.

15 years agoChange Regexp::DESTROY to be a constant subroutine, removing XS_Regexp_DESTROY.
Nicholas Clark [Sun, 29 Mar 2009 19:05:06 +0000 (20:05 +0100)]
Change Regexp::DESTROY to be a constant subroutine, removing XS_Regexp_DESTROY.
A constant subroutine is now optimised away at DESTROY time.

15 years agoChange Perl_newCONSTSUB() so that a NULL sv generates an empty list return.
Nicholas Clark [Sun, 29 Mar 2009 19:03:18 +0000 (20:03 +0100)]
Change Perl_newCONSTSUB() so that a NULL sv generates an empty list return.
Don't call DESTROY if it's a constant subroutine.

15 years agoIn Perl_newCONSTSUB(), sv should not be NULL.
Nicholas Clark [Sun, 29 Mar 2009 11:30:25 +0000 (12:30 +0100)]
In Perl_newCONSTSUB(), sv should not be NULL.

15 years agoUpdate to Unicode::Normalize 1.03
SADAHIRO Tomoyuki [Sun, 29 Mar 2009 14:50:35 +0000 (16:50 +0200)]
Update to Unicode::Normalize 1.03

1.03  Sun Mar 29 12:56:23 2009
  - mkheader: check if no composition needs growing the string.
  - Makefile.PL: a tweak

15 years agoDB_File 1.820: Remove MAN3PODS => {}
Paul Marquess [Sat, 28 Mar 2009 13:46:58 +0000 (13:46 +0000)]
DB_File 1.820: Remove MAN3PODS => {}

15 years agoMake Time::Piece use the init_tm() in util.c, bump to 1.13_03.
Craig A. Berry [Sun, 29 Mar 2009 00:12:11 +0000 (19:12 -0500)]
Make Time::Piece use the init_tm() in util.c, bump to 1.13_03.

Jarkko put it there for that purpose back in e72cf795050cdfe9905e00270c38ba2547626581,
so we seem to be a little slow noticing.

The old broken method for determining whether we need to initialize a tm
struct in the absence of HAS_TM_TM_ZONE being available is preserved for
Perls prior to 5.8.0.

15 years agoDon't call SvPV_const() on the method name at the top of method_common(), as it's...
Vincent Pit [Sun, 29 Mar 2009 00:02:55 +0000 (01:02 +0100)]
Don't call SvPV_const() on the method name at the top of method_common(), as it's not needed when the method is in the current stash (which happens quite often)

15 years agoDon't COW PVFMs, as the IVX is now used for FmLINES. (since change 34134)
Nicholas Clark [Sat, 28 Mar 2009 23:00:29 +0000 (23:00 +0000)]
Don't COW PVFMs, as the IVX is now used for FmLINES. (since change 34134)

15 years agoIn Perl_sv_setsv_cow(), dstr can be NULL.
Nicholas Clark [Sat, 28 Mar 2009 23:00:15 +0000 (23:00 +0000)]
In Perl_sv_setsv_cow(), dstr can be NULL.

15 years agoAllow when to be used as a statement modifier
Vincent Pit [Tue, 24 Mar 2009 20:49:14 +0000 (21:49 +0100)]
Allow when to be used as a statement modifier

15 years agoImprove mro merging error messages.
Florian Ragwitz [Sat, 28 Mar 2009 10:10:08 +0000 (11:10 +0100)]
Improve mro merging error messages.

This makes them very similar to those produced by Algorithm::C3.