Pathnames with backslash

Chris Faylor
Wed May 3 07:55:00 GMT 2000

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.


More information about the Cygwin-developers mailing list