http://bugs.winehq.org/show_bug.cgi?id=34973
--- Comment #3 from Piotr Caban piotr.caban@gmail.com 2013-11-22 06:01:54 CST --- I've wrote the test incorrectly (called _getmaxstdio after setting it earlier with _setmaxstdio). The values in wine are correct, so the problem is somewhere else.