msvcrt: fread: exhaust buffered data before using unbuffered data in ascii mode
dank at kegel.com
Mon Dec 15 23:47:56 CST 2008
This should never be worse than the existing code,
and for some inputs it's better.
It would be better still if remove_cr() was stateful, but
I haven't hit a situation in the real world yet that needs that.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2797 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081215/185e1658/attachment.patch
More information about the wine-patches