Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <00a901c1d821$daef49c0$5b46fea9@mchasecompaq>
From: "Michael A Chase" <mchase@ix.netcom.com>
To: "George Necula" <necula@eecs.berkeley.edu>, <cygwin@cygwin.com>
References: <4E06A937DADC3842ACE4D3A1096A9EAC0297C6@JANUS.eecs.berkeley.edu>
Subject: Re: cygwin Perl uses File/Spec/Unix.pm instead of File/Spec/Win32.pm 
Date: Sat, 30 Mar 2002 11:31:06 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

From: "George Necula" <necula@eecs.berkeley.edu>
To: <cygwin@cygwin.com>
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
perlbug@perl.org.  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/

