http://bugs.winehq.org/show_bug.cgi?id=26341
--- Comment #9 from Lei Zhang thestig@google.com 2011-11-29 13:39:30 CST --- Can you figure out which of the 3 error checks is causing the problem? We can probably write a unit test to see if the checks are valid and returning the right error codes. If the checks are wrong, we can fix them, otherwise it's just revealing other bugs in Wine.