15 years agoReturn OPERATOR('[') for '[' without falling through to case '~', avoiding misinterpr...
Ian Goodacre [Sat, 14 Mar 2009 06:04:12 +0000]
Return OPERATOR('[') for '[' without falling through to case '~', avoiding misinterpreting "[~" as an OP_SMARTMATCH.

15 years agoTests for floating point args to localtime and gmtime
Jerry D. Hedden [Fri, 13 Mar 2009 13:37:24 +0000]
Tests for floating point args to localtime and gmtime

15 years agoAdd -E in the command-line usage in perl.pod
Rafael Garcia-Suarez [Fri, 13 Mar 2009 14:07:03 +0000]
Add -E in the command-line usage in perl.pod

15 years agoIlya M. is no longer maintaining Data::Dumper. Assign to p5p for now.
Steffen Mueller [Fri, 13 Mar 2009 14:04:05 +0000]
Ilya M. is no longer maintaining Data::Dumper. Assign to p5p for now.

15 years agoIgnore the decimal part of any floating point argument passed to localtime or gmtime
Rafael Garcia-Suarez [Fri, 13 Mar 2009 12:15:16 +0000]
Ignore the decimal part of any floating point argument passed to localtime or gmtime

That way the overload warning won't be emitted for non-overflowing
floating point values.

15 years agoMake overflow warnings in gmtime/localtime only occur when warnings are on
Rafael Garcia-Suarez [Fri, 13 Mar 2009 12:12:33 +0000]
Make overflow warnings in gmtime/localtime only occur when warnings are on

15 years agoMake eval{} (entertry) trappable by Safe
Rafael Garcia-Suarez [Fri, 13 Mar 2009 09:07:50 +0000]
Make eval{} (entertry) trappable by Safe

15 years agoFix #56194 Regex: (((??{1 + $^N}))) behaves differently in 5.10.0 than in blead
Bram [Thu, 12 Mar 2009 19:43:57 +0000]
Fix #56194 Regex: (((??{1 + $^N}))) behaves differently in 5.10.0 than in blead

PL_reglastparen and PL_reglastcloseparen contains a pointer are set to & rex->lastparen and & rex->lastcloseparen.
In case END the rex var is modified but PL_reglastparen and PL_reglastcloseparen is not.
Some part of the codes access PL_reglastparen while other parts use rex->lastparen.

This patch corrects this and adds 3 assertions.

I'm currently unable to proof (with a test case) that the code in case EVAL_ab is really nessesary...
Logically speaking it is nessesary but I do not know if it can cause test failures.

Also in the patch are missing regressions between 5.8 -> 5.10 and 5.10 -> 5.11. (and a test script that contains these regressions)

Message-ID: <rt-3.6.HEAD-4802-1236806863-900.56194-15-0@perl.org>

[Includes message and patch edits by committer.]

15 years ago[PATCH] Update Archive::Extract to 0.31_03
Jos I. Boumans [Wed, 11 Mar 2009 17:48:11 +0000]
[PATCH] Update Archive::Extract to 0.31_03

Message-Id: <AC196808-D03D-4193-9255-913DDBA666F2@dwim.org>

15 years ago[PATCH] Update CPANPLUS::Dist::Build to 0.14
Chris 'BinGOs' Williams [Wed, 11 Mar 2009 17:35:55 +0000]
[PATCH] Update CPANPLUS::Dist::Build to 0.14

Message-ID: <20090311122950.GA16728@klanker.bingosnet.co.uk>

15 years agoMerge Parse::CPAN::Meta 0.05 into core
Steffen Mueller [Wed, 11 Mar 2009 17:23:41 +0000]
Merge Parse::CPAN::Meta 0.05 into core

15 years agoMerge Attribute::Handlers 0.82 into core
Steffen Mueller [Wed, 11 Mar 2009 17:12:01 +0000]
Merge Attribute::Handlers 0.82 into core

15 years agoFix a printf compilation warning
Rafael Garcia-Suarez [Tue, 10 Mar 2009 12:29:48 +0000]
Fix a printf compilation warning

15 years agolib/Text/TabsWrap/t/dnsparks.t should skip under TEST too, so remove it.
Nicholas Clark [Sun, 8 Mar 2009 21:06:56 +0000]
lib/Text/TabsWrap/t/dnsparks.t should skip under TEST too, so remove it.
(It's not a "regular" test, and purposefully doesn't output well-formed TAP.)

15 years agoRemove declaration of XS_Internals_inc_sub_generation
Rafael Garcia-Suarez [Sun, 8 Mar 2009 15:19:50 +0000]
Remove declaration of XS_Internals_inc_sub_generation

