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 |
Date: | Tue, 2 Apr 2002 08:05:55 +0200 |
From: | "Gerrit P. Haase" <gp AT familiehaase DOT de> |
Organization: | Esse keine toten Tiere |
X-Priority: | 3 (Normal) |
Message-ID: | <164333511744.20020402080555@familiehaase.de> |
To: | George Necula <necula AT eecs DOT berkeley DOT edu> |
CC: | cygwin AT cygwin DOT com, perl5-porters AT perl DOT org |
Subject: | Re: Bug: cygwin Perl uses File/Spec/Unix.pm instead of File/Spec/Win3 2.pm |
In-Reply-To: | <4E06A937DADC3842ACE4D3A1096A9EAC0297C6@JANUS.eecs.berkeley.edu> |
References: | <4E06A937DADC3842ACE4D3A1096A9EAC0297C6 AT JANUS DOT eecs DOT berkeley DOT edu> |
MIME-Version: | 1.0 |
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";' file_name_is_absolute 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/Spec.pm in the definition of the %modules hash > table. Gerrit -- =^..^= -- 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 |