Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 5 Jan 2003 20:59:54 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Repost, different list...File::Spec, cygwin, Syntactic vs. Semantic path analysis Message-ID: <20030106015954.GB20019@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <012901c2b496$3f4955e0$1403a8c0 AT sc DOT tlinx DOT org> <3E18D5A7 DOT 3050707 AT hack DOT kampbjorn DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E18D5A7.3050707@hack.kampbjorn.com> User-Agent: Mutt/1.5.1i On Mon, Jan 06, 2003 at 02:02:31AM +0100, Hack Kampbjorn wrote: >LA Walsh wrote: >>Cygwin, and possibly, the Win32 module, are inconsistent in handling >>the differences between i:/foobar/ and i:. On one hand i: is >>considered a 'volume' but on the other hand i:/ seems to evaluate to >>the same, incorrect, value. In "Win32", each 'fs' of form ":', x >>of class <[:alpha:]>, there is a process-specific "current >>directory". This can be seen by: >> >In the old DOS days yes, but in Win32 there is only one current >directory. The illusion of having a current directory per drive and an >active drive is maintained in cmd.exe (or is it in the MS C runtime?). >As cygwin doesn't use it, i:foobar and i:/foobar is always the same. > > Right. Even though I rely on the behavior (which is a feature of the MS-DOS/Win9x OS and the Windows NT command line shells) on Windows, it has no business in cygwin. If you want somewhat similar behavior use pushd/popd. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/