The function Internals::inc_sub_generation() was removed
in commit 41892db1963e88b547da12808d8e5630cc1edb59

15 years agoNeed to -I../lib explicitly, as TAP::Parser no longer parses $ENV{PERL5LIB}.
Nicholas Clark [Sun, 8 Mar 2009 15:06:35 +0000]
Need to -I../lib explicitly, as TAP::Parser no longer parses $ENV{PERL5LIB}.

15 years agoUpdate t/harness to reflect behaviour changes in TAP::Harness 3.16
Nicholas Clark [Sun, 8 Mar 2009 14:52:56 +0000]
Update t/harness to reflect behaviour changes in TAP::Harness 3.16
Explicitly add -I../lib to the switches, rather than rely on TAP::Harness or
Test::Harness picking -I../lib up from $ENV{PERL5LIB}. (Test::Harness hasn't
changed, but TAP::Harness has). Test::Harness does, however, spot that we've
altered our own @INC, and passes this on to tests. So there is no need to set
$ENV{PERL5LIB} to effect changes to @INC in tests. So don't set $ENV{PERL5LIB}
to -I../lib. Instead set it to '', to avoid contamination from our environment.

15 years agoFix synchronization of Getopt::Long CHANGES file to 2.37
Steffen Mueller [Sun, 8 Mar 2009 12:39:35 +0000]
Fix synchronization of Getopt::Long CHANGES file to 2.37

15 years agosynchronize Getopt::Long CHANGES file to the corresponding CHANGES file in the curren...
Steffen Mueller [Sun, 8 Mar 2009 12:02:11 +0000]
synchronize Getopt::Long CHANGES file to the corresponding CHANGES file in the current stable CPAN release 2.37

15 years agoCwd and File::Spec are maintained as part of PathTools in svn.perl.org
Steffen Mueller [Sun, 8 Mar 2009 11:25:41 +0000]
Cwd and File::Spec are maintained as part of PathTools in svn.perl.org

15 years agoFix MULTICALL in List-Util
Alex Vandiver [Sat, 7 Mar 2009 07:44:40 +0000]
Fix MULTICALL in List-Util

Add a new stack frame; the MULTICALL code in pp_return assumes there
is a clean stack, and blindly changes the top-most stack value.  This
change brings cop.h more in line with the "poor-man's MULTICALL"
provided in ext/List-Util/multicall.h, which also always pushes a new
stack.

15 years agoMake PerlIO::get_layers really test flgok before reading *flgsvp
Vincent Pit [Sat, 7 Mar 2009 20:37:22 +0000]
Make PerlIO::get_layers really test flgok before reading *flgsvp

15 years agoMake DynaLoader clone its private data under threads.
Craig A. Berry [Sat, 7 Mar 2009 20:33:04 +0000]
Make DynaLoader clone its private data under threads.

15 years agoUpdate to Encode 2.32
Rafael Garcia-Suarez [Sat, 7 Mar 2009 13:55:32 +0000]
Update to Encode 2.32

15 years agoFix test failure with t/TEST
Rafael Garcia-Suarez [Sat, 7 Mar 2009 13:47:18 +0000]
Fix test failure with t/TEST

(because of a lack of perl search path for non installed modules)

15 years agoFixing the cast for the result of (getgrent())->gr_gid
David M. Syzdek [Fri, 6 Mar 2009 23:03:40 +0000]
Fixing the cast for the result of (getgrent())->gr_gid

The gr_gid member of struct group is being cast as an int even if
system uses an unsigned int. This patch tests for the use of an
unsigned int for the gr_gid member and casts the value as appropiate.

Created with Arthur Corliss <corliss@corliss@digitalmages.com>.

Signed-off-by: David M. Syzdek <david@syzdek.net>

15 years agoAdd a bunch of missing files to the MANIFEST
Rafael Garcia-Suarez [Sat, 7 Mar 2009 11:21:51 +0000]
Add a bunch of missing files to the MANIFEST

15 years agoUpgrade to Test-Harness-3.16
Steve Hay [Fri, 6 Mar 2009 15:22:23 +0000]
Upgrade to Test-Harness-3.16

But keep Test/Harness -> Test-Harness changes from commit f715bbfb20b232d289d3eddf42aec434ddd9dd4c
and do likewise in new files file.t and harness-bailout.t too.

15 years agoUpgrade Text::Tabs+Text::Wrap to version 2009.0305
Steffen Mueller [Fri, 6 Mar 2009 13:56:03 +0000]
Upgrade Text::Tabs+Text::Wrap to version 2009.0305

