http://bugs.winehq.org/show_bug.cgi?id=28665
--- Comment #2 from Austin English austinenglish@gmail.com 2011-10-18 01:24:25 CDT --- (In reply to comment #1)
Actually, it's related to Grazvydas Ignotas's patches. This is also a problem on Mac, and I traced the problem back to his patches. Reverting them makes the problem go away.
These patches in particular: fbf537fb60841118697490bcf96fc622efe286bc "ntdll/tests: Test NtQueryDirectoryFile with different ReturnSingleEntry and RestartScan flags." 006413afe495fbf73542154462885e4fdbf12a2a "ntdll: Use swapping method to return . and .. as first entries."
I know these patches failed on brtfs, so still may be fs dependent.