On Thu Feb 6 18:20:15 2025 +0000, Yuxuan Shui wrote:
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`
I don't mind either. Both work.\ But short read check is more obvious solution.