UNC Pathname handling

Paul Vriens paul.vriens.wine at gmail.com
Fri Dec 11 03:09:11 CST 2009


On 12/11/2009 10:03 AM, Alexandre Hardy wrote:
> Hi Paul,
>
> Stupid question: What do you mean by bottom post? I have
> added wine-devel as a CC to these messages, is that
> sufficient?

http://en.wikipedia.org/wiki/Posting_style#Bottom-posting

>
> According to my log it seems to be a GetLongPathNameW.
>
> GetLongPathNameA does not exhibit the same problems
> as GetLongPathNameW. So GetLongPathNameA(path, NULL, 0)
> succeeds, while GetLongPathNameW(path, NULL, 0) segfaults.
> This is because GetLongPathNameA provides its own not NULL
> buffer to GetLongPathNameW.
>
> It also seems to me that only GetLongPathNameW is required to
> handle UNC pathnames that begin with '\\?\' (at least, that
> is how I understand the MSDN).

Well, the tests show that the A-version also handles this case.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list