delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <00a901c1d821$daef49c0$5b46fea9@mchasecompaq> |
From: | "Michael A Chase" <mchase AT ix DOT netcom DOT com> |
To: | "George Necula" <necula AT eecs DOT berkeley DOT edu>, <cygwin AT cygwin DOT com> |
References: | <4E06A937DADC3842ACE4D3A1096A9EAC0297C6 AT JANUS DOT eecs DOT berkeley DOT 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 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
From: "George Necula" <necula AT eecs DOT berkeley DOT edu> To: <cygwin AT cygwin DOT 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 AT perl DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |