This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug: cygwin Perl uses File/Spec/ instead of File/Spec/Win3

Hallo George,

Am 2002-03-30 um 20:32 schriebst du:

>  To reproduce the bug:
> perl -e 'use File::Spec; print File::Spec->file_name_is_absolute("C:/test")
> ? "no bug" : "bug";'

         Takes as argument a path and returns true if it is an
         absolute path.

             $is_absolute = File::Spec->file_name_is_absolute( $path );

         This does not consult the local filesystem on Unix,
         Win32, OS/2, or Mac OS (Classic).  It does consult the
         working environment for VMS (see "file_name_is_absolute"
         in File::Spec::VMS).

>  To fix the bug add a line

What is the problem here?
We try to emulate a POSIX filesystem with all its advantages.

perl -e 'use File::Spec; $print = File::Spec->file_name_is_absolute("C:/test"); \
if (defined $print) {print "No Bug;)\n"};'

>    cygwin => 'Win32',

Use ActivePerl if you need windows features.

>  at the beginning of File/ in the definition of the %modules hash
> table. 


Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]