On 27/06/07, Joe Wilson <[EMAIL PROTECTED]> wrote:
> Cygwin has an interesting way of mapping Windows paths to UNIX-style
> paths to avoid the drive letter.
>
>   c:\foo\bar           -> /cygdrive/c/foo/bar
>   \\network\share\dir  -> //network/share/dir

This problem has been bothering me for a while. Right now I'm
wondering about adding a new function to nestedvm, like winopen() and
patching os_unix.c to call it. It can create a java.io.File object
that can interpret the path properly on any machine it runs on.

It might make a little mess hooking into HostFS in UnixRuntime, but
shouldn't be too bad, but there might be a way around it. I'll give it
a try today and see where I get.

d.

--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to