https://bugs.winehq.org/show_bug.cgi?id=39811
--- Comment #1 from Piotr Caban piotr.caban@gmail.com --- Probably a correct solution is to revert Ken's patch and remove "else if (!case_sensitive && ret && (errno == ENOENT || errno == ENOTDIR))" block from Matteo's patch but I'll leave it to patch authors.