This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.git
12 years agofix a couple of comments that annoyingly look like merge conflict markers
David Mitchell [Fri, 6 Mar 2009 01:20:53 +0000 (01:20 +0000)]
fix a couple of comments that annoyingly look like merge conflict markers

12 years agoIn dl_vms.xs, treat dl_last_error like the SV that it is.
Craig A. Berry [Thu, 5 Mar 2009 23:28:13 +0000 (17:28 -0600)]
In dl_vms.xs, treat dl_last_error like the SV that it is.

We apparently missed the memo back at 591022fb18ce8ae85902133bbbfe8e1de05216b1.

12 years agoUpdate Archive::Tar to 1.46
Jos I. Boumans [Thu, 5 Mar 2009 16:24:05 +0000 (17:24 +0100)]
Update Archive::Tar to 1.46

12 years agoUpdated MANIFEST for autodie 1.999
Paul Fenwick [Tue, 3 Mar 2009 23:58:25 +0000 (10:58 +1100)]
Updated MANIFEST for autodie 1.999

12 years agoMerge of autodie 1.999 into blead.
Paul Fenwick [Mon, 2 Mar 2009 05:06:59 +0000 (16:06 +1100)]
Merge of autodie 1.999 into blead.

12 years agoFix installation of 'autodie'
Jerry D. Hedden [Tue, 3 Mar 2009 20:03:55 +0000 (15:03 -0500)]
Fix installation of 'autodie'

12 years agoUpdate Archive::Extract to 0.31_02
Jos I. Boumans [Wed, 4 Mar 2009 12:04:19 +0000 (13:04 +0100)]
Update Archive::Extract to 0.31_02

12 years agoAdd a failing test for stack corruption with MULTICALL
Alex Vandiver [Wed, 4 Mar 2009 07:54:26 +0000 (02:54 -0500)]
Add a failing test for stack corruption with MULTICALL

12 years agoUpdate Parse::CPAN::Meta to 0.04_01
Steffen Mueller [Tue, 3 Mar 2009 20:18:30 +0000 (21:18 +0100)]
Update Parse::CPAN::Meta to 0.04_01

12 years agoAdd Parse::CPAN::Meta to Porting/Maintainers.pl
Steffen Mueller [Tue, 3 Mar 2009 20:25:27 +0000 (21:25 +0100)]
Add Parse::CPAN::Meta to Porting/Maintainers.pl

12 years agoAdd contact info for Simon Wistow in Porting/Maintainers.pl
Steffen Mueller [Tue, 3 Mar 2009 20:19:59 +0000 (21:19 +0100)]
Add contact info for Simon Wistow in Porting/Maintainers.pl

12 years agoRemove the MANIFEST from Compress-Raw-Bzip2
Rafael Garcia-Suarez [Tue, 3 Mar 2009 15:57:06 +0000 (16:57 +0100)]
Remove the MANIFEST from Compress-Raw-Bzip2

