This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Pathnames with backslash
- To: cygwin-developers at sourceware dot cygnus dot com
- Subject: Re: Pathnames with backslash
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Wed, 3 May 2000 10:55:11 -0400
- References: <779F20BCCE5AD31186A50008C75D997917171D@SILLDN_MAIL1>
- Reply-To: cygwin-developers at sourceware dot cygnus dot com
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