What about writing Unix paths like an URL ? So you would have unix://path/to/file
Andrew
You can be the captain I will draw the chart Sailing into destiny Closer to the heart
Closer to the Heart by Rush (A Farewell to Kings, 1977)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alexandre Julliard wrote:
Michael Jung mjung@iss.tu-darmstadt.de writes:
That's a good point about the heuristic. So probably unix paths should just be passed through, without searching for a valid drive letter based wine path. This would also cleanly separate case sensitive path names from case insensitive ones. (I'm assuming, but am not quite sure of, that there is a cheap and robust way to distinguish unix paths from windows paths just by inspecting the string. Might be hard especially for relative paths.)
That of course is the whole problem: you cannot reliably identify unix paths just by looking at the string.