perl.git
10 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.

10 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

10 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

10 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

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

10 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.)

10 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++)

10 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

10 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;

10 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.

10 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.

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

10 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.)

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

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

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

10 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.

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

10 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.

10 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>
10 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

10 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

10 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>

10 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.

10 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 )

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

10 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>
10 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.

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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.

10 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>

10 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>

10 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.

10 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).

10 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.)

10 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

10 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.

10 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

10 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

10 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.

10 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.

10 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

10 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

10 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.

10 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

10 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.

10 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.

10 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

10 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

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

10 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

10 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

10 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

10 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.

10 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.

10 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.

10 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.

10 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

10 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 => {}

10 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.

10 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)

10 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)

10 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.

10 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

10 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.

10 years agoAlso skip test 20 in t/Socket.t when no IPv6 is available
Vincent Pit [Fri, 27 Mar 2009 16:55:46 +0000 (17:55 +0100)] 
Also skip test 20 in t/Socket.t when no IPv6 is available

10 years agoForgot one "static" in 7430375d1909c2b62c1fb3f9c6ed4b9d24dfcf32.
Craig A. Berry [Fri, 27 Mar 2009 16:38:58 +0000 (11:38 -0500)] 
Forgot one "static" in 7430375d1909c2b62c1fb3f9c6ed4b9d24dfcf32.

10 years agoFix concise-xs.t after recent changes to Socket.pm
Rafael Garcia-Suarez [Fri, 27 Mar 2009 14:33:18 +0000 (15:33 +0100)] 
Fix concise-xs.t after recent changes to Socket.pm

Since concise-xs.t uses IO::Socket as a source for its testing, we need
to list correctly all function it exports.

10 years agoSome standards compliance for the new Time::Piece test.
Craig A. Berry [Fri, 27 Mar 2009 14:30:01 +0000 (09:30 -0500)] 
Some standards compliance for the new Time::Piece test.

This is a follow-up to 036055ae9ae83cd5b00514419663540cb13fc21a.  Setting
TZ in the environment may or may not have any effect without calling tzset()
afterwards, and the %z format specifier for strftime() is not in the
standard (and was causing smoke failures in many places).

10 years agoMerge commit 'mauzo/over-X' into blead
Rafael Garcia-Suarez [Fri, 27 Mar 2009 14:10:01 +0000 (15:10 +0100)] 
Merge commit 'mauzo/over-X' into blead

10 years agoAdd inet_pton and inet_ntop to the list of functions exported by Socket
Rafael Garcia-Suarez [Fri, 27 Mar 2009 12:19:16 +0000 (13:19 +0100)] 
Add inet_pton and inet_ntop to the list of functions exported by Socket

10 years agoWhat am I thinking? Just bump the version.
Steve Peters [Fri, 27 Mar 2009 01:28:27 +0000 (20:28 -0500)] 
What am I thinking?  Just bump the version.

10 years agoMerge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Fri, 27 Mar 2009 01:00:57 +0000 (20:00 -0500)] 
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead

10 years agoAdd inet_pton() and inet_ntop() to Socket.
Steve Peters [Fri, 27 Mar 2009 00:59:23 +0000 (19:59 -0500)] 
Add inet_pton() and inet_ntop() to Socket.

10 years agoRemove unused function S_copy_big_TM_to_little_tm from time64.c.
Craig A. Berry [Thu, 26 Mar 2009 21:11:49 +0000 (16:11 -0500)] 
Remove unused function S_copy_big_TM_to_little_tm from time64.c.

10 years agoNamespace clean-up for time64.
Craig A. Berry [Thu, 26 Mar 2009 15:44:41 +0000 (10:44 -0500)] 
Namespace clean-up for time64.

All of the time64 functions are only visible within pp_sys.c and are not
part of the public API, so make them all static and give them the S_ prefix.
A side effect of this is that we now unambiguously use S_localtime64_r and
S_gmtime64_r and should no longer collide with system-supplied versions, if
any.

One possible future direction is that if and when Configure detects any
system-supplied *time64_r functions, their prototypes, and their valid
time ranges, we could optionally select those instead of the home-grown
ones.

Another possible future direction is that we could s/S_/Perl_/ and make
the *time64_r functions part of the public API in some post-5.10.x
release.  Currently they are only exposed to the outside world via
Perl_pp_gmtime.

Also gave some TRACE macros more specific names.

10 years agoThe DOSish branch of File::stat->cando had its arguments wrong.
unknown [Thu, 26 Mar 2009 15:43:27 +0000 (15:43 +0000)] 
The DOSish branch of File::stat->cando had its arguments wrong.