delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/05/03/09:53:36

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 3 May 2000 10:55:11 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Pathnames with backslash
Message-ID: <20000503105511.I6787@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <779F20BCCE5AD31186A50008C75D997917171D AT SILLDN_MAIL1>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <779F20BCCE5AD31186A50008C75D997917171D@SILLDN_MAIL1>; from EFifer@sanwaint.com on Wed, May 03, 2000 at 03:03:33PM +0100

On Wed, May 03, 2000 at 03:03:33PM +0100, Fifer, Eric wrote:
>There was a change in the behavior of pathnames beginning
>with the Apr-13 snapshot.  Now, it seems that anything with
>a backslash in it is considered a Win32 path:
>
>  $ cygpath -w '/cygdrive/c\cygnus'
>  \cygdrive\c\cygnus
>
>  $ cygpath -w '/cygdrive/c/cygnus'
>  c:\cygnus
>
>Before Apr-13 these produced the same results.
>
>I had been assuming that slash and backslash were interchangeable
>in Cygwin.  Is this an intentional/desirable change?

It's intentional.  It's a change that I asked Corinna to make.

It simplifies filename parsing.

I'll let her describe the other change which she made along with
this since it is sort of significant.

Sorry for not notifying the list about this.

cgf

- Raw text -


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