http://bugs.winehq.org/show_bug.cgi?id=16269
--- Comment #6 from Dan Kegel dank@kegel.com 2008-11-30 01:08:57 --- Whatever. Well, somebody might come along and have a look. Thanks for providing the pseudocode, at least. You'll get faster service if you turn it into a conformance test, see http://www.winehq.org/site/docs/winedev-guide/testing