[1/3] kernel32: Reset LastError if GetModuleFileName() succeeds.
fgouget at codeweavers.com
Thu Sep 29 19:37:31 CDT 2011
On Fri, 30 Sep 2011, Francois Gouget wrote:
> This is necessary because LastError may already be set to
> ERROR_INSUFFICIENT_BUFFER which would mislead the caller.
And of course the older versions of Windows (up to XP SP3!) don't reset
lasterror so the test bit of the patch cannot go in. I'd still argue
that GetModuleFileNameW() should reset LastError though.
Francois Gouget <fgouget at codeweavers.com>
More information about the wine-devel