summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2013-12-02 09:12:24 +0000
committerSteve Hay <steve.m.hay@googlemail.com>2013-12-02 09:12:24 +0000
commit4ae6f81b38ab10f8a43c09b6efd34ae18e93ce42 (patch)
treed77a76556a7ddfdf07356ea94f8af48f104c213e
parent97a07f93e6de2b4ed2a80635043467a4a026c6df (diff)
parentd689efaf4740b2518567ca3587d5aa7e86601bea (diff)
downloadperl-4ae6f81b38ab10f8a43c09b6efd34ae18e93ce42.tar.gz
Merge branch 'dirnames' into blead
-rwxr-xr-xConfigure4
-rw-r--r--MANIFEST108
-rw-r--r--META.json2
-rw-r--r--META.yml2
-rwxr-xr-xPorting/Maintainers.pl9
-rw-r--r--cpan/Scalar-List-Utils/ListUtil.xs (renamed from cpan/List-Util/ListUtil.xs)0
-rw-r--r--cpan/Scalar-List-Utils/Makefile.PL (renamed from cpan/List-Util/Makefile.PL)0
-rw-r--r--cpan/Scalar-List-Utils/lib/List/Util.pm (renamed from cpan/List-Util/lib/List/Util.pm)0
-rw-r--r--cpan/Scalar-List-Utils/lib/List/Util/XS.pm (renamed from cpan/List-Util/lib/List/Util/XS.pm)0
-rw-r--r--cpan/Scalar-List-Utils/lib/Scalar/Util.pm (renamed from cpan/List-Util/lib/Scalar/Util.pm)0
-rw-r--r--cpan/Scalar-List-Utils/multicall.h (renamed from cpan/List-Util/multicall.h)0
-rw-r--r--cpan/Scalar-List-Utils/t/00version.t (renamed from cpan/List-Util/t/00version.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/any-all.t (renamed from cpan/List-Util/t/any-all.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/blessed.t (renamed from cpan/List-Util/t/blessed.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/dualvar.t (renamed from cpan/List-Util/t/dualvar.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/first.t (renamed from cpan/List-Util/t/first.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/getmagic-once.t (renamed from cpan/List-Util/t/getmagic-once.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/isvstring.t (renamed from cpan/List-Util/t/isvstring.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/lln.t (renamed from cpan/List-Util/t/lln.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/max.t (renamed from cpan/List-Util/t/max.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/maxstr.t (renamed from cpan/List-Util/t/maxstr.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/min.t (renamed from cpan/List-Util/t/min.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/minstr.t (renamed from cpan/List-Util/t/minstr.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/multicall-refcount.t (renamed from cpan/List-Util/t/multicall-refcount.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/openhan.t (renamed from cpan/List-Util/t/openhan.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/pair.t (renamed from cpan/List-Util/t/pair.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/product.t (renamed from cpan/List-Util/t/product.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/proto.t (renamed from cpan/List-Util/t/proto.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/readonly.t (renamed from cpan/List-Util/t/readonly.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/reduce.t (renamed from cpan/List-Util/t/reduce.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/refaddr.t (renamed from cpan/List-Util/t/refaddr.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/reftype.t (renamed from cpan/List-Util/t/reftype.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/shuffle.t (renamed from cpan/List-Util/t/shuffle.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/stack-corruption.t (renamed from cpan/List-Util/t/stack-corruption.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/sum.t (renamed from cpan/List-Util/t/sum.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/sum0.t (renamed from cpan/List-Util/t/sum0.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/tainted.t (renamed from cpan/List-Util/t/tainted.t)0
-rw-r--r--cpan/Scalar-List-Utils/t/weak.t (renamed from cpan/List-Util/t/weak.t)0
-rw-r--r--dist/PathTools/Cwd.pm (renamed from dist/Cwd/Cwd.pm)0
-rw-r--r--dist/PathTools/Cwd.xs (renamed from dist/Cwd/Cwd.xs)0
-rw-r--r--dist/PathTools/Makefile.PL (renamed from dist/Cwd/Makefile.PL)0
-rw-r--r--dist/PathTools/lib/File/Spec.pm (renamed from dist/Cwd/lib/File/Spec.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/Cygwin.pm (renamed from dist/Cwd/lib/File/Spec/Cygwin.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/Epoc.pm (renamed from dist/Cwd/lib/File/Spec/Epoc.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/Functions.pm (renamed from dist/Cwd/lib/File/Spec/Functions.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/Mac.pm (renamed from dist/Cwd/lib/File/Spec/Mac.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/OS2.pm (renamed from dist/Cwd/lib/File/Spec/OS2.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/Unix.pm (renamed from dist/Cwd/lib/File/Spec/Unix.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/VMS.pm (renamed from dist/Cwd/lib/File/Spec/VMS.pm)0
-rw-r--r--dist/PathTools/lib/File/Spec/Win32.pm (renamed from dist/Cwd/lib/File/Spec/Win32.pm)0
-rw-r--r--dist/PathTools/t/Functions.t (renamed from dist/Cwd/t/Functions.t)0
-rw-r--r--dist/PathTools/t/Spec-taint.t (renamed from dist/Cwd/t/Spec-taint.t)0
-rw-r--r--dist/PathTools/t/Spec.t (renamed from dist/Cwd/t/Spec.t)0
-rw-r--r--dist/PathTools/t/crossplatform.t (renamed from dist/Cwd/t/crossplatform.t)0
-rw-r--r--dist/PathTools/t/cwd.t (renamed from dist/Cwd/t/cwd.t)1
-rw-r--r--dist/PathTools/t/rel2abs2rel.t (renamed from dist/Cwd/t/rel2abs2rel.t)0
-rw-r--r--dist/PathTools/t/taint.t (renamed from dist/Cwd/t/taint.t)0
-rw-r--r--dist/PathTools/t/tmpdir.t (renamed from dist/Cwd/t/tmpdir.t)0
-rw-r--r--dist/PathTools/t/win32.t (renamed from dist/Cwd/t/win32.t)0
-rw-r--r--make_ext.pl5
-rw-r--r--mkppport.lst4
-rw-r--r--win32/FindExt.pm4
-rw-r--r--write_buildcustomize.pl2
63 files changed, 75 insertions, 66 deletions
diff --git a/Configure b/Configure
index 071b5ece1a..854ed8fbd0 100755
--- a/Configure
+++ b/Configure
@@ -22194,6 +22194,10 @@ find_extensions='
DynaLoader|dynaload) ;;
*)
this_ext=`echo $xxx | $sed -e s/-/\\\//g`;
+ case "$this_ext" in
+ Scalar/List/Utils) this_ext="List/Util";;
+ PathTools) this_ext="Cwd";;
+ esac;
echo " $xs_extensions $nonxs_extensions" > $$.tmp;
if $contains " $this_ext " $$.tmp; then
echo >&4;
diff --git a/MANIFEST b/MANIFEST
index dcd15dc4ae..880e8309aa 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1399,39 +1399,6 @@ cpan/libnet/t/nntp.t libnet
cpan/libnet/t/require.t libnet
cpan/libnet/t/smtp.t libnet
cpan/libnet/t/time.t libnet
-cpan/List-Util/lib/List/Util.pm List::Util
-cpan/List-Util/lib/List/Util/XS.pm List::Util
-cpan/List-Util/lib/Scalar/Util.pm Scalar::Util
-cpan/List-Util/ListUtil.xs Util extension
-cpan/List-Util/Makefile.PL Util extension
-cpan/List-Util/multicall.h Util extension
-cpan/List-Util/t/00version.t Scalar::Util
-cpan/List-Util/t/any-all.t List::Util
-cpan/List-Util/t/blessed.t Scalar::Util
-cpan/List-Util/t/dualvar.t Scalar::Util
-cpan/List-Util/t/first.t List::Util
-cpan/List-Util/t/getmagic-once.t
-cpan/List-Util/t/isvstring.t Scalar::Util
-cpan/List-Util/t/lln.t Scalar::Util
-cpan/List-Util/t/maxstr.t List::Util
-cpan/List-Util/t/max.t List::Util
-cpan/List-Util/t/minstr.t List::Util
-cpan/List-Util/t/min.t List::Util
-cpan/List-Util/t/multicall-refcount.t
-cpan/List-Util/t/openhan.t Scalar::Util
-cpan/List-Util/t/pair.t
-cpan/List-Util/t/product.t List::Util
-cpan/List-Util/t/proto.t Scalar::Util
-cpan/List-Util/t/readonly.t Scalar::Util
-cpan/List-Util/t/reduce.t List::Util
-cpan/List-Util/t/refaddr.t Scalar::Util
-cpan/List-Util/t/reftype.t Scalar::Util
-cpan/List-Util/t/shuffle.t List::Util
-cpan/List-Util/t/stack-corruption.t List::Util
-cpan/List-Util/t/sum0.t
-cpan/List-Util/t/sum.t List::Util
-cpan/List-Util/t/tainted.t Scalar::Util
-cpan/List-Util/t/weak.t Scalar::Util
cpan/Locale-Codes/lib/Locale/Codes/API.pod Locale::Codes documentation
cpan/Locale-Codes/lib/Locale/Codes/Changes.pod Locale::Codes documentation
cpan/Locale-Codes/lib/Locale/Codes/Constants.pm Locale::Codes
@@ -2040,6 +2007,39 @@ cpan/Pod-Usage/t/pod/testcmp.pl
cpan/Pod-Usage/t/pod/testp2pt.pl
cpan/Pod-Usage/t/pod/usage2.pod
cpan/Pod-Usage/t/pod/usage.pod
+cpan/Scalar-List-Utils/lib/List/Util.pm List::Util
+cpan/Scalar-List-Utils/lib/List/Util/XS.pm List::Util
+cpan/Scalar-List-Utils/lib/Scalar/Util.pm Scalar::Util
+cpan/Scalar-List-Utils/ListUtil.xs Util extension
+cpan/Scalar-List-Utils/Makefile.PL Util extension
+cpan/Scalar-List-Utils/multicall.h Util extension
+cpan/Scalar-List-Utils/t/00version.t Scalar::Util
+cpan/Scalar-List-Utils/t/any-all.t List::Util
+cpan/Scalar-List-Utils/t/blessed.t Scalar::Util
+cpan/Scalar-List-Utils/t/dualvar.t Scalar::Util
+cpan/Scalar-List-Utils/t/first.t List::Util
+cpan/Scalar-List-Utils/t/getmagic-once.t
+cpan/Scalar-List-Utils/t/isvstring.t Scalar::Util
+cpan/Scalar-List-Utils/t/lln.t Scalar::Util
+cpan/Scalar-List-Utils/t/maxstr.t List::Util
+cpan/Scalar-List-Utils/t/max.t List::Util
+cpan/Scalar-List-Utils/t/minstr.t List::Util
+cpan/Scalar-List-Utils/t/min.t List::Util
+cpan/Scalar-List-Utils/t/multicall-refcount.t
+cpan/Scalar-List-Utils/t/openhan.t Scalar::Util
+cpan/Scalar-List-Utils/t/pair.t
+cpan/Scalar-List-Utils/t/product.t List::Util
+cpan/Scalar-List-Utils/t/proto.t Scalar::Util
+cpan/Scalar-List-Utils/t/readonly.t Scalar::Util
+cpan/Scalar-List-Utils/t/reduce.t List::Util
+cpan/Scalar-List-Utils/t/refaddr.t Scalar::Util
+cpan/Scalar-List-Utils/t/reftype.t Scalar::Util
+cpan/Scalar-List-Utils/t/shuffle.t List::Util
+cpan/Scalar-List-Utils/t/stack-corruption.t List::Util
+cpan/Scalar-List-Utils/t/sum0.t
+cpan/Scalar-List-Utils/t/sum.t List::Util
+cpan/Scalar-List-Utils/t/tainted.t Scalar::Util
+cpan/Scalar-List-Utils/t/weak.t Scalar::Util
cpan/Socket/Makefile.PL Socket extension makefile writer
cpan/Socket/Socket.pm Socket extension Perl module
cpan/Socket/Socket.xs Socket extension external subroutines
@@ -2884,27 +2884,6 @@ dist/Carp/t/with_warnings.t See if Carp plays nicely with warnings
dist/constant/lib/constant.pm For "use constant"
dist/constant/t/constant.t See if compile-time constants work
dist/constant/t/utf8.t Test Unicode constants under utf8 pragma
-dist/Cwd/Cwd.pm Various cwd routines (getcwd, fastcwd, chdir)
-dist/Cwd/Cwd.xs Cwd extension external subroutines
-dist/Cwd/lib/File/Spec/Cygwin.pm portable operations on Cygwin file names
-dist/Cwd/lib/File/Spec/Epoc.pm portable operations on EPOC file names
-dist/Cwd/lib/File/Spec/Functions.pm Function interface to File::Spec object methods
-dist/Cwd/lib/File/Spec/Mac.pm portable operations on Mac file names
-dist/Cwd/lib/File/Spec/OS2.pm portable operations on OS2 file names
-dist/Cwd/lib/File/Spec.pm portable operations on file names
-dist/Cwd/lib/File/Spec/Unix.pm portable operations on Unix file names
-dist/Cwd/lib/File/Spec/VMS.pm portable operations on VMS file names
-dist/Cwd/lib/File/Spec/Win32.pm portable operations on Win32 and NetWare file names
-dist/Cwd/Makefile.PL makefile writer for Cwd
-dist/Cwd/t/crossplatform.t See if File::Spec works crossplatform
-dist/Cwd/t/cwd.t See if Cwd works
-dist/Cwd/t/Functions.t See if File::Spec::Functions works
-dist/Cwd/t/rel2abs2rel.t See if File::Spec->rel2abs/abs2rel works
-dist/Cwd/t/Spec.t See if File::Spec works
-dist/Cwd/t/Spec-taint.t See if File::Spec works with taint
-dist/Cwd/t/taint.t See if Cwd works with taint
-dist/Cwd/t/tmpdir.t See if File::Spec->tmpdir() works
-dist/Cwd/t/win32.t See if Cwd works on Win32
dist/Data-Dumper/Changes Data pretty printer, changelog
dist/Data-Dumper/Dumper.pm Data pretty printer, module
dist/Data-Dumper/Dumper.xs Data pretty printer, externals
@@ -3260,6 +3239,27 @@ dist/Net-Ping/t/450_service.t Ping Net::Ping
dist/Net-Ping/t/500_ping_icmp.t Ping Net::Ping
dist/Net-Ping/t/510_ping_udp.t Ping Net::Ping
dist/Net-Ping/t/520_icmp_ttl.t Ping Net::Ping
+dist/PathTools/Cwd.pm Various cwd routines (getcwd, fastcwd, chdir)
+dist/PathTools/Cwd.xs Cwd extension external subroutines
+dist/PathTools/lib/File/Spec/Cygwin.pm portable operations on Cygwin file names
+dist/PathTools/lib/File/Spec/Epoc.pm portable operations on EPOC file names
+dist/PathTools/lib/File/Spec/Functions.pm Function interface to File::Spec object methods
+dist/PathTools/lib/File/Spec/Mac.pm portable operations on Mac file names
+dist/PathTools/lib/File/Spec/OS2.pm portable operations on OS2 file names
+dist/PathTools/lib/File/Spec.pm portable operations on file names
+dist/PathTools/lib/File/Spec/Unix.pm portable operations on Unix file names
+dist/PathTools/lib/File/Spec/VMS.pm portable operations on VMS file names
+dist/PathTools/lib/File/Spec/Win32.pm portable operations on Win32 and NetWare file names
+dist/PathTools/Makefile.PL makefile writer for Cwd
+dist/PathTools/t/crossplatform.t See if File::Spec works crossplatform
+dist/PathTools/t/cwd.t See if Cwd works
+dist/PathTools/t/Functions.t See if File::Spec::Functions works
+dist/PathTools/t/rel2abs2rel.t See if File::Spec->rel2abs/abs2rel works
+dist/PathTools/t/Spec.t See if File::Spec works
+dist/PathTools/t/Spec-taint.t See if File::Spec works with taint
+dist/PathTools/t/taint.t See if Cwd works with taint
+dist/PathTools/t/tmpdir.t See if File::Spec->tmpdir() works
+dist/PathTools/t/win32.t See if Cwd works on Win32
dist/Safe/Changes Changes for Safe.pm
dist/Safe/Makefile.PL Makefile.PL for Safe.pm
dist/Safe/MANIFEST MANIFEST for Safe.pm
diff --git a/META.json b/META.json
index ba8dd6dc0f..c5559de646 100644
--- a/META.json
+++ b/META.json
@@ -21,7 +21,6 @@
"dist/bignum",
"dist/Carp",
"dist/constant",
- "dist/Cwd",
"dist/Data-Dumper",
"dist/Devel-SelfStubber",
"dist/Dumpvalue",
@@ -43,6 +42,7 @@
"dist/Math-BigRat",
"dist/Module-CoreList",
"dist/Net-Ping",
+ "dist/PathTools",
"dist/Safe",
"dist/Search-Dict",
"dist/SelfLoader",
diff --git a/META.yml b/META.yml
index f1c5a32b05..1a1fc6a1de 100644
--- a/META.yml
+++ b/META.yml
@@ -19,7 +19,6 @@ no_index:
- dist/bignum
- dist/Carp
- dist/constant
- - dist/Cwd
- dist/Data-Dumper
- dist/Devel-SelfStubber
- dist/Dumpvalue
@@ -41,6 +40,7 @@ no_index:
- dist/Math-BigRat
- dist/Module-CoreList
- dist/Net-Ping
+ - dist/PathTools
- dist/Safe
- dist/Search-Dict
- dist/SelfLoader
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index bdbfbfb439..9211d22756 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -875,13 +875,8 @@ use File::Glob qw(:case);
'PathTools' => {
'DISTRIBUTION' => 'SMUELLER/PathTools-3.40.tar.gz',
- 'FILES' => q[dist/Cwd],
+ 'FILES' => q[dist/PathTools],
'EXCLUDED' => [qr{^t/lib/Test/}],
-
- # NOTE: PathTools is in dist/Cwd/ instead of dist/PathTools because it
- # contains Cwd.xs and something, possibly Makefile.SH, makes an assumption
- # that the leafname of some file corresponds with the pathname of the
- # directory.
},
'Perl::OSType' => {
@@ -979,7 +974,7 @@ use File::Glob qw(:case);
'Scalar-List-Utils' => {
'DISTRIBUTION' => 'PEVANS/Scalar-List-Utils-1.35.tar.gz',
- 'FILES' => q[cpan/List-Util],
+ 'FILES' => q[cpan/Scalar-List-Utils],
},
'Search::Dict' => {
diff --git a/cpan/List-Util/ListUtil.xs b/cpan/Scalar-List-Utils/ListUtil.xs
index 96c6d2b055..96c6d2b055 100644
--- a/cpan/List-Util/ListUtil.xs
+++ b/cpan/Scalar-List-Utils/ListUtil.xs
diff --git a/cpan/List-Util/Makefile.PL b/cpan/Scalar-List-Utils/Makefile.PL
index 5068e34598..5068e34598 100644
--- a/cpan/List-Util/Makefile.PL
+++ b/cpan/Scalar-List-Utils/Makefile.PL
diff --git a/cpan/List-Util/lib/List/Util.pm b/cpan/Scalar-List-Utils/lib/List/Util.pm
index 452dd2921f..452dd2921f 100644
--- a/cpan/List-Util/lib/List/Util.pm
+++ b/cpan/Scalar-List-Utils/lib/List/Util.pm
diff --git a/cpan/List-Util/lib/List/Util/XS.pm b/cpan/Scalar-List-Utils/lib/List/Util/XS.pm
index 0625a0ae64..0625a0ae64 100644
--- a/cpan/List-Util/lib/List/Util/XS.pm
+++ b/cpan/Scalar-List-Utils/lib/List/Util/XS.pm
diff --git a/cpan/List-Util/lib/Scalar/Util.pm b/cpan/Scalar-List-Utils/lib/Scalar/Util.pm
index edcaf1cb5b..edcaf1cb5b 100644
--- a/cpan/List-Util/lib/Scalar/Util.pm
+++ b/cpan/Scalar-List-Utils/lib/Scalar/Util.pm
diff --git a/cpan/List-Util/multicall.h b/cpan/Scalar-List-Utils/multicall.h
index b8296e1755..b8296e1755 100644
--- a/cpan/List-Util/multicall.h
+++ b/cpan/Scalar-List-Utils/multicall.h
diff --git a/cpan/List-Util/t/00version.t b/cpan/Scalar-List-Utils/t/00version.t
index d475de488d..d475de488d 100644
--- a/cpan/List-Util/t/00version.t
+++ b/cpan/Scalar-List-Utils/t/00version.t
diff --git a/cpan/List-Util/t/any-all.t b/cpan/Scalar-List-Utils/t/any-all.t
index 6fbf89a6ec..6fbf89a6ec 100644
--- a/cpan/List-Util/t/any-all.t
+++ b/cpan/Scalar-List-Utils/t/any-all.t
diff --git a/cpan/List-Util/t/blessed.t b/cpan/Scalar-List-Utils/t/blessed.t
index ae292b9954..ae292b9954 100644
--- a/cpan/List-Util/t/blessed.t
+++ b/cpan/Scalar-List-Utils/t/blessed.t
diff --git a/cpan/List-Util/t/dualvar.t b/cpan/Scalar-List-Utils/t/dualvar.t
index 0943c75545..0943c75545 100644
--- a/cpan/List-Util/t/dualvar.t
+++ b/cpan/Scalar-List-Utils/t/dualvar.t
diff --git a/cpan/List-Util/t/first.t b/cpan/Scalar-List-Utils/t/first.t
index 497cdd5188..497cdd5188 100644
--- a/cpan/List-Util/t/first.t
+++ b/cpan/Scalar-List-Utils/t/first.t
diff --git a/cpan/List-Util/t/getmagic-once.t b/cpan/Scalar-List-Utils/t/getmagic-once.t
index 00b3490783..00b3490783 100644
--- a/cpan/List-Util/t/getmagic-once.t
+++ b/cpan/Scalar-List-Utils/t/getmagic-once.t
diff --git a/cpan/List-Util/t/isvstring.t b/cpan/Scalar-List-Utils/t/isvstring.t
index 860113e067..860113e067 100644
--- a/cpan/List-Util/t/isvstring.t
+++ b/cpan/Scalar-List-Utils/t/isvstring.t
diff --git a/cpan/List-Util/t/lln.t b/cpan/Scalar-List-Utils/t/lln.t
index 1499cdb49d..1499cdb49d 100644
--- a/cpan/List-Util/t/lln.t
+++ b/cpan/Scalar-List-Utils/t/lln.t
diff --git a/cpan/List-Util/t/max.t b/cpan/Scalar-List-Utils/t/max.t
index 9607015d83..9607015d83 100644
--- a/cpan/List-Util/t/max.t
+++ b/cpan/Scalar-List-Utils/t/max.t
diff --git a/cpan/List-Util/t/maxstr.t b/cpan/Scalar-List-Utils/t/maxstr.t
index 11d98ff558..11d98ff558 100644
--- a/cpan/List-Util/t/maxstr.t
+++ b/cpan/Scalar-List-Utils/t/maxstr.t
diff --git a/cpan/List-Util/t/min.t b/cpan/Scalar-List-Utils/t/min.t
index 8d5be5e153..8d5be5e153 100644
--- a/cpan/List-Util/t/min.t
+++ b/cpan/Scalar-List-Utils/t/min.t
diff --git a/cpan/List-Util/t/minstr.t b/cpan/Scalar-List-Utils/t/minstr.t
index 021b309dad..021b309dad 100644
--- a/cpan/List-Util/t/minstr.t
+++ b/cpan/Scalar-List-Utils/t/minstr.t
diff --git a/cpan/List-Util/t/multicall-refcount.t b/cpan/Scalar-List-Utils/t/multicall-refcount.t
index 1d6fb59808..1d6fb59808 100644
--- a/cpan/List-Util/t/multicall-refcount.t
+++ b/cpan/Scalar-List-Utils/t/multicall-refcount.t
diff --git a/cpan/List-Util/t/openhan.t b/cpan/Scalar-List-Utils/t/openhan.t
index e0dffb6f53..e0dffb6f53 100644
--- a/cpan/List-Util/t/openhan.t
+++ b/cpan/Scalar-List-Utils/t/openhan.t
diff --git a/cpan/List-Util/t/pair.t b/cpan/Scalar-List-Utils/t/pair.t
index 46e05342ac..46e05342ac 100644
--- a/cpan/List-Util/t/pair.t
+++ b/cpan/Scalar-List-Utils/t/pair.t
diff --git a/cpan/List-Util/t/product.t b/cpan/Scalar-List-Utils/t/product.t
index bed20cf8a5..bed20cf8a5 100644
--- a/cpan/List-Util/t/product.t
+++ b/cpan/Scalar-List-Utils/t/product.t
diff --git a/cpan/List-Util/t/proto.t b/cpan/Scalar-List-Utils/t/proto.t
index 50e401b59e..50e401b59e 100644
--- a/cpan/List-Util/t/proto.t
+++ b/cpan/Scalar-List-Utils/t/proto.t
diff --git a/cpan/List-Util/t/readonly.t b/cpan/Scalar-List-Utils/t/readonly.t
index 91385fd18f..91385fd18f 100644
--- a/cpan/List-Util/t/readonly.t
+++ b/cpan/Scalar-List-Utils/t/readonly.t
diff --git a/cpan/List-Util/t/reduce.t b/cpan/Scalar-List-Utils/t/reduce.t
index 4468ab8611..4468ab8611 100644
--- a/cpan/List-Util/t/reduce.t
+++ b/cpan/Scalar-List-Utils/t/reduce.t
diff --git a/cpan/List-Util/t/refaddr.t b/cpan/Scalar-List-Utils/t/refaddr.t
index 35ad40f620..35ad40f620 100644
--- a/cpan/List-Util/t/refaddr.t
+++ b/cpan/Scalar-List-Utils/t/refaddr.t
diff --git a/cpan/List-Util/t/reftype.t b/cpan/Scalar-List-Utils/t/reftype.t
index 31a5d3b841..31a5d3b841 100644
--- a/cpan/List-Util/t/reftype.t
+++ b/cpan/Scalar-List-Utils/t/reftype.t
diff --git a/cpan/List-Util/t/shuffle.t b/cpan/Scalar-List-Utils/t/shuffle.t
index d3fbd6cd1f..d3fbd6cd1f 100644
--- a/cpan/List-Util/t/shuffle.t
+++ b/cpan/Scalar-List-Utils/t/shuffle.t
diff --git a/cpan/List-Util/t/stack-corruption.t b/cpan/Scalar-List-Utils/t/stack-corruption.t
index dff5af03c4..dff5af03c4 100644
--- a/cpan/List-Util/t/stack-corruption.t
+++ b/cpan/Scalar-List-Utils/t/stack-corruption.t
diff --git a/cpan/List-Util/t/sum.t b/cpan/Scalar-List-Utils/t/sum.t
index 3615b4ab41..3615b4ab41 100644
--- a/cpan/List-Util/t/sum.t
+++ b/cpan/Scalar-List-Utils/t/sum.t
diff --git a/cpan/List-Util/t/sum0.t b/cpan/Scalar-List-Utils/t/sum0.t
index e76f8a79d3..e76f8a79d3 100644
--- a/cpan/List-Util/t/sum0.t
+++ b/cpan/Scalar-List-Utils/t/sum0.t
diff --git a/cpan/List-Util/t/tainted.t b/cpan/Scalar-List-Utils/t/tainted.t
index 8666117fe4..8666117fe4 100644
--- a/cpan/List-Util/t/tainted.t
+++ b/cpan/Scalar-List-Utils/t/tainted.t
diff --git a/cpan/List-Util/t/weak.t b/cpan/Scalar-List-Utils/t/weak.t
index f014113694..f014113694 100644
--- a/cpan/List-Util/t/weak.t
+++ b/cpan/Scalar-List-Utils/t/weak.t
diff --git a/dist/Cwd/Cwd.pm b/dist/PathTools/Cwd.pm
index d9de63cd2d..d9de63cd2d 100644
--- a/dist/Cwd/Cwd.pm
+++ b/dist/PathTools/Cwd.pm
diff --git a/dist/Cwd/Cwd.xs b/dist/PathTools/Cwd.xs
index 4ddbdac4bb..4ddbdac4bb 100644
--- a/dist/Cwd/Cwd.xs
+++ b/dist/PathTools/Cwd.xs
diff --git a/dist/Cwd/Makefile.PL b/dist/PathTools/Makefile.PL
index 1b21de4c18..1b21de4c18 100644
--- a/dist/Cwd/Makefile.PL
+++ b/dist/PathTools/Makefile.PL
diff --git a/dist/Cwd/lib/File/Spec.pm b/dist/PathTools/lib/File/Spec.pm
index 59a6ce6557..59a6ce6557 100644
--- a/dist/Cwd/lib/File/Spec.pm
+++ b/dist/PathTools/lib/File/Spec.pm
diff --git a/dist/Cwd/lib/File/Spec/Cygwin.pm b/dist/PathTools/lib/File/Spec/Cygwin.pm
index c6463821cd..c6463821cd 100644
--- a/dist/Cwd/lib/File/Spec/Cygwin.pm
+++ b/dist/PathTools/lib/File/Spec/Cygwin.pm
diff --git a/dist/Cwd/lib/File/Spec/Epoc.pm b/dist/PathTools/lib/File/Spec/Epoc.pm
index e7c95bbb03..e7c95bbb03 100644
--- a/dist/Cwd/lib/File/Spec/Epoc.pm
+++ b/dist/PathTools/lib/File/Spec/Epoc.pm
diff --git a/dist/Cwd/lib/File/Spec/Functions.pm b/dist/PathTools/lib/File/Spec/Functions.pm
index af039e7209..af039e7209 100644
--- a/dist/Cwd/lib/File/Spec/Functions.pm
+++ b/dist/PathTools/lib/File/Spec/Functions.pm
diff --git a/dist/Cwd/lib/File/Spec/Mac.pm b/dist/PathTools/lib/File/Spec/Mac.pm
index 7a5b41e0e0..7a5b41e0e0 100644
--- a/dist/Cwd/lib/File/Spec/Mac.pm
+++ b/dist/PathTools/lib/File/Spec/Mac.pm
diff --git a/dist/Cwd/lib/File/Spec/OS2.pm b/dist/PathTools/lib/File/Spec/OS2.pm
index ba434e82f9..ba434e82f9 100644
--- a/dist/Cwd/lib/File/Spec/OS2.pm
+++ b/dist/PathTools/lib/File/Spec/OS2.pm
diff --git a/dist/Cwd/lib/File/Spec/Unix.pm b/dist/PathTools/lib/File/Spec/Unix.pm
index 868b6a7ad2..868b6a7ad2 100644
--- a/dist/Cwd/lib/File/Spec/Unix.pm
+++ b/dist/PathTools/lib/File/Spec/Unix.pm
diff --git a/dist/Cwd/lib/File/Spec/VMS.pm b/dist/PathTools/lib/File/Spec/VMS.pm
index aae0bfc928..aae0bfc928 100644
--- a/dist/Cwd/lib/File/Spec/VMS.pm
+++ b/dist/PathTools/lib/File/Spec/VMS.pm
diff --git a/dist/Cwd/lib/File/Spec/Win32.pm b/dist/PathTools/lib/File/Spec/Win32.pm
index 4c16586f6e..4c16586f6e 100644
--- a/dist/Cwd/lib/File/Spec/Win32.pm
+++ b/dist/PathTools/lib/File/Spec/Win32.pm
diff --git a/dist/Cwd/t/Functions.t b/dist/PathTools/t/Functions.t
index 122c529ab1..122c529ab1 100644
--- a/dist/Cwd/t/Functions.t
+++ b/dist/PathTools/t/Functions.t
diff --git a/dist/Cwd/t/Spec-taint.t b/dist/PathTools/t/Spec-taint.t
index ef4f1ee3f2..ef4f1ee3f2 100644
--- a/dist/Cwd/t/Spec-taint.t
+++ b/dist/PathTools/t/Spec-taint.t
diff --git a/dist/Cwd/t/Spec.t b/dist/PathTools/t/Spec.t
index 74c18aacc1..74c18aacc1 100644
--- a/dist/Cwd/t/Spec.t
+++ b/dist/PathTools/t/Spec.t
diff --git a/dist/Cwd/t/crossplatform.t b/dist/PathTools/t/crossplatform.t
index b7c76fc1af..b7c76fc1af 100644
--- a/dist/Cwd/t/crossplatform.t
+++ b/dist/PathTools/t/crossplatform.t
diff --git a/dist/Cwd/t/cwd.t b/dist/PathTools/t/cwd.t
index 62426ff84c..57fd866fbd 100644
--- a/dist/Cwd/t/cwd.t
+++ b/dist/PathTools/t/cwd.t
@@ -5,6 +5,7 @@ use strict;
use Cwd;
chdir 't';
+@INC = '../../../lib' if $ENV{PERL_CORE};
use Config;
use File::Spec;
diff --git a/dist/Cwd/t/rel2abs2rel.t b/dist/PathTools/t/rel2abs2rel.t
index 0d684f195c..0d684f195c 100644
--- a/dist/Cwd/t/rel2abs2rel.t
+++ b/dist/PathTools/t/rel2abs2rel.t
diff --git a/dist/Cwd/t/taint.t b/dist/PathTools/t/taint.t
index 309b3e5dfc..309b3e5dfc 100644
--- a/dist/Cwd/t/taint.t
+++ b/dist/PathTools/t/taint.t
diff --git a/dist/Cwd/t/tmpdir.t b/dist/PathTools/t/tmpdir.t
index 7c13da1fe3..7c13da1fe3 100644
--- a/dist/Cwd/t/tmpdir.t
+++ b/dist/PathTools/t/tmpdir.t
diff --git a/dist/Cwd/t/win32.t b/dist/PathTools/t/win32.t
index 3fa5cb86ab..3fa5cb86ab 100644
--- a/dist/Cwd/t/win32.t
+++ b/dist/PathTools/t/win32.t
diff --git a/make_ext.pl b/make_ext.pl
index a5ece308a0..885322f442 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -232,6 +232,11 @@ foreach my $spec (@extspec) {
# Try new style ext/Data-Dumper/ first
my $copy = $spec;
$copy =~ tr!/!-!;
+
+ # List/Util.xs lives in Scalar-List-Utils, Cwd.xs lives in PathTools
+ $copy = 'Scalar-List-Utils' if $copy eq 'List-Util';
+ $copy = 'PathTools' if $copy eq 'Cwd';
+
foreach my $dir (@ext_dirs) {
if (-d "$dir/$copy") {
$ext_pathname = "$dir/$copy";
diff --git a/mkppport.lst b/mkppport.lst
index 3d5a88cbd8..2519e31d51 100644
--- a/mkppport.lst
+++ b/mkppport.lst
@@ -7,7 +7,7 @@
cpan/DB_File
cpan/IPC-SysV
-cpan/List-Util
+cpan/Scalar-List-Utils
cpan/Time-HiRes
cpan/Win32API-File
-dist/Cwd
+dist/PathTools
diff --git a/win32/FindExt.pm b/win32/FindExt.pm
index f65e578dff..6e62838254 100644
--- a/win32/FindExt.pm
+++ b/win32/FindExt.pm
@@ -115,6 +115,10 @@ sub scan_ext
$this_ext =~ s!-!/!g;
$leaf =~ s/.*-//;
+ # List/Util.xs lives in Scalar-List-Utils, Cwd.xs lives in PathTools
+ $this_ext = 'List/Util' if $this_ext eq 'Scalar/List/Utils';
+ $this_ext = 'Cwd' if $this_ext eq 'PathTools';
+
# Temporary hack to cope with smokers that are not clearing directories:
next if $ext{$this_ext};
diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl
index 73bf8f054d..df74fc4d63 100644
--- a/write_buildcustomize.pl
+++ b/write_buildcustomize.pl
@@ -20,7 +20,7 @@ my $file = 'lib/buildcustomize.pl';
my @toolchain = qw(cpan/AutoLoader/lib
dist/Carp/lib
- dist/Cwd dist/Cwd/lib
+ dist/PathTools dist/PathTools/lib
dist/ExtUtils-Command/lib
dist/ExtUtils-Install/lib
cpan/ExtUtils-MakeMaker/lib