www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/13/06:35:08

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Subject: RE: URL paths in setup.exe
MIME-Version: 1.0
Date: Mon, 13 May 2002 20:34:57 +1000
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
Message-ID: <FC169E059D1A0442A04C40F86D9BA7600C607F@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Pavel Tsekov" <ptsekov AT syntrex DOT com>
Cc: <cygwin-apps AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g4DAZ8C27837


> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] 
> Sent: Monday, May 13, 2002 7:53 PM
> To: Pavel Tsekov
> Cc: cygwin-apps AT cygwin DOT com
> Subject: Re: URL paths in setup.exe
> 
> 
> This thread got stalled... Is there still interest in it ? 
> How should I change the URL code so I can proceed to finally 
> submitting this patch for review ? I want to submit it ASAP 
> so the new code can get some testing...

Ensure that it can handle both relative and absolute paths for urls.
Something like object.relativePath (baseUrl = <singleton which
represents file://valueofcwd>) which returns an empty string (or throws
an exception) if object is not able to be made relative to baseUrl (ie
different schemes, different authorities) and returns a relative path
that can be passed to CreateFile when the tricial call
object.relativePath() is made.

Also follow through on the file:d|/foo discussion, the | is correct as
David has confirmed. As for leading // or not, I'm not fussed... 

Perhaps, if you could fill out the cygfile: and file: representations of
:
<cwd>/foo/bar
/cygdrive/g/foo/bar
g:\foo\bar

Rob

- Raw text -


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