• Peter Beutner's avatar
    msvcrt: Correctly set EOF flag in fread(). · 72017cc9
    Peter Beutner authored
    Setting the EOF flag only if _read() returns zero is not enough as we
    could also read something AND hit the end of file.
    _read() already sets another internal EOF flag, so just use this too.
    Removing todo_wine from the test case.
    72017cc9
file.c 17.1 KB