delorie.com/archives/browse.cgi | search |
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 |
X-Envelope-Sender-Is: | Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de) |
From: | "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru> |
To: | "Bob McGowan" <rmcgowan AT veritas DOT com> |
Cc: | "Cygwin mailing list" <Cygwin AT Sourceware DOT Cygnus DOT Com> |
Subject: | cygpath usage (was: RE: Posible bug in cygpath Windows -> Unix conversion) |
Date: | Tue, 10 Oct 2000 10:20:08 +0400 |
Message-ID: | <000501c03282$23152720$21c9ca95@mow.siemens.ru> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
In-Reply-To: | <39E2064C.D929FE45@veritas.com> |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
> > 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. > I believe, the option -a means, that the *result* should be absolute path. Look here: mw1g017 AT MW1G17C% cygpath -a -u foo /cygdrive/c/win32app/bin/foo mw1g017 AT MW1G17C% cygpath -a -w foo c:\win32app\bin\foo At least, I always understood it this way. Correct me if I'm wrong. -andrej -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |