On Thu Feb 6 18:18:40 2025 +0000, Yuxuan Shui wrote:
changed this line in [version 3 of the diff](/wine/wine/-/merge_requests/7230/diffs?diff_id=156069&start_sha=4ae60118edcb26d00d13838edc038aa624478ba5#d6cec31b6bad63c7ac3cfdf7adde34022c856065_354_354)
I remove the init, I think keeping the short read check fits the definition of `E_FAIL` better:
In particular, if the read attempt was successful but fewer than cb bytes were read, the function returns E_FAIL.
Which implies short read is sufficient but not necessary for `E_FAIL`