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: URL paths in setup.exe


Robert Collins wrote:

> >
> > How would this confuse them ? I don't think with
> > file://d|/foo/bar.txt is better thatn file://d/foo/bar.txt. There is a
> method which converts d:\foo\bar to file URL - isn't it > enough ? There
> is also a method whic gets the parsed URL as path.
> >
> > Btw see the attached program. It is a test for the URL parser.
>
> file://d/foo/bar.txt isn't clear whether it's absolute or not.
> file:///d/foo/bar.txt is on posix, and
> file://d|/foo/bar.txt is on win32.
>

file:///d/foo/bar.txt on Cygwin should work as well depending on the
cygdrive value. ;)
file:///d:/foo/bar.txt should be the win32 mechanism.

file://d/foo/bar.txt is definitely relative to the current working
directory.

Earnie.


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