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

Ben Klein shacklein at gmail.com
Mon Apr 6 20:27:22 CDT 2009


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.



More information about the wine-devel mailing list