Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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