[Bug 34851] Multiple applications need kernel32 GetFinalPathNameByHandleA/W (64-bit Autodesk Fusion 360, Microsoft OneDrive)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 20 09:57:36 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=34851

--- Comment #6 from Nikolay Sivov <bunglehead at gmail.com> ---
Hi, Michael.

Are you still working on this? Patch is dated one year back.

There's one thing that I don't like - the way -A call is forwarded to -W one,
clean way would be to get back required W buffer length, then get a string, try
to convert to A and see if it fits. According to docs input length does not
include terminating NULL, and return value doesn't too, yet there's this check
"if (result < charcount)", so strict equality will not fill out A buffer.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list