msvcrt: Remove CRs earlier in ascii mode
Dan Kegel
dank at kegel.com
Sun Jan 18 21:19:46 CST 2009
Should fix bugs 16982 and 16970.
What a relief to finally understand how msvcrt handles CRLF -> LF
conversion on input.
It's a simpler kludge than we thought.
This lets me revert the fix (but not the test) in
"msvcrt: fread: Exhaust buffered data before using unbuffered data in
ascii mode."
as the code behaves correctly without that fix now.
Tested on XP. Thanks to Luke for the nice reports and test cases.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filbuf.patch
Type: text/x-diff
Size: 7026 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090118/c6a12d27/attachment.patch
More information about the wine-patches
mailing list