On Mon, Apr 6, 2009 at 8:27 PM, Ben Klein <[email protected]> wrote: > 2009/4/6 Stefan Dösinger <[email protected]>: >> Am Montag, 6. April 2009 15:41:51 schrieb Alexandre Julliard: >>> Vincent Povirk <[email protected]> writes: >>> > On Mon, Apr 6, 2009 at 5:23 AM, Alexandre Julliard <[email protected]> >> wrote: >>> >> Support for Unix paths is a useful feature, you can't just remove it. >>> > >>> > How can the bug be fixed without removing it? >>> >>> By coming up with a better heuristic for detecting Unix paths. >> Suggestion: Check if the windows path leads to an existing file, if it does, >> use the windows style. Otherwise try unix. Or the other way around > > Trying host-system path first wouldn't fix the bug in question :) > > I think the only way to do this would be to test if the path exists as > a Windows path before assuming it's a host-system path. >
Even if you check for a Windows path first, that will still break the python tests (they check for /bin/sh and expect it to not exist). Vincent Povirk
