This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: for the brave


> -----Original Message-----
> From: cygwin-apps-owner@cygwin.com
> [mailto:cygwin-apps-owner@cygwin.com]On Behalf Of Charles Wilson

[snip]

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

I think concat() itself is doing that, in an attempt to canonicalize the paths
while it creates them.

--
Gary R. Van Sickle
Brewer.  Patriot.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]