delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/09/13:39:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Mon, 9 Oct 2000 13:32:42 -0400
To: dave DOT banham AT tde DOT alstom DOT com
Cc: cygwin AT sources DOT redhat DOT com
Subject: Re: BUG: Invalid assumption about file paths beginning with '\'
Message-ID: <20001009133242.B7141@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: dave DOT banham AT tde DOT alstom DOT com, cygwin AT sources DOT redhat DOT com
References: <C1256973 DOT 005E7E0D DOT 00 AT mz02world DOT hq DOT dtr DOT gecalsthom DOT fr>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <C1256973.005E7E0D.00@mz02world.hq.dtr.gecalsthom.fr>; from dave.banham@tde.alstom.com on Mon, Oct 09, 2000 at 04:47:36PM +0100

On Mon, Oct 09, 2000 at 04:47:36PM +0100, dave DOT banham AT tde DOT alstom DOT com wrote:
>Cygwin version B18 (I think!)
>
>I am using the CygWin GAWK program and have been trying to use absolute path
>names for both the script file and input file. I find that I can only used
>absolute paths if they start with a drive letter. After some rooting through the
>documentation I found that CygWin maps Windows paths to POSIX paths by
>converting the drive letter to a folder name. The trouble begins when the drive
>letter is missing.
>
>The default 'mount' for '\' is 'c:\', so my absolute paths that don't have a
>drive letter are taken as being on drive c: rather than on the current working
>drive.
>
>OK, so I could change the mount for '\' to whatever drive I am using.
>Unfortunately, I can't because I am using gawk inside a makefile that can be run
>on a networked drive mounted as an arbitrary drive letter by any number of
>users. (If I could get the current working drive letter into a makefile macro I
>could solve the problem by an other means, but I can't and, in any respect, the
>problem reveals an assumption in CygWin's DOS\Windows path mapping to POSIX.)
>
>Please consider changing the CygWin file path mapping schema to utilise the
>current working drive rather than a default.

You are many revisions behind.  I believe that B18 was released in 1998.

We've obviously moved ahead since then.

So, either upgrade your version of cygwin or live with the problem.  It is
extremely unlikely that anyone will be able or willing to help you with
ancient versions of cygwin.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019