Chris Williams [Thu, 9 Apr 2009 12:01:41 +0000]
Update CPANPLUS::Dist::Build to 0.20
Rafael Garcia-Suarez [Thu, 9 Apr 2009 07:56:39 +0000]
Merge commit 'rafl/blead' into blead
David Cantrell [Wed, 8 Apr 2009 12:49:14 +0000]
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>
Marcus Holland-Moritz [Wed, 8 Apr 2009 07:49:19 +0000]
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.
Niko Tyni [Sun, 19 Oct 2008 20:25:10 +0000]
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 )
Florian Ragwitz [Wed, 8 Apr 2009 01:37:43 +0000]
Upgrade to NEXT-0.62.
Michael Witten [Tue, 7 Apr 2009 22:46:00 +0000]
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>
Michael Witten [Tue, 7 Apr 2009 19:59:32 +0000]
Docs: Update summary and add copyright
Yeah, well, I wrote some new stuff.
Michael Witten [Tue, 7 Apr 2009 19:59:31 +0000]
Docs: Expanded treatment of adding instance variables
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:30 +0000]
Docs: Clarify that a class is not an instance
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:29 +0000]
Docs: Minor modifications to discussion of constructor
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:28 +0000]
Docs: Make use of $self and $class clear
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:27 +0000]
Docs: Better orgnization of instance discussion
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:26 +0000]
Docs: Cleanup lead-in to instance variables
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:25 +0000]
Docs: Better[?] development of SUPER
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:24 +0000]
Docs: Get rid of those awful tabs!
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:23 +0000]
Docs: Quick explanation of duck typing and a warning
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:22 +0000]
Docs: Make the "use base" purpose more obvious
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:21 +0000]
Docs: Minor reorganization.
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:20 +0000]
Docs: Typo: 'no strict subs' -> 'no strict refs'
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Michael Witten [Tue, 7 Apr 2009 19:59:19 +0000]
Docs: Typo: \{-1} -> \g{-1}
Signed-off-by: Michael Witten <mfwitten@gmail.com>
Niko Tyni [Sun, 5 Apr 2009 19:29:38 +0000]
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.
Rafael Garcia-Suarez [Tue, 7 Apr 2009 10:31:16 +0000]
Deprecate assignment to $[
Based on a patch by James Mastros :
Subject: Deprecating $[
Message-ID: <
abc933c50904020726x31776ab5m192036429af16f03@mail.gmail.com>
H.Merijn Brand [Mon, 6 Apr 2009 10:27:02 +0000]
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>
Nicholas Clark [Fri, 3 Apr 2009 19:41:48 +0000]
In sdbm_open(), replace strcat()s and strcpy()s with memcpy()s.
Nicholas Clark [Fri, 3 Apr 2009 17:27:30 +0000]
Don't needlessly assign to pagname (which seems to make clang even happier).
Nicholas Clark [Fri, 3 Apr 2009 17:10:12 +0000]
Don't assign needlessly to dirname. (which seems to make clang happier.)
David Mitchell [Thu, 2 Apr 2009 22:09:01 +0000]
document PERL_SYS_INIT, PERL_SYS_TERM and that they should only be used once
Craig A. Berry [Thu, 2 Apr 2009 17:30:54 +0000]
Skip bug in new File::stat test.
-- index returns -1, not false when substring not found.
-- 2 tests in the block, not 1.
Rafael Garcia-Suarez [Wed, 1 Apr 2009 08:06:26 +0000]
Sadahiro says that "first-come" should be preferred for Unicode::Normalize and Unicode::Collate
Nicholas Clark [Tue, 31 Mar 2009 21:06:14 +0000]
Remove the 5.005 threads details from the documentation for :locked and :method
Jerry D. Hedden [Tue, 31 Mar 2009 20:52:20 +0000]
Can't use inet_ntop and inet_pton under Cygwin because it doesn't fully implement IPv6 yet.
Nicholas Clark [Tue, 31 Mar 2009 20:15:53 +0000]
Close the file before renaming it. Problem spotted and fix supplied by corion.
Rafael Garcia-Suarez [Tue, 31 Mar 2009 13:37:52 +0000]
Getopt::Long is maintained on CPAN
Rafael Garcia-Suarez [Tue, 31 Mar 2009 13:37:03 +0000]
Upgrade to Getopt::Long 2.38
Nicholas Clark [Tue, 31 Mar 2009 13:23:58 +0000]
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.
Nicholas Clark [Tue, 31 Mar 2009 09:33:22 +0000]
Note why we need a seemingly useless empty &Regexp::DESTROY
Nicholas Clark [Tue, 31 Mar 2009 09:32:28 +0000]
Avoid "Constant subroutine ... redefined" warning, spotted by Jerry D. Hedden.
Steve Peters [Tue, 31 Mar 2009 05:54:39 +0000]
Upgrade to CPANPLUS-Dist-Build-0.18.
Craig A. Berry [Mon, 30 Mar 2009 12:27:34 +0000]
TZ setting must contain an offset.
Per the standard at:
http://www.opengroup.org/onlinepubs/
7990989775/xbd/envvar.html
H.Merijn Brand [Mon, 30 Mar 2009 10:19:22 +0000]
Make references to the Glossary in Config.pm and Config.pod
Paul Marquess [Mon, 30 Mar 2009 07:17:04 +0000]
Updates for ext/compress*
Vincent Pit [Sun, 29 Mar 2009 22:57:33 +0000]
Document when as a syntax modifier
David Mitchell [Sun, 29 Mar 2009 21:03:13 +0000]
provide minimal documentation for the MUTABLE_*() macros
Rafael Garcia-Suarez [Sun, 29 Mar 2009 20:48:10 +0000]
Merge commit 'origin/postfixwhen' into blead
Nicholas Clark [Sun, 29 Mar 2009 20:39:05 +0000]
Document that DESTROY is subject to AUTOLOAD, and the related optimisations.
Nicholas Clark [Sun, 29 Mar 2009 19:05:06 +0000]
Change Regexp::DESTROY to be a constant subroutine, removing XS_Regexp_DESTROY.
A constant subroutine is now optimised away at DESTROY time.
Nicholas Clark [Sun, 29 Mar 2009 19:03:18 +0000]
Change Perl_newCONSTSUB() so that a NULL sv generates an empty list return.
Don't call DESTROY if it's a constant subroutine.
Nicholas Clark [Sun, 29 Mar 2009 11:30:25 +0000]
In Perl_newCONSTSUB(), sv should not be NULL.
SADAHIRO Tomoyuki [Sun, 29 Mar 2009 14:50:35 +0000]
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
Paul Marquess [Sat, 28 Mar 2009 13:46:58 +0000]
DB_File 1.820: Remove MAN3PODS => {}
Craig A. Berry [Sun, 29 Mar 2009 00:12:11 +0000]
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.
Vincent Pit [Sun, 29 Mar 2009 00:02:55 +0000]
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)
Nicholas Clark [Sat, 28 Mar 2009 23:00:29 +0000]
Don't COW PVFMs, as the IVX is now used for FmLINES. (since change 34134)
Nicholas Clark [Sat, 28 Mar 2009 23:00:15 +0000]
In Perl_sv_setsv_cow(), dstr can be NULL.
Vincent Pit [Tue, 24 Mar 2009 20:49:14 +0000]
Allow when to be used as a statement modifier
Florian Ragwitz [Sat, 28 Mar 2009 10:10:08 +0000]
Improve mro merging error messages.
This makes them very similar to those produced by Algorithm::C3.
Vincent Pit [Fri, 27 Mar 2009 16:55:46 +0000]
Also skip test 20 in t/Socket.t when no IPv6 is available
Craig A. Berry [Fri, 27 Mar 2009 16:38:58 +0000]
Rafael Garcia-Suarez [Fri, 27 Mar 2009 14:33:18 +0000]
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.
Craig A. Berry [Fri, 27 Mar 2009 14:30:01 +0000]
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).
Rafael Garcia-Suarez [Fri, 27 Mar 2009 14:10:01 +0000]
Merge commit 'mauzo/over-X' into blead
Rafael Garcia-Suarez [Fri, 27 Mar 2009 12:19:16 +0000]
Add inet_pton and inet_ntop to the list of functions exported by Socket
Steve Peters [Fri, 27 Mar 2009 01:28:27 +0000]
What am I thinking? Just bump the version.
Steve Peters [Fri, 27 Mar 2009 01:00:57 +0000]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Fri, 27 Mar 2009 00:59:23 +0000]
Add inet_pton() and inet_ntop() to Socket.
Craig A. Berry [Thu, 26 Mar 2009 21:11:49 +0000]
Remove unused function S_copy_big_TM_to_little_tm from time64.c.
Craig A. Berry [Thu, 26 Mar 2009 15:44:41 +0000]
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.
unknown [Thu, 26 Mar 2009 15:43:27 +0000]
The DOSish branch of File::stat->cando had its arguments wrong.
unknown [Thu, 26 Mar 2009 15:25:19 +0000]
-ugk don't call string overload when S_IXXX isn't defined.
Nicholas Clark [Thu, 26 Mar 2009 14:43:20 +0000]
Ignore Makefile.PLs that are now autogenerated.
Nicholas Clark [Thu, 26 Mar 2009 14:39:02 +0000]
make_ext.pl's automatic Makefile.PL generation can write a suitalbe Makfile.PL
Nicholas Clark [Thu, 26 Mar 2009 13:36:02 +0000]
Undo the local change to Time::Piece's Makfile.PL that added MAN3PODS.
Nicholas Clark [Thu, 26 Mar 2009 13:35:39 +0000]
Remove MAN3PODS from modules' Makefile.PLs which are not the same as on CPAN.
Nicholas Clark [Thu, 26 Mar 2009 13:19:30 +0000]
Correct the path for IO - needs a trailing / to stop it matching IO-Compress
Nicholas Clark [Thu, 26 Mar 2009 13:12:09 +0000]
Remove MAN3PODS and NORECURS from Makefile.PLs where blead is canonical.
Nicholas Clark [Thu, 26 Mar 2009 13:10:15 +0000]
Remove now-redundant references to MAN3PODS in core modules' Makefile.PLs.
Nicholas Clark [Thu, 26 Mar 2009 13:04:56 +0000]
Simplify the file description for ext/threads
Nicholas Clark [Thu, 26 Mar 2009 12:59:43 +0000]
make_ext.pl should also set INSTALLMAN1DIR=none when running Makefile.PL
Nicholas Clark [Thu, 26 Mar 2009 11:06:39 +0000]
No need to set MAN3PODS now that make_ext.pl takes care of this for us.
Nicholas Clark [Thu, 26 Mar 2009 11:36:45 +0000]
make_ext.pl's automatic Makefile.PL generation can write these five for us.
Paul Marquess [Wed, 25 Mar 2009 12:41:40 +0000]
fix smoke issues with the compression modules
[tweaked to add break; after each default; to make gcc happy]
Ben Morrow [Tue, 17 Mar 2009 23:49:45 +0000]
-l was missing an SPAGAIN.
Ben Morrow [Tue, 17 Mar 2009 18:21:52 +0000]
IO refs always stringify for -t, -T and -B.
Ben Morrow [Tue, 20 Jan 2009 16:22:03 +0000]
Test -X overloads on GLOB and IO refs.
Ben Morrow [Tue, 20 Jan 2009 09:15:46 +0000]
Docs for File::stat.
Ben Morrow [Tue, 20 Jan 2009 08:35:48 +0000]
Bump File::stat's $VERSION.
Ben Morrow [Tue, 20 Jan 2009 08:34:52 +0000]
I assume VMS doesn't have a superuser.
Ben Morrow [Tue, 20 Jan 2009 08:34:03 +0000]
Warnings for File::stat deficiencies.
Ben Morrow [Tue, 20 Jan 2009 08:28:31 +0000]
Reinstate File::stat::stat_cando.
Ben Morrow [Tue, 20 Jan 2009 07:30:51 +0000]
Docs for -X overloading.
Ben Morrow [Tue, 20 Jan 2009 03:01:37 +0000]
Tests for -X overload on File::stat.
Ben Morrow [Tue, 20 Jan 2009 01:37:31 +0000]
I missed a s/stat_cando/cando/ in File::stat.
Ben Morrow [Tue, 20 Jan 2009 01:29:50 +0000]
Stacked overloaded -X.
Ben Morrow [Tue, 20 Jan 2009 01:28:31 +0000]
Test stacked overloaded -X.
Ben Morrow [Mon, 19 Jan 2009 23:48:51 +0000]
Fall back to "" overload for -X.
Ben Morrow [Mon, 19 Jan 2009 23:32:29 +0000]
More tests for -X/string/random overloading.
Ben Morrow [Mon, 19 Jan 2009 23:08:49 +0000]
-M, -C, -A for File::stat.
Ben Morrow [Sun, 18 Jan 2009 11:44:20 +0000]
Add -X overloading to File::stat.
Ben Morrow [Sun, 18 Jan 2009 08:56:11 +0000]
Finish the rest of the -X ops.