[Bug 17417] winetest causes msvcrt:file test to fail

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Feb 16 20:22:26 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=17417





--- Comment #2 from Austin Lund <austin.lund at 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 at 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).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list