(it wasn't the same in the CPAN distribution anyway)

12 years agoBump versions to 0.12 to sync with CPAN version
Rafael Garcia-Suarez [Mon, 2 Mar 2009 14:05:40 +0000 (15:05 +0100)]
Bump versions to 0.12 to sync with CPAN version

12 years agoIntegrate Parse::CPAN::Meta 0.04 into core
Steffen Mueller [Tue, 6 Jan 2009 18:49:01 +0000 (19:49 +0100)]
Integrate Parse::CPAN::Meta 0.04 into core

12 years agoUpdate CPANPLUS to 0.85_06
Jos I. Boumans [Fri, 27 Feb 2009 15:07:53 +0000 (16:07 +0100)]
Update CPANPLUS to 0.85_06

12 years agoBump versions to 0.10 for CPAN sync
Rafael Garcia-Suarez [Mon, 2 Mar 2009 09:44:54 +0000 (10:44 +0100)]
Bump versions to 0.10 for CPAN sync

12 years agoMake util.c compile on systems without getcwd()
Rafael Garcia-Suarez [Sun, 1 Mar 2009 23:13:34 +0000 (00:13 +0100)]
Make util.c compile on systems without getcwd()

12 years agoBetter gitignore file for Compress-Raw-Bzip2
Rafael Garcia-Suarez [Sun, 1 Mar 2009 23:05:03 +0000 (00:05 +0100)]
Better gitignore file for Compress-Raw-Bzip2

12 years agoAdd Compress-Raw-Bzip2, by Paul Marquess
Rafael Garcia-Suarez [Sun, 1 Mar 2009 22:37:53 +0000 (23:37 +0100)]
Add Compress-Raw-Bzip2, by Paul Marquess

12 years agoMark modules upgraded today as "upstream from CPAN"
Rafael Garcia-Suarez [Sun, 1 Mar 2009 22:17:35 +0000 (23:17 +0100)]
Mark modules upgraded today as "upstream from CPAN"

12 years agoUpdate CPANPLUS::Dist::Build to 0.08
Chris 'BinGOs' Williams [Sun, 1 Mar 2009 21:27:17 +0000 (22:27 +0100)]
Update CPANPLUS::Dist::Build to 0.08

12 years agoUpdate to Term::ANSIColor 2.00
Rafael Garcia-Suarez [Sun, 1 Mar 2009 16:30:21 +0000 (17:30 +0100)]
Update to Term::ANSIColor 2.00

12 years agoMake deprecate.pm work on VMS.
Craig A. Berry [Sat, 28 Feb 2009 17:47:56 +0000 (11:47 -0600)]
Make deprecate.pm work on VMS.

12 years agoHash::Util::FieldHash 1.03 leaks SVs which are used as object IDs stored in mg->mg_obj
Goro Fuji [Sat, 28 Feb 2009 10:21:38 +0000 (11:21 +0100)]
Hash::Util::FieldHash 1.03 leaks SVs which are used as object IDs stored in mg->mg_obj

12 years agoNAME section must fit on one line
Rafael Garcia-Suarez [Fri, 27 Feb 2009 14:29:07 +0000 (15:29 +0100)]
NAME section must fit on one line

12 years agorewrote deprecate test using File::Spec
Robin Barker [Wed, 25 Feb 2009 18:05:09 +0000 (18:05 +0000)]
rewrote deprecate test using File::Spec

12 years agoadd standard documentation to deprecate
Robin Barker [Thu, 26 Feb 2009 17:08:35 +0000 (17:08 +0000)]
add standard documentation to deprecate

12 years ago6c0ec79a2e9c445ac9999df2 failed to build from distclean - also tweak make_ext.pl
Nicholas Clark [Thu, 26 Feb 2009 22:31:39 +0000 (22:31 +0000)]
6c0ec79a2e9c445ac9999df2 failed to build from distclean - also tweak make_ext.pl

12 years agoRemove spurious TODO indicators
Rafael Garcia-Suarez [Thu, 26 Feb 2009 10:00:40 +0000 (11:00 +0100)]
Remove spurious TODO indicators

By definition, the first test in a series for testing a
leak should always succeed

12 years agoCorrect the paths for the nonxs_ext targets, following the ext flattening.
Nicholas Clark [Thu, 26 Feb 2009 08:34:36 +0000 (09:34 +0100)]
Correct the paths for the nonxs_ext targets, following the ext flattening.
(Static and dynamic each build a target in lib/auto, which was unchanged.
nonxs_ext use a target inside the extension's directory, which was moved, but
Makefile.SH had not been updated to reflect this.)

12 years agoRemove needless sed line added with 4318d5a0158916acc059aa8e6af84037cb7296b9.
Nicholas Clark [Thu, 26 Feb 2009 08:16:39 +0000 (09:16 +0100)]
Remove needless sed line added with 4318d5a0158916acc059aa8e6af84037cb7296b9.

12 years agoMake non-blocking mode work on Windows in IO::Socket::INET
Yasuhiro Matsumoto [Thu, 26 Feb 2009 08:09:33 +0000 (09:09 +0100)]
Make non-blocking mode work on Windows in IO::Socket::INET

CPAN RT bug #43573

12 years agoUpdate Filter::Util::Call to 1.08
Paul Marquess [Wed, 25 Feb 2009 23:20:05 +0000 (00:20 +0100)]
Update Filter::Util::Call to 1.08

12 years agofix typo in pod/perlperf.pod
David Mitchell [Wed, 25 Feb 2009 22:32:37 +0000 (22:32 +0000)]
fix typo in pod/perlperf.pod

12 years agoMakeMaker is first-come in Maintainers.pl.
Craig A. Berry [Wed, 25 Feb 2009 13:43:23 +0000 (07:43 -0600)]
MakeMaker is first-come in Maintainers.pl.

Says Schwern in Message-ID: <49A5290F.1060400@pobox.com>.

12 years agotest script for deprecate.pm
Robin Barker [Wed, 25 Feb 2009 08:41:52 +0000 (09:41 +0100)]
test script for deprecate.pm

First pass at tests for deprecate.pm.

Had to modify the module to provide an interface for testing - need to
provide fake install directories, but deprecated reads from
%Config::Config, which is read only.

12 years agoadd-package.pl fixup
Jos I. Boumans [Wed, 25 Feb 2009 08:31:02 +0000 (09:31 +0100)]
add-package.pl fixup

Sometimes, using find, add-package.pl will construct filenames with 2
consecutive slashes, ie:

 Package-Name/bin//script.pl

As this literal string isn't in the MANIFEST yet, it'll be added
erroneously. The below patch fixes this.

12 years agoremove explicit caller depth in deprecate.pm by searching caller stack for use/requir...
Robin Barker [Tue, 24 Feb 2009 09:57:23 +0000 (09:57 +0000)]
remove explicit caller depth in deprecate.pm by searching caller stack for use/require Module.pm

12 years agoFix line number test for scalar attribute handlers
Rafael Garcia-Suarez [Tue, 24 Feb 2009 09:21:09 +0000 (10:21 +0100)]
Fix line number test for scalar attribute handlers

Un-TODO the tests for bleadperl and above

12 years agoFix to installing non-xs ext's in priv lib
Jerry D. Hedden [Mon, 23 Feb 2009 17:37:16 +0000 (12:37 -0500)]
Fix to installing non-xs ext's in priv lib

12 years agoUpgrade to threads::shared 1.28
Jerry D. Hedden [Mon, 23 Feb 2009 19:43:46 +0000 (14:43 -0500)]
Upgrade to threads::shared 1.28

12 years agoUpgrade to threads 1.72
Jerry D. Hedden [Mon, 23 Feb 2009 20:11:01 +0000 (15:11 -0500)]
Upgrade to threads 1.72

12 years agoIn S_parse_body(), sv hasn't been needed since -P bit the dust.
Nicholas Clark [Mon, 23 Feb 2009 23:37:35 +0000 (00:37 +0100)]
In S_parse_body(), sv hasn't been needed since -P bit the dust.
(And probably should have been removed with change 32958,
2f3529075cdaceeaf619b8bd308885878ec9828a)

12 years agoMerge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead
Steve Peters [Mon, 23 Feb 2009 19:57:38 +0000 (13:57 -0600)]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead

12 years agofileno() was failing when passed a NULL. I'm guessing that we don't really need...
Steve Peters [Mon, 23 Feb 2009 19:25:33 +0000 (13:25 -0600)]
fileno() was failing when passed a NULL.  I'm guessing that we don't really need to increase the refcount on a NULL fd.

12 years agoFix unused variable warning
Jerry D. Hedden [Mon, 23 Feb 2009 16:04:07 +0000 (11:04 -0500)]
Fix unused variable warning

Attached patch fixes the following build warnings:

perlmini.c: In function `S_incpush':
perlmini.c:4358: warning: unused variable `addoldvers'

perl.c: In function `S_incpush':
perl.c:4358: warning: unused variable `addoldvers'

From 87b6dbeb18691177a2b2e8dc971da242ac831c03 Mon Sep 17 00:00:00 2001
From: Jerry D. Hedden <jdhedden@cpan.org>
Date: Mon, 23 Feb 2009 10:58:14 -0500
Subject: [PATCH] Fix unused variable warning

12 years agoRe-apply cd5cc49dbc0e5ee748252c2da8b435855908e6d2 (Module::Build on VMS, #42724)
Nicholas Clark [Mon, 23 Feb 2009 14:43:09 +0000 (14:43 +0000)]
Re-apply cd5cc49dbc0e5ee748252c2da8b435855908e6d2 (Module::Build on VMS, #42724)

12 years agoUpdate to Module::Build 0.31_04 (with a tweak to MBTest.pm)
Nicholas Clark [Mon, 23 Feb 2009 14:15:49 +0000 (14:15 +0000)]
Update to Module::Build 0.31_04 (with a tweak to MBTest.pm)

12 years agoTemporarily reverse out change cd5cc49dbc0e5ee748252c2da8b435855908e6d2.
Nicholas Clark [Mon, 23 Feb 2009 13:23:30 +0000 (13:23 +0000)]
Temporarily reverse out change cd5cc49dbc0e5ee748252c2da8b435855908e6d2.

12 years agoModule::Build Changes from 0.31012, which hadn't been updated.
Nicholas Clark [Mon, 23 Feb 2009 12:29:31 +0000 (12:29 +0000)]
Module::Build Changes from 0.31012, which hadn't been updated.

12 years agoAdd deprecate.pm. Deprecate shipping Switch.pm in the core distribution.
Nicholas Clark [Mon, 23 Feb 2009 10:27:08 +0000 (11:27 +0100)]
Add deprecate.pm. Deprecate shipping Switch.pm in the core distribution.

12 years agovms.c - Remove .DIR; in UNIX mode.
John Malmberg [Sun, 22 Feb 2009 18:23:29 +0000 (12:23 -0600)]
vms.c - Remove .DIR; in UNIX mode.

When doing a readdir() or glob() with DECC$FILENAME_UNIX_REPORT active,
the ".DIR" suffix needs to be removed for directories.

12 years agoVMS-specific nit in S_init_perllib after 2cace6acdfad87b2d298bff18b91b339c18fd1e3.
Craig A. Berry [Mon, 23 Feb 2009 03:14:17 +0000 (21:14 -0600)]
VMS-specific nit in S_init_perllib after 2cace6acdfad87b2d298bff18b91b339c18fd1e3.

12 years agotime_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.
Craig A. Berry [Mon, 23 Feb 2009 00:28:13 +0000 (18:28 -0600)]
time_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.

12 years agoFor S_incpush(), dir is never NULL, and len is always > 0.
Nicholas Clark [Sun, 22 Feb 2009 22:17:47 +0000 (23:17 +0100)]
For S_incpush(), dir is never NULL, and len is always > 0.

12 years agoOptimise S_incpush() by avoiding repeatedly copying libdir to subdir.
Nicholas Clark [Sun, 22 Feb 2009 21:27:18 +0000 (22:27 +0100)]
Optimise S_incpush() by avoiding repeatedly copying libdir to subdir.
Specifically, copy it once with newSVsv(), then pass libdir to
S_incpush_if_exists(), and if that creates a new SV, use newSVsv() there to
re-do the copy. Otherwise reset the length of the passed-in SV (which is
subdir), back to the length of libdir, effectively truncating it back to be
equal to libdir. This avoids repeated copying of the same bytes over the same
memory that already holds those bytes.

12 years agoIn S_incpush, move the declaration of subdir inside the only block that uses it.
Nicholas Clark [Sun, 22 Feb 2009 21:11:19 +0000 (22:11 +0100)]
In S_incpush, move the declaration of subdir inside the only block that uses it.

12 years agoTidy up incpush. Re-order the macros, and re-indent some code.
Nicholas Clark [Sun, 22 Feb 2009 21:00:03 +0000 (22:00 +0100)]
Tidy up incpush. Re-order the macros, and re-indent some code.

12 years agoMove unversioned directories in PERL_OTHERLIBDIRS later in @INC.
Nicholas Clark [Sun, 22 Feb 2009 20:45:04 +0000 (21:45 +0100)]
Move unversioned directories in PERL_OTHERLIBDIRS later in @INC.
Split INCPUSH_ADD_SUB_DIRS into INCPUSH_ADD_VERSIONED_SUB_DIRS and
INCPUSH_ADD_ARCHONLY_SUB_DIRS, and tweak the flags used for the two halves of
PERL_OTHERLIBDIRS so that .../$archname and .../ come after .../$old_version

12 years ago7fc731078209e8c26ed8bba477edfd90724c7146 missed one (addsubdirs || addoldvers).
Nicholas Clark [Sun, 22 Feb 2009 20:29:32 +0000 (21:29 +0100)]
7fc731078209e8c26ed8bba477edfd90724c7146 missed one (addsubdirs || addoldvers).

12 years agoIn S_init_perllib(), push the bare VENDORLIB_STEM onto @INC after its subdirs.
Nicholas Clark [Sun, 22 Feb 2009 19:27:48 +0000 (20:27 +0100)]
In S_init_perllib(), push the bare VENDORLIB_STEM onto @INC after its subdirs.

12 years agoIn S_init_perllib(), push the bare SITELIB_STEM onto @INC after its subdirs.
Nicholas Clark [Sun, 22 Feb 2009 19:27:08 +0000 (20:27 +0100)]
In S_init_perllib(), push the bare SITELIB_STEM onto @INC after its subdirs.

12 years agoIn S_incpush(), move push @INC, ".../$archname" if -d ".../$archname"; later.
Nicholas Clark [Sun, 22 Feb 2009 19:24:49 +0000 (20:24 +0100)]
In S_incpush(), move push @INC, ".../$archname" if -d ".../$archname"; later.

This effects this change:

--- Start       2009-02-21 14:04:40.000000000 +0100
+++ /dev/fd/63  2009-02-22 16:41:18.000000000 +0100
@@ -1,14 +1,14 @@
 /Users/nick/Sandpit/511v/hashbangI/5.11.0/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI/5.11.0
-/Users/nick/Sandpit/511v/hashbangI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI/5.11.-2/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI/5.11.-2
+/Users/nick/Sandpit/511v/hashbangI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/hashbangI
 /Users/nick/Sandpit/511v/cliI/5.11.0/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI/5.11.0
-/Users/nick/Sandpit/511v/cliI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI/5.11.-1/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI/5.11.-1
+/Users/nick/Sandpit/511v/cliI/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/cliI
 /Users/nick/Sandpit/511v/perl5lib0/5.11.0/darwin-thread-multi-64int-2level
 /Users/nick/Sandpit/511v/perl5lib0/5.11.0

12 years agoIn S_init_perllib(), initialise perl5lib to NULL, to keep trace flow happy.
Nicholas Clark [Sun, 22 Feb 2009 17:37:26 +0000 (17:37 +0000)]
In S_init_perllib(), initialise perl5lib to NULL, to keep trace flow happy.

12 years agoIn S_incpush(), replace (addsubdirs || addoldvers) with a constant variable.
Nicholas Clark [Sun, 22 Feb 2009 17:24:04 +0000 (17:24 +0000)]
In S_incpush(), replace (addsubdirs || addoldvers) with a constant variable.

12 years agoIn S_init_perllib(), s can be const char*
Nicholas Clark [Sun, 22 Feb 2009 13:05:38 +0000 (14:05 +0100)]
In S_init_perllib(), s can be const char*

12 years agoIn S_init_perllib(), only call PerlEnv_getenv("PERL5LIB") once.
Nicholas Clark [Sun, 22 Feb 2009 12:55:49 +0000 (13:55 +0100)]
In S_init_perllib(), only call PerlEnv_getenv("PERL5LIB") once.

12 years agoUnwind the implicit loop in S_init_perllib(), by writing the code out longhand.
Nicholas Clark [Sun, 22 Feb 2009 12:34:29 +0000 (13:34 +0100)]
Unwind the implicit loop in S_init_perllib(), by writing the code out longhand.
Call it only once, remove the old_vers parameter, and all the related
conditional code.

12 years agoChange the value passed into S_init_perllib() to a boolean flag.
Nicholas Clark [Sat, 21 Feb 2009 17:23:46 +0000 (18:23 +0100)]
Change the value passed into S_init_perllib() to a boolean flag.

12 years agoNetWare has PRIVLIB_EXP as something other than a string constant. Cope with it.
Nicholas Clark [Sat, 21 Feb 2009 07:06:06 +0000 (08:06 +0100)]
NetWare has PRIVLIB_EXP as something other than a string constant. Cope with it.

12 years agoUse "system" gmtime in time64 on VMS so C<vmsish 'time'> pragma works.
Craig A. Berry [Sat, 21 Feb 2009 20:46:27 +0000 (14:46 -0600)]
Use "system" gmtime in time64 on VMS so C<vmsish 'time'> pragma works.

It's not really the system gmtime; it's the homegrown one in vms/vms.c
that checks hints and does shifting between UTC and local time when
requested.

12 years agoIn S_init_perllib(), correct errors in the MACOS_TRADITIONAL conditional code.
Nicholas Clark [Sat, 21 Feb 2009 18:04:08 +0000 (18:04 +0000)]
In S_init_perllib(), correct errors in the MACOS_TRADITIONAL conditional code.
(Errors that originated in a26c0e281cb6068a8d148933281d8186f1eb4206 and
50d61629dc7fe34f077b9f66c50287d839e06378)

12 years agoRe-apply changes 4adc95e616bac7ee and 200cbd6aa595a074 (RT #61492)
Nicholas Clark [Sat, 21 Feb 2009 08:41:14 +0000 (08:41 +0000)]
Re-apply changes 4adc95e616bac7ee and 200cbd6aa595a074 (RT #61492)
(ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically
linked)(We'd failed to send this one upstream. Bad us.)

12 years agoUpgrade to ExtUtils::MakeMaker 6.49_01
Nicholas Clark [Sat, 21 Feb 2009 08:11:13 +0000 (08:11 +0000)]
Upgrade to ExtUtils::MakeMaker 6.49_01

12 years agoSkip time64 when there is no 64-bit integer type available.
Craig A. Berry [Sat, 21 Feb 2009 04:58:55 +0000 (22:58 -0600)]
Skip time64 when there is no 64-bit integer type available.

The y2038 code currently requires that a 64-bit integer type be available,
so the build falls down hard if we try to use it where there isn't one.  A
better fix might be to try NV for time_t and a 32-bit integer for year.

N.B.  We test for the definedness of Quad_t rather than HAS_QUAD since the
latter is explicitly undef'd in the case where 64-bit types are available
but are not being used for Perl's IV and UV.

12 years agoAvoid VMS long filename support on older systems that don't have it.
Craig A. Berry [Fri, 20 Feb 2009 23:43:08 +0000 (17:43 -0600)]
Avoid VMS long filename support on older systems that don't have it.

12 years agoMove redefinition of lstat above its first use in vms/vms.c.
Craig A. Berry [Fri, 20 Feb 2009 23:37:47 +0000 (17:37 -0600)]
Move redefinition of lstat above its first use in vms/vms.c.

12 years agoMore smartmatch tests
Rafael Garcia-Suarez [Fri, 20 Feb 2009 23:06:22 +0000 (00:06 +0100)]
More smartmatch tests

This includes a TODO for overloaded objects.
Tests will need to be augmented and better organized.

12 years agoAdd a parameter to win32_get_{priv,site,vendor}lib(), to return the length,
Nicholas Clark [Fri, 20 Feb 2009 20:09:16 +0000 (20:09 +0000)]
Add a parameter to win32_get_{priv,site,vendor}lib(), to return the length,
as we already know it, and use it in S_init_perllib() to save a strlen() in
S_incpush_use_sep().

12 years agoText::Wrap maintained via the CPAN release
Steffen Mueller [Fri, 20 Feb 2009 18:22:57 +0000 (19:22 +0100)]
Text::Wrap maintained via the CPAN release

12 years agoCheck for thread failure in prime number example
Jerry D. Hedden [Fri, 20 Feb 2009 14:45:41 +0000 (09:45 -0500)]
Check for thread failure in prime number example

12 years agoSilence a casting warning with memchr()
Rafael Garcia-Suarez [Fri, 20 Feb 2009 13:45:36 +0000 (14:45 +0100)]
Silence a casting warning with memchr()

12 years agoWonky example in perlthrtut
Alex Davies [Fri, 20 Feb 2009 08:39:29 +0000 (09:39 +0100)]
Wonky example in perlthrtut

Fix at least the syntax of the example.
See : Message-ID: <F00A81D78228413FBED223C3919BE75B@Amelie>

12 years agoMerge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead
Leon Brocard [Fri, 20 Feb 2009 08:31:40 +0000 (16:31 +0800)]
Merge branch 'blead' of ssh://perl5.git.perl.org/gitroot/perl into blead

12 years agoRemove the -x from the cherry pick and show how to merge the whole branch (suggested...
Leon Brocard [Fri, 20 Feb 2009 08:30:59 +0000 (16:30 +0800)]
Remove the -x from the cherry pick and show how to merge the whole branch (suggested by rgs)

12 years agoReorder and complete tests for smart matching with objects
Rafael Garcia-Suarez [Tue, 17 Feb 2009 12:56:43 +0000 (13:56 +0100)]
Reorder and complete tests for smart matching with objects

12 years agoFix {%hash} ~~ %hash test
Rafael Garcia-Suarez [Tue, 17 Feb 2009 07:22:44 +0000 (08:22 +0100)]
Fix {%hash} ~~ %hash test

This was not parsed as a smart match, because {%hash} was taken
as a block, not a an anonymous hash.

Also, avoid to construct an anonymous hash with an odd number of
elements.

12 years agoBetter diagnostics for the ~~ test
Rafael Garcia-Suarez [Tue, 17 Feb 2009 06:50:16 +0000 (07:50 +0100)]
Better diagnostics for the ~~ test

Read from DATA line per line, so warnings are reported from the correct
line. Make test names and error reports more readable.

12 years agoRemove an extra space
Leon Brocard [Fri, 20 Feb 2009 08:25:18 +0000 (16:25 +0800)]
Remove an extra space

12 years agoAdd a section on merging from a branch via GitHub
Leon Brocard [Fri, 20 Feb 2009 08:22:23 +0000 (16:22 +0800)]
Add a section on merging from a branch via GitHub

12 years agoFixed missing word in Text::Wrap POD
Dan Dascalescu [Fri, 20 Feb 2009 06:48:09 +0000 (06:48 +0000)]
Fixed missing word in Text::Wrap POD
(cherry picked from commit 3adac458cb1c1d41af47fc66e67b49c8dec2323f)

12 years ago[PATCH] DB_File 1.819
Paul Marquess [Thu, 19 Feb 2009 09:15:01 +0000 (09:15 +0000)]
[PATCH] DB_File 1.819

Small change to t/db-recno.t [RT# 43288]

Message-ID: <00ad01c99214$89f5fa50$9de1eef0$@Marquess@ntlworld.com>

12 years agoRemove the stub nw_get_sitelib(), and undefine SITELIB_EXP for NetWare.
Nicholas Clark [Wed, 18 Feb 2009 15:28:12 +0000 (15:28 +0000)]
Remove the stub nw_get_sitelib(), and undefine SITELIB_EXP for NetWare.
(nw_get_sitelib() was hard coded to return NULL, which is a slower equivalent
to simply not defining SITELIB_EXP in the first place. I suspect a cargo cult
of win32/ without actually taking the time to understand it.)

12 years agoPass the length of the string to S_incpush_use_sep(), where known.
Nicholas Clark [Tue, 17 Feb 2009 23:24:32 +0000 (23:24 +0000)]
Pass the length of the string to S_incpush_use_sep(), where known.

12 years agoTests for S_incpush_use_sep() splitting on : (or platform equivalent)
Nicholas Clark [Tue, 17 Feb 2009 22:57:56 +0000 (22:57 +0000)]
Tests for S_incpush_use_sep() splitting on : (or platform equivalent)

12 years agoIn runenv.t, break apart running perl and testing the output into two functions.
Nicholas Clark [Tue, 17 Feb 2009 20:18:39 +0000 (20:18 +0000)]
In runenv.t, break apart running perl and testing the output into two functions.

12 years agoGet $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
Nicholas Clark [Tue, 17 Feb 2009 17:11:25 +0000 (17:11 +0000)]
Get $ENV{PERL5LIB} into a known consistent state under TEST - delete it!
(It doesn't strike me as good that t/TEST and t/harness are inconsistent -
the former runs every test with -MTestInit; the latter sets $ENV{PERL5LIB} to
'../lib'; and on the gripping hand, we have boilerplate in every test to set
@INC. No choice seems ideal.

12 years agoIn S_incpush(), avoid "possible loss of data" warnings from the C compiler.
Nicholas Clark [Tue, 17 Feb 2009 08:48:45 +0000 (08:48 +0000)]
In S_incpush(), avoid "possible loss of data" warnings from the C compiler.

12 years agoMove PERL_VERSION_STRING from patchlevel.h to perl.h
Nicholas Clark [Mon, 16 Feb 2009 23:55:58 +0000 (23:55 +0000)]
Move PERL_VERSION_STRING from patchlevel.h to perl.h
(and revert a89d24b9fe54d44395806c16ac1c19f3c678cbbb)
It's getting too complex to work around some versions of awk which don't want
to implement the regular expressions that they are documented to implement.

12 years agoIgnore #defines in in patchlevel.h that end the line with backslash.
Nicholas Clark [Mon, 16 Feb 2009 22:47:54 +0000 (22:47 +0000)]
Ignore #defines in in patchlevel.h that end the line with backslash.
(Otherwise config.sh ends up with part of PERL_VERSION_STRING, and the build
chokes to a stop.)