diff options
Diffstat (limited to 'lib/File')
-rw-r--r-- | lib/File/Spec/Cygwin.pm | 4 | ||||
-rw-r--r-- | lib/File/Spec/Win32.pm | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/File/Spec/Cygwin.pm b/lib/File/Spec/Cygwin.pm index 30d6e17a5e..5d89fe5305 100644 --- a/lib/File/Spec/Cygwin.pm +++ b/lib/File/Spec/Cygwin.pm @@ -109,7 +109,9 @@ Default: 1 =cut sub case_tolerant () { - if ($^O ne 'cygwin') return 1; + if ($^O ne 'cygwin') { + return 1; + } my $drive = shift || "/cygdrive/c"; my $mntopts = Cygwin::mount_flags($drive); if ($mntopts and ($mntopts =~ /,managed/)) { diff --git a/lib/File/Spec/Win32.pm b/lib/File/Spec/Win32.pm index eba2171fb2..cd41a3b392 100644 --- a/lib/File/Spec/Win32.pm +++ b/lib/File/Spec/Win32.pm @@ -5,7 +5,7 @@ use strict; use vars qw(@ISA $VERSION); require File::Spec::Unix; -$VERSION = '1.6'; +$VERSION = '1.6_01'; @ISA = qw(File::Spec::Unix); @@ -89,7 +89,7 @@ Default: 1 sub case_tolerant () { eval { require Win32API::File; } or return 1; - my $drive = shift or "C:"; + my $drive = shift || "C:"; my $osFsType = "\0"x256; my $osVolName = "\0"x256; my $ouFsFlags = 0; |