15 years agoUpgrade to Module-Build-0.32
Steve Hay [Fri, 6 Mar 2009 11:54:02 +0000]
Upgrade to Module-Build-0.32

But keep cd5cc49dbc0e5ee748252c2da8b435855908e6d2 (Module::Build on VMS, #42724)
and the MBTest.pm tweak from 66e531b6b23122113bed8498baac1ef25a958d57.

15 years agofix a couple of comments that annoyingly look like merge conflict markers
David Mitchell [Fri, 6 Mar 2009 01:20:53 +0000]
fix a couple of comments that annoyingly look like merge conflict markers

15 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]
In dl_vms.xs, treat dl_last_error like the SV that it is.

We apparently missed the memo back at 591022fb18ce8ae85902133bbbfe8e1de05216b1.

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

15 years agoUpdated MANIFEST for autodie 1.999
Paul Fenwick [Tue, 3 Mar 2009 23:58:25 +0000]
Updated MANIFEST for autodie 1.999

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

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

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

15 years agoAdd a failing test for stack corruption with MULTICALL
Alex Vandiver [Wed, 4 Mar 2009 07:54:26 +0000]
Add a failing test for stack corruption with MULTICALL

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoMake deprecate.pm work on VMS.
Craig A. Berry [Sat, 28 Feb 2009 17:47:56 +0000]
Make deprecate.pm work on VMS.

15 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]
Hash::Util::FieldHash 1.03 leaks SVs which are used as object IDs stored in mg->mg_obj

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

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

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

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

15 years agoRemove spurious TODO indicators
Rafael Garcia-Suarez [Thu, 26 Feb 2009 10:00:40 +0000]
Remove spurious TODO indicators

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

15 years agoCorrect the paths for the nonxs_ext targets, following the ext flattening.
Nicholas Clark [Thu, 26 Feb 2009 08:34:36 +0000]
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.)

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

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

CPAN RT bug #43573

15 years agoUpdate Filter::Util::Call to 1.08
Paul Marquess [Wed, 25 Feb 2009 23:20:05 +0000]
Update Filter::Util::Call to 1.08

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

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

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

15 years agotest script for deprecate.pm
Robin Barker [Wed, 25 Feb 2009 08:41:52 +0000]
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.

15 years agoadd-package.pl fixup
Jos I. Boumans [Wed, 25 Feb 2009 08:31:02 +0000]
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.

15 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]
remove explicit caller depth in deprecate.pm by searching caller stack for use/require Module.pm

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

Un-TODO the tests for bleadperl and above

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

15 years agoUpgrade to threads::shared 1.28
Jerry D. Hedden [Mon, 23 Feb 2009 19:43:46 +0000]
Upgrade to threads::shared 1.28

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

15 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]
In S_parse_body(), sv hasn't been needed since -P bit the dust.
(And probably should have been removed with change 32958,
2f3529075cdaceeaf619b8bd308885878ec9828a)

15 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]
Merge branch 'blead' of ssh://stevep@perl5.git.perl.org/gitroot/perl into blead

15 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]
fileno() was failing when passed a NULL.  I'm guessing that we don't really need to increase the refcount on a NULL fd.

15 years agoFix unused variable warning
Jerry D. Hedden [Mon, 23 Feb 2009 16:04:07 +0000]
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

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

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

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

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

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

15 years agovms.c - Remove .DIR; in UNIX mode.
John Malmberg [Sun, 22 Feb 2009 18:23:29 +0000]
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.

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

15 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]
time_t is unsigned 32-bit on VMS; pick sGMTIME_max and sLOCALTIME_max accordingly.

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

15 years agoOptimise S_incpush() by avoiding repeatedly copying libdir to subdir.
Nicholas Clark [Sun, 22 Feb 2009 21:27:18 +0000]
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.

15 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]
In S_incpush, move the declaration of subdir inside the only block that uses it.

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

15 years agoMove unversioned directories in PERL_OTHERLIBDIRS later in @INC.
Nicholas Clark [Sun, 22 Feb 2009 20:45:04 +0000]
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

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

15 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]
In S_init_perllib(), push the bare VENDORLIB_STEM onto @INC after its subdirs.

15 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]
In S_init_perllib(), push the bare SITELIB_STEM onto @INC after its subdirs.

15 years agoIn S_incpush(), move push @INC, ".../$archname" if -d ".../$archname"; later.
Nicholas Clark [Sun, 22 Feb 2009 19:24:49 +0000]
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

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

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

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

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

15 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]
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.

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

15 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]
NetWare has PRIVLIB_EXP as something other than a string constant. Cope with it.