Vitaliy Margolen wine-devel@kievinfo.com writes:
Anything wrong with this patch? Test case clearly shows that we should preserve the LastError.
In general, saving/restoring last error is discouraged, the function should be fixed to not change it at all. Do you have an app that depends on this?