http://bugs.winehq.org/show_bug.cgi?id=16982
--- Comment #2 from Dan Kegel dank@kegel.com 2009-01-18 15:53:25 --- Created an attachment (id=18806) --> (http://bugs.winehq.org/attachment.cgi?id=18806) Proposed fix
Let me know if the attached patch works for you. It passes all tests here, and matches native behavior for me.