http://bugs.winehq.org/show_bug.cgi?id=17417
--- Comment #2 from Austin Lund austin.lund@gmail.com 2009-02-16 20:22:25 --- I found that on much eariler version this failure didn't happen.
The first failing commit is:
commit 5f8c3b4a3883c0042ac987d7375e99f5116e009d Author: Francois Gouget fgouget@free.fr Date: Tue Dec 9 15:18:16 2008 +0100
msvcrt/tests: Stricter fstat() tests.
Don't allow fstat() to fail for no reason. Better check the st_mode field.
The offending code section is at "static void test_stat(void)" in "dlls/msvcrt/tests/file.c":
if (_dup2(0, 10) == 0) { ok(fstat(10, &buf) == 0, "fstat(stdin) failed: errno=%d\n", errno);
(duh, the test failure message tells you this too).