msvcrt2 [1/3]: remove read_i loop and fix fread

Duane Clark fpga at pacbell.net
Mon Jul 31 14:12:02 CDT 2006


Was there a reason the "take 2" version of "Fix _read and fgetc" wasn't 
used? If it was just missed, then here is the diff. While this does not 
actually function differently, it seems a bit confusing to leave in a 
loop that will only be executed once.

This also includes the removal of a redundant test in fgetc and fixes 
the break from the loop in fread, also part of the "take 2" patch.

Changelog: remove read_i loop and fix fread
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file08.diff
Type: text/x-patch
Size: 2800 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060731/b3f697d7/file08.bin


More information about the wine-patches mailing list