delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/09/14:04:27

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
Message-ID: <39E2064C.D929FE45@veritas.com>
Date: Mon, 09 Oct 2000 10:54:20 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Andrej Borsenkow <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
CC: Cygwin mailing list <Cygwin AT Sourceware DOT Cygnus DOT Com>
Subject: Re: Posible bug in cygpath Windows -> Unix conversion
References: <001501c03216$8ff596c0$21c9ca95 AT mow DOT siemens DOT ru>

It looks like the conversion assumes a "drive_letter:slash" and so is
cutting the first 3 characters, producing the output you see.  This is
probably the result of using the -a option, forcing cygpath to assume
the source string is an absolute path when in fact it is not.

Andrej Borsenkow wrote:
> 
> This is in 1.1.4:
> 
> I am in d:\temp; there is ascii203 subdirectory:
> 
> mw1g017 AT MW1G17C% cd /cygdrive/d/TEMP
> mw1g017 AT MW1G17C% ls d:ascii203
> ascii203.prc
> mw1g017 AT MW1G17C% cygpath -a -u d:ascii203
> /cygdrive/d/scii203
> 
> So, Cygwin is correctly accessing subdirectory of cwd, but cygpath seems to
> report wrong name.
> 
> regards
> 
> -andrej
> 
> Have a nice DOS!
> B >>
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
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