Re: Test failure @recent bleadperls (31712,31711)
authorReini Urban <rurban@x-ray.at>
Wed, 15 Aug 2007 09:44:29 +0000 (11:44 +0200)
committerAbhijit Menon-Sen <ams@wiw.org>
Wed, 15 Aug 2007 09:54:14 +0000 (09:54 +0000)
Message-Id: <46C2AEDD.80400@x-ray.at>

p4raw-id: //depot/perl@31715

lib/File/Spec/Cygwin.pm

index 62186c1..30d6e17 100644 (file)
@@ -109,7 +109,8 @@ Default: 1
 =cut
 
 sub case_tolerant () {
-  my $drive = shift || "C:";
+  if ($^O ne 'cygwin') return 1;
+  my $drive = shift || "/cygdrive/c";
   my $mntopts = Cygwin::mount_flags($drive);
   if ($mntopts and ($mntopts =~ /,managed/)) {
     return 0;