From: "George Necula" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 30, 2002 10:32 Subject: Bug: cygwin Perl uses File/Spec/Unix.pm instead of File/Spec/Win32.pm
> To reproduce the bug: > perl -e 'use File::Spec; print File::Spec->file_name_is_absolute("C:/test") > ? "no bug" : "bug";' > > To fix the bug add a line > > cygwin => 'Win32', > > at the beginning of File/Spec.pm in the definition of the %modules hash > table. This is a standard Perl module, so you should send bug reports to [EMAIL PROTECTED] Run perlbug to help you format the report to them. File/Spec/Unix.pm already has a special case for Cygwin in canonpath, so they may be willing to make another special case for "x:/". Try "/cygdrive/c/test" instead, "C:/test" isn't a POSIX path. By using File/Spec/Win32.pm, you are causing other filename handling to be done incorrectly for Cygwin. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/