projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
dcdcee7
)
RE: Sorry... (was: Re: Bug: cygwin Perl uses File/Spec/Unix.pm instead of File/Spec...
George Necula [Tue, 2 Apr 2002 10:22:41 +0000 (
02:22
-0800)]
Message-ID: <
4E06A937DADC3842ACE4D3A1096A9EAC038C6F
@JANUS.eecs.berkeley.edu>
p4raw-id: //depot/perl@15685
lib/File/Spec/Cygwin.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/File/Spec/Cygwin.pm
b/lib/File/Spec/Cygwin.pm
index
23fed18
..
8773288
100644
(file)
--- a/
lib/File/Spec/Cygwin.pm
+++ b/
lib/File/Spec/Cygwin.pm
@@
-14,6
+14,12
@@
sub canonpath {
return $self->SUPER::canonpath($path);
}
+sub file_name_is_absolute {
+ my ($self,$file) = @_;
+ return 1 if $file =~ m{^([a-z]:)?[\\/]}is; # C:/test
+ return $self->SUPER::file_name_is_absolute($file);
+}
+
1;
__END__