delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/28/11:54:34

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>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3C55828D.6090707@ece.gatech.edu>
Date: Mon, 28 Jan 2002 11:55:41 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
CC: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>,
cygwin-apps AT sources DOT redhat DOT com
Subject: Re: for the brave
References: <NCBBIHCHBLCMLBLOBONKEEFCCJAA DOT g DOT r DOT vansickle AT worldnet DOT att DOT net> <3C4A553A DOT 1080709 AT ece DOT gatech DOT edu> <01c101c1a173$022dc6f0$0200a8c0 AT lifelesswks> <3C4A5AC9 DOT 8000104 AT ece DOT gatech DOT edu> <040001c1a244$def97210$0200a8c0 AT lifelesswks> <3C4C345A DOT 4060604 AT ece DOT gatech DOT edu> <074101c1a2c2$bf7b0470$0200a8c0 AT lifelesswks> <3C4C8DDA DOT 9040008 AT ece DOT gatech DOT edu> <049401c1a72c$e0a3df00$0200a8c0 AT lifelesswks> <3C5451A6 DOT 2070002 AT ece DOT gatech DOT edu> <3C545FE2 DOT 8040806 AT ece DOT gatech DOT edu> <3C54625B DOT 801 AT ece DOT gatech DOT edu> <3C553A56 DOT 3F2AC917 AT yahoo DOT com>


Earnie Boyd wrote:

> Charles Wilson wrote:
> 
>>file://///Polgara/private/software/windows/cygwin-new/setup.ini
>>file:////Polgara/private/software/windows/cygwin-new/setup.ini
>>
>>
> 
> This makes sense.  You need two // after file: and two // before
> Polgara.  The extra fifth / was just ignored.


Sure, I understand that.  (Side note:  file://Polgara/... also works, 
for whatever reason).  But here's the question:

local_dir (as I typed it) already contained two leading '/' chars

the concat call prepended "file://" with two more '/' chars


2+2 = 4

So why does the resulting filespec have only 3 '/' chars?  Somewhere 
along the line, I don't know where, the local_dir I entered is having 
one of its leading '/' stripped...

--Chuck


- Raw text -


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