[2/3] ntdll: don't treat DOS paths starting with / as Unix paths

Vincent Povirk madewokherd+8cd9 at gmail.com
Mon Apr 6 20:39:47 CDT 2009

On Mon, Apr 6, 2009 at 8:27 PM, Ben Klein <shacklein at gmail.com> wrote:
> 2009/4/6 Stefan Dösinger <stefandoesinger at gmx.at>:
>> Am Montag, 6. April 2009 15:41:51 schrieb Alexandre Julliard:
>>> Vincent Povirk <madewokherd+8cd9 at gmail.com> writes:
>>> > On Mon, Apr 6, 2009 at 5:23 AM, Alexandre Julliard <julliard at winehq.org>
>> 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

More information about the wine-devel mailing list