From: Nicholas Clark Date: Sun, 21 Feb 2010 14:46:27 +0000 (+0000) Subject: Since change 9c901649534a1360, vendorlib_stem isn't always added to @INC. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=79cf6d147ddb45df8d4a108b442c4a9707a4061d;p=p5sagit%2Fp5-mst-13.2.git Since change 9c901649534a1360, vendorlib_stem isn't always added to @INC. Update lib/Config.t to reflect this. vendorlib_stem used always to be added if defined. Since that change it is only added if inc_version_list is also defined, which makes "vendor" behaviour consistent with "site", where sitelib_stem had always only ever been added to @INC if inc_version_list is defined. --- diff --git a/lib/Config.t b/lib/Config.t index 922f826..76ce6b6 100644 --- a/lib/Config.t +++ b/lib/Config.t @@ -256,9 +256,9 @@ my %orig_inc; @orig_inc{@orig_inc} = (); my $failed; -# This is the order that directories are pushed onto @INC in perl.c: +# This [used to be] the order that directories are pushed onto @INC in perl.c: foreach my $lib (qw(applibexp archlibexp privlibexp sitearchexp sitelibexp - vendorarchexp vendorlibexp vendorlib_stem)) { + vendorarchexp vendorlibexp)) { my $dir = $Config{$lib}; SKIP: { skip "lib $lib not in \@INC on Win32" if $^O eq 'MSWin32';