http://bugs.winehq.org/show_bug.cgi?id=28665
--- Comment #6 from Grazvydas Ignotas notasas@gmail.com 2011-10-19 06:04:46 CDT --- Well I only did getdents because I have no way to test getdirentries on MacOS/BSDs. Maybe those failing tests should be marked wine_todo on those systems only, but I'm not sure that's possible.
I could try cooking getdirentries patch if somebody can test it on BSDs for me.