This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Pathnames with backslash


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]