delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/06/16:21:35

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: Mon, 6 May 2002 13:20:46 -0700 (Pacific Daylight Time)
From: Michael A Chase <mchase AT ix DOT netcom DOT com>
Subject: Re: canonpath in perl as it relates to cygwin
To: Christopher Murray <CJM4 AT nrc DOT gov>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <scd66f61 DOT 025 AT nrcgwia DOT nrc DOT gov>
In-Reply-To: <scd66f61.025@nrcgwia.nrc.gov>
Reply-To: <cygwin AT cygwin DOT com>
Message-Id: <E174oyw-000790-00@barry.mail.mindspring.net>

On Mon, 06 May 2002 11:56:03 -0400 Christopher Murray <CJM4 AT nrc DOT gov> wrote:

> Actually, unless I am totally overlooking something, this looks to be a
> step 
> backward.  Will the following regexp -
> 
> $^O =~ m/^(?:qnx|nto)$/ 
> 
> cause a match under cygwin in perl 5.8)?   I can't see how, but then
> again,
> I haven't actually run perl 5.8 to check what $^O returns.
> 
> If not, then what I see is that the logic goes from
> 
>    $path =~ s|/+|/|g unless($^O eq 'cygwin');
> 
> to
> 
>     $path =~ s|/+|/|g;                             # xx////xx  -> xx/xx
> 
> thus converting all paths that begin with // to a single /.  Is this
> correct 
> considering that "//share/path" indicates a network share under
> cygwin and probably not something one would want to upset?

Is anyone here already reporting this to perlbug?  I am willing to, but if
someone has already reported it, there is no need for a  'me too'.
-- 